LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Having Gentoo trouble (https://www.linuxquestions.org/questions/linux-newbie-8/having-gentoo-trouble-192576/)

lancelott 06-11-2004 11:59 PM

Having Gentoo trouble
 
I'm installing from stage 1 and am trying to get the bootstrap to work. When I do /usr/portage/scripts/bootstrap.sh I get an error which reads:

checking for i686-pc-linux-gnu-gcc...gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See 'config.log' for more details.
configure: error: /bin/sh './configure' failed for autoconf-lib-link

!!! ERROR sys-devel/gettext-0.12.1-r1 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed

Scruff 06-12-2004 10:51 AM

I had that problem the other day on a new install. I had my cflags set up with several optimizations:
CFLAGS="-mcpu=750 -O3 -pipe -mpowerpc-gfxopt -mtune=750 -fno-strict-aliasing"
and I guess it was too extreme for the bootstrap, so I changed O3 to O2, removed -mpowerpc-gfxopt and -mtune=750 and it went fine. Then I added them back after the bootstrap and it went right through system and all the other apps I wanted :)


All times are GMT -5. The time now is 04:11 PM.