Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

checking whether the C compiler (gcc ) works... no OK MAN.

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
eyexer0
Tux's lil' helper
Tux's lil' helper
Posts: 75
Joined: Sat Dec 13, 2003 4:20 pm
Location: Fort Smith, Arkansas
Contact:
Contact eyexer0
Website

checking whether the C compiler (gcc ) works... no OK MAN.

  • Quote

Post by eyexer0 » Tue Aug 08, 2006 4:52 am

OK man........... This is the THRID time to re-install Gentoo over this issue...

I have one three re-installs. I get my system up and running fine from the life cd with a stage two or stage three install either way..

I start to emerge "world" or "system" and I get this problem when emerging sys-devel/gcc-4.1.1 Everything else goes fine but when I get here... I finnished.....



Code: Select all

checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

!!! ERROR: sys-devel/gcc-4.1.1 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ebuild.sh, line 1252:   Called toolchain_src_compile
  toolchain.eclass, line 24:   Called gcc_src_compile
  toolchain.eclass, line 1514:   Called gcc_do_configure
  toolchain.eclass, line 1314:   Called die

!!! failed to run configure
!!! If you need support, post the topmost build error, and the call stack if relevant.
Surely someone can help? I love gentoo but it seems like everytime it comes to updates something breaks.
Top
yabbadabbadont
Advocate
Advocate
User avatar
Posts: 4791
Joined: Fri Mar 14, 2003 12:02 am
Location: 2 exits past crazy

  • Quote

Post by yabbadabbadont » Tue Aug 08, 2006 5:03 am

Stick to stable packages and it shouldn't happen... :)


Edit: added smiley so that you know I'm (mostly) kidding.
Offtopic: Does 71 Hwy still go over the mountain or does it bypass it now?
Bones McCracker wrote:On the other hand, regex is popular with the ladies.
Top
eqlb
n00b
n00b
User avatar
Posts: 36
Joined: Thu May 19, 2005 5:41 am

  • Quote

Post by eqlb » Tue Aug 08, 2006 5:47 am

check your flags in the make.conf file, there is a issue like miss spelling or a return or even something there that doesnt excist as a flag command
You may think its a error in the code but it is really a new feature
Top
blu3bird
Retired Dev
Retired Dev
Posts: 619
Joined: Sat Oct 04, 2003 10:19 am
Location: Munich, Germany

  • Quote

Post by blu3bird » Tue Aug 08, 2006 6:01 am

So you tried it 3 times and failed all of them?
You must be very talented ;)

GF20: C compiler cannot create executables
Black Holes are created when God divides by zero!
Top
eyexer0
Tux's lil' helper
Tux's lil' helper
Posts: 75
Joined: Sat Dec 13, 2003 4:20 pm
Location: Fort Smith, Arkansas
Contact:
Contact eyexer0
Website

  • Quote

Post by eyexer0 » Tue Aug 08, 2006 5:43 pm

does gcc-4.1.1 support pentium2 processors? here is my make.conf


Code: Select all

CFLAGS="-O2 -march=pentium2 -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
#GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"

#cat /proc/cpuinfo|grep flags|head -n 1
USE="fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr"
#P4 cpu flags are "acpi mmx sse sse2"
#USE="nptl nptlonly acpi mmx sse sse2 a52 aac aalib alsa  cdb cdr dedicated dvd dvdr ftp gtk2 icc ieee1394"
#use when compiling mplayer: divx4linux xvid quicktime4linux realplayer win32codecs
ACCEPT_KEYWORDS="~x86"
MAKEOPTS="-j3"
ALSA_CARDS="emu10k1"
First few complies I was using: #USE="nptl nptlonly acpi mmx sse sse2 a52 aac aalib alsa cdb cdr dedicated dvd dvdr ftp gtk2 icc ieee1394"

but then I did: cat /proc/cpuinfo|grep flags|head -n 1

and it gave me: flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr

So I tried those and that got me the same error..
Top
eyexer0
Tux's lil' helper
Tux's lil' helper
Posts: 75
Joined: Sat Dec 13, 2003 4:20 pm
Location: Fort Smith, Arkansas
Contact:
Contact eyexer0
Website

  • Quote

Post by eyexer0 » Tue Aug 08, 2006 5:43 pm

Yeah 71 still goes between the mountains I never go that way though nothing really up that way for me

yabbadabbadont wrote:Stick to stable packages and it shouldn't happen... :)


Edit: added smiley so that you know I'm (mostly) kidding.
Offtopic: Does 71 Hwy still go over the mountain or does it bypass it now?
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

Re: checking whether the C compiler (gcc ) works... no OK

  • Quote

Post by cyrillic » Tue Aug 08, 2006 11:39 pm

eyexer0 wrote:

Code: Select all

checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
...
checking whether the C compiler (gcc  ) works... no 
here is my make.conf

Code: Select all

CHOST="i386-pc-linux-gnu" 
Something doesn't quite add up here.

Can you post the output of "gcc-config -l" ?
Top
polyglot
n00b
n00b
Posts: 55
Joined: Wed Mar 10, 2004 12:33 am

  • Quote

Post by polyglot » Wed Aug 09, 2006 2:50 am

Why on earth do you have the cpu flags from proc in your USE flags?
Top
eyexer0
Tux's lil' helper
Tux's lil' helper
Posts: 75
Joined: Sat Dec 13, 2003 4:20 pm
Location: Fort Smith, Arkansas
Contact:
Contact eyexer0
Website

  • Quote

Post by eyexer0 » Wed Aug 09, 2006 3:27 am

I don't know do I not need them there? I thought that is where they went?
Top
Shopro
l33t
l33t
User avatar
Posts: 678
Joined: Wed May 12, 2004 6:32 am
Location: Dayton, OH, USA

  • Quote

Post by Shopro » Wed Aug 09, 2006 4:10 am

No you don't need them there. The problem seems to be your current system running i686 but you want it to run i386.
Just because I have nothing to say is no reason why you shouldn't listen.
Top
eyexer0
Tux's lil' helper
Tux's lil' helper
Posts: 75
Joined: Sat Dec 13, 2003 4:20 pm
Location: Fort Smith, Arkansas
Contact:
Contact eyexer0
Website

  • Quote

Post by eyexer0 » Wed Aug 09, 2006 9:13 pm

ok I got that fixed now I got a new problem

Here is my make.conf

Code: Select all

CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
#GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"

USE="nptl nptlonly a52 aac aalib alsa  cdb cdr dedicated dvd dvdr ftp gtk2 icc  ieee1394"
ACCEPT_KEYWORDS="~x86"
MAKEOPTS="-j3"
ALSA_CARDS="emu10k1"

When I try and emerge kde

I get this error on: media-libs/jpeg-6b-r7

Code: Select all

/usr/bin/libtool: line 5966: i386-pc-linux-gnu-ar: command not found
make: *** [libjpeg.la] Error 127
make: *** Waiting for unfinished jobs....

!!! ERROR: media-libs/jpeg-6b-r7 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  jpeg-6b-r7.ebuild, line 34:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Top
Drac
n00b
n00b
User avatar
Posts: 36
Joined: Wed Aug 09, 2006 2:25 pm

  • Quote

Post by Drac » Wed Aug 09, 2006 9:42 pm

Im not totally sure but I believe you cant just change CHOST, you'll have to start from scratch (reinstall) and use the proper stage3 file.
Top
eyexer0
Tux's lil' helper
Tux's lil' helper
Posts: 75
Joined: Sat Dec 13, 2003 4:20 pm
Location: Fort Smith, Arkansas
Contact:
Contact eyexer0
Website

  • Quote

Post by eyexer0 » Wed Aug 09, 2006 10:28 pm

I fixed it by re-emergeing libtool but I decided to go ahead and start over since I had the wrong make.conf that way I don't run into problems.
Top
cokey
Advocate
Advocate
User avatar
Posts: 3355
Joined: Fri Apr 23, 2004 12:30 am

  • Quote

Post by cokey » Thu Aug 10, 2006 1:09 am

<<
Top
Post Reply

14 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic