Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bootstrapping fails: make.conf settings at fault?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
andrewski
Guru
Guru


Joined: 30 Apr 2004
Posts: 366
Location: Royersford, PA, USA

PostPosted: Sat Jul 10, 2004 9:29 pm    Post subject: Bootstrapping fails: make.conf settings at fault? Reply with quote

I'm trying to install (my 2nd) Gentoo on my home computer, a Pentium 4. I've reached the bootstrapping stage but can get no further. Here is the error output (without the std output) from the bootstrapping process:
Code:
gcc: march=pentium4: No such file or directory
install: cannot stat `/var/tmp/portage/portage-2.0.50-r9/work/portage-2.0.50-r9/src/tbz2tool': No such file or directory
>>> Regenerating /etc/ld.so.cache...
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
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 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed

The first error comes right after unpacking the source for portage, the first package to download for me.

I suspect my make.conf settings are at fault, but I was pretty conservative in my choices and this worked for me the last time I tried. Here's the file, FWIW:
Code:
CHOST="i686-pc-linux-gnu"
CFLAGS="march=pentium4 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="aalib alsa bzlib -cups dvd fbcon -foomaticdb -mikmod -oggvorbis -oss sse xosd"

What caused this problem? I'm running this installation from the 2004.1 LiveCD, while the first time I installed Gentoo was from a Mandrake Linux install.

Thanks in advance.
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Sat Jul 10, 2004 9:51 pm    Post subject: Reply with quote

Try CFLAGS=" -march=pentium4......... "
Thats a dash before march.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
andrewski
Guru
Guru


Joined: 30 Apr 2004
Posts: 366
Location: Royersford, PA, USA

PostPosted: Sat Jul 10, 2004 10:01 pm    Post subject: Reply with quote

:oops:

That's a peach. Thanks!

(And to think I want to learn to program!)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum