LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-28-2010, 06:55 AM   #1
msbstar
Member
 
Registered: Jan 2010
Distribution: Ubuntu 10.4
Posts: 122

Rep: Reputation: 16
Question How to install "gcc-4.4.3.tar.gz"


Hello Everybody,

I have downloaded "gcc-4.4.3.tar.gz" and it is
about 80Mb. And I want to install it on my
Ubuntu Linux.

When I type "./configure" some process starts and
then when I type "make" nothing happens.

Would you please help me in this matter?

With best regards,
Hassan
 
Old 01-28-2010, 07:02 AM   #2
Web31337
Member
 
Registered: Sep 2009
Location: Russia
Distribution: Gentoo, LFS
Posts: 399
Blog Entries: 71

Rep: Reputation: 65
please, pastebin outputs of ./configure and make commands.
 
Old 01-28-2010, 07:43 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,547

Rep: Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509
Ubuntu 9.10 Karmic : You already have the excellent
gcc-4.4.1 as the default compiler.
So why use version 4.4.3 ? ?

The install method recommended by the gcc people
is here : http://www.linuxfromscratch.org/lfs/...ent/index.html

GCC-4.4.3 - Pass 1
http://www.linuxfromscratch.org/lfs/...gcc-pass1.html
GCC-4.4.3 - Pass 2
http://www.linuxfromscratch.org/lfs/...gcc-pass2.html
GCC-4.4.3 - "Pass 3" , the install
http://www.linuxfromscratch.org/lfs/...ter06/gcc.html

No steps should be omitted, remember the tests too :
QUOTE : ( chapter06 )
In this section, the test suite for GCC is considered
critical. Do not skip it under any circumstance.
.....
 
1 members found this post helpful.
Old 01-28-2010, 09:17 AM   #4
msbstar
Member
 
Registered: Jan 2010
Distribution: Ubuntu 10.4
Posts: 122

Original Poster
Rep: Reputation: 16
Dear knudfl,

Thanks for your help.

As you said gcc is installed as default.
But does it contain g77 too?
I think not, because when I type "which g77"
it does not return any thing. But "which gcc"
returns "/usr/bin/gcc".

Therefore I need to install "gcc-4.4.3.tar.gz" since
g77 is inside of it.

Am I on the wrong side???

Best regards,
Hassan
 
Old 01-28-2010, 09:36 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Hi,

I already gave you the link for an Ubuntu package for gcc in this thread you started.

I also told you that g77 is probably _not_ in gcc 4, it is in gcc 3.
 
Old 01-28-2010, 10:08 AM   #6
msbstar
Member
 
Registered: Jan 2010
Distribution: Ubuntu 10.4
Posts: 122

Original Poster
Rep: Reputation: 16
Dear knudfl, Your instruction is more complicated for
the level of my knowledge of Linux.
Is there a more straight forward way of installing?

And

Dear druuna, the g77 file you are referring to is
only 40kb which I do not think to be the appropriate
package for g77.

I would be grateful if you could help me.

With best regards,
Hassan
 
Old 01-28-2010, 10:15 AM   #7
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
http://ceswp.ca/ceswptech/?p=19
 
Old 01-28-2010, 10:23 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
And if hw-tph's link doesn't work for any reason, I just found this:

Ubuntu Forums - Help installing G77 compiler

You should be good now
 
Old 01-28-2010, 10:29 AM   #9
msbstar
Member
 
Registered: Jan 2010
Distribution: Ubuntu 10.4
Posts: 122

Original Poster
Rep: Reputation: 16
Thanks to All of you.

But because I can not connect to the internet through
my Ubuntu linux so I can not use the last two replies.

I can only connect to internet through windows XP.

... Seems my problem is unsolvable!

Thanks Anyway,
Hassan
 
Old 01-28-2010, 10:35 AM   #10
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
Then simply follow the instructions and perform them offline. You need to download a few .deb packages from the Ubuntu 8.04 repositories and move them to your offline computer (using a USB memory stick perhaps?). You need to install both the package itself and also the packages it depends on.

Install them on your offline computer using dpkg -i *.deb in the directory where you have the package files.
 
Old 01-28-2010, 11:09 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,547

Rep: Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509
Ref. post # 10, the link for "g77"
http://packages.ubuntu.com/hardy-updates/g77

Please click either ' i386 ' or for all x86_64 : amd64

The other required packages are :
g77-3.4, gcc-3.4, libg2c0-dev,
cpp-3.4, gcc-3.4-base, libg2c0
.. total seven packages, all from "hardy-updates".
.....

Last edited by knudfl; 01-28-2010 at 04:04 PM.
 
Old 01-28-2010, 11:41 AM   #12
msbstar
Member
 
Registered: Jan 2010
Distribution: Ubuntu 10.4
Posts: 122

Original Poster
Rep: Reputation: 16
Thank knudfl,

During cpp instalation I got this error:

**************************************************
Selecting previously deselected package cpp-3.4.
(Reading database ... 125159 files and directories currently installed.)
Unpacking cpp-3.4 (from cpp-3.4_3.4.6-6ubuntu3_i386.deb) ...
dpkg: dependency problems prevent configuration of cpp-3.4:
cpp-3.4 depends on gcc-3.4-base (= 3.4.6-6ubuntu3); however:
Version of gcc-3.4-base on system is 3.4.6-5.
dpkg: error processing cpp-3.4 (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
cpp-3.4
***************************************************

1st I installed gcc-3.4-base and then for installing
gcc-3.4 it needed cpp and when I wanted to install
thatI got that error.


Sorry for any incontinence.

Best regards,
Hassan
 
Old 01-28-2010, 01:23 PM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,547

Rep: Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509
So you just got a wrong version of cpp-3.4

This is it : cpp-3.4 (3.4.6-6ubuntu5)
http://packages.ubuntu.com/hardy-updates/cpp-3.4

" hardy-updates " goes for all packages, else no fit.
You got a " hardy " , which is older than " hardy-updates ".
.....

And when you have all the right packages in a new directory,
just do : sudo dpkg -i *
.. The star is a wild card, selecting everything,
and dpkg takes care of the right install order.
.....

Last edited by knudfl; 01-28-2010 at 01:26 PM.
 
Old 01-28-2010, 02:07 PM   #14
msbstar
Member
 
Registered: Jan 2010
Distribution: Ubuntu 10.4
Posts: 122

Original Poster
Rep: Reputation: 16
Dear knudfl,

I downloaded the file from that address and then put
all of the files in one folder and then typed:
"sudo dpkg -i *". Here again I got an error:

**************************************************
dpkg: dependency problems prevent configuration of g77:
g77 depends on g77-3.4 (>= 3.4.6-1); however:
Package g77-3.4 is not installed.
dpkg: error processing g77 (--install):
dependency problems - leaving unconfigured
Setting up gcc-3.4-base (3.4.6-6ubuntu5) ...
dpkg: dependency problems prevent configuration of libg2c0:
libg2c0 depends on gcc-3.4-base (= 3.4.6-5); however:
Version of gcc-3.4-base on system is 3.4.6-6ubuntu5.
dpkg: error processing libg2c0 (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libg2c0-dev:
libg2c0-dev depends on libg2c0 (= 1:3.4.6-6ubuntu5); however:
Version of libg2c0 on system is 1:3.4.6-5.
dpkg: error processing libg2c0-dev (--install):
dependency problems - leaving unconfigured
Setting up cpp-3.4 (3.4.6-6ubuntu5) ...
Processing triggers for man-db ...
Setting up gcc-3.4 (3.4.6-6ubuntu5) ...
Errors were encountered while processing:
g77
libg2c0
libg2c0-dev
******************************************************

Last edited by msbstar; 01-28-2010 at 03:06 PM.
 
Old 01-28-2010, 02:58 PM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,547

Rep: Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509
Quote:
Package g77-3.4 is not installed.
I edited post # 11 to include : g77-3.4 .

May be that's the issue ? → 7 packages total.

And take care, that you get all the right versions.
I did install g77 etc. four hours ago, on Ubuntu 9.10,
so it is doable.
.....

Last edited by knudfl; 01-28-2010 at 04:04 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install softwares with ".tar.gz,.tar.bz2" extension yasasvi srikanth Linux - Newbie 4 09-11-2009 09:38 AM
"tar -xzf" error: "tar.child died with signal 13" vlsi Linux - General 4 05-26-2009 02:04 AM
tar "Error exit delayed from previous errors" using "-C /" ToK Linux - Software 2 03-19-2008 06:49 AM
Can't install ".tar.gz" and "tar.bz2" grapeape25 Linux - Desktop 4 08-14-2006 03:01 AM
how do you install programs extracted from "tar.gz", "bz2", etc? shoelessworm Ubuntu 13 04-12-2006 02:24 PM


All times are GMT -5. The time now is 01:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration