LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 04-17-2006, 05:02 PM   #1
nectron101
Member
 
Registered: Nov 2004
Distribution: SuSE 9.1 Personal
Posts: 41

Rep: Reputation: 15
Help me install GCC today! <-- 1yr without gcc :(


Hello,

It's been one year since I installed linux on my laptop, and still.. somethings are missing..
wifi support/mouse/speakers/video-graphics

I only need one thing, to install GCC on my system..
Here's my last trial:

Code:
Nectron@linux:~/Documents/Programs/gcc-4.0.1> ./config
bash: ./config: is a directory
Nectron@linux:~/Documents/Programs/gcc-4.0.1> ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
configure: error: Building in the source directory is not supported in this rele                                            ase. See http://gcc.gnu.org/install/configure.html for more details.

I've made a new gcc directory located @ /Programs/gcc
Notice
Code:
Nectron@linux:~/Documents/Programs/gcc-4.0.1>
Could someone tell me how to make a ./configure to the /Programs/gcc directory ?

Thanks.
 
Old 04-17-2006, 05:25 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,244

Rep: Reputation: 45
Providing information helps questions to be answered. What distro are you using? (Try putting it in your profile)

Did you "See http://gcc.gnu.org/install/configure.html for more details."?
 
Old 04-17-2006, 06:11 PM   #3
nectron101
Member
 
Registered: Nov 2004
Distribution: SuSE 9.1 Personal
Posts: 41

Original Poster
Rep: Reputation: 15
After all the hassle of trying to make it work..

I did this:

Code:
Nectron@linux:~/Documents/Programs> rpm -i gcc-3.3.5-5.x86_64.rpm
error: Failed dependencies:
        cpp = 3.3.5-5 is needed by gcc-3.3.5-5
        libc.so.6()(64bit) is needed by gcc-3.3.5-5
        libc.so.6(GLIBC_2.2.5)(64bit) is needed by gcc-3.3.5-5
        libc.so.6(GLIBC_2.3)(64bit) is needed by gcc-3.3.5-5
now, I need cpp.. and of course, there will be some missing dependencies, and it just loops over and over again..

could someone please tell me where I can get the libc.so.6 files?
what's the difference between them?
are they packages or "found in" packages?

Please help as much as you can, I'm dying to install software and drivers..

Thanks a Gig!
 
Old 04-17-2006, 07:22 PM   #4
nectron101
Member
 
Registered: Nov 2004
Distribution: SuSE 9.1 Personal
Posts: 41

Original Poster
Rep: Reputation: 15
Quick Update:
-------------

I just discovered from the SuSE website that libc.so.6 should be in /lib

When I searched for it, it was there!!

I also got cpp running "somehow!"

What should I do in this case?

cpp is here and libc.so.6 is also here..

should I just install the gcc rpm with no dependencies?

Code:
rpm -i gcc.x.x-x.x.rpm --nodeps
Is this safe? and should I just do it anyway ?
 
Old 04-17-2006, 07:57 PM   #5
mcmillan
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 489

Rep: Reputation: 30
It may be the you have some form, but gcc is needing a newer version. I thought Suse uses to Yast resolve dependencies and I would think gcc would be in whatever repositories it uses.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
install new gcc v3.4.5 over gcc v3.2.2 on red hat 9 mlaich Linux - Newbie 2 01-01-2006 08:52 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare Suse/Novell 3 11-29-2004 02:13 PM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 11:38 AM
Must have gcc to install gcc? thafusion Linux - Software 4 05-28-2004 10:20 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 12:07 AM


All times are GMT -5. The time now is 02:44 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