View previous topic :: View next topic |
Author |
Message |
veggie2u Apprentice
Joined: 16 Oct 2002 Posts: 212 Location: Minneapolis/MN USA
|
Posted: Thu Oct 24, 2002 12:18 pm Post subject: Is there a log that tells me what failed? |
|
|
I can not get my laptop to bootstrap.
I am getting the following message:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
!!! ERROR: The ebuild did not complete successfully
!!! Function econf, Line 9, Exitcode 1
!!! econf failed
How do I know what it was trying to do when this failed?
veggie2u |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Oct 24, 2002 3:56 pm Post subject: |
|
|
What hardware and which image are you using? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
veggie2u Apprentice
Joined: 16 Oct 2002 Posts: 212 Location: Minneapolis/MN USA
|
Posted: Thu Oct 24, 2002 4:21 pm Post subject: |
|
|
I am using a K6-2 333 laptop with 160 meg ram.
In order for me to use the PCMCIA lan card, I started with the 1.2 cd as per this thread:
https://forums.gentoo.org/viewtopic.php?t=14894
Then switched to a 1.4 iso cd at the 9) Unpacking the Stage Tarballs point in the install instructions. (unmount 1.2 CD, mount 1.4 CD)
I was trying to use the stage1 stuff.
It fails on the bootstrap, but I can't tell on what.
I have tried a couple of diff CFLAGS:
CFLAGS="K6-2 -O3 -pipe" and CFLAGS="K6 -O2 -pipe"
There is another with similar issue:
https://forums.gentoo.org/viewtopic.php?t=19675
veggie2u |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Oct 24, 2002 4:31 pm Post subject: |
|
|
Which tarball? Example: stage1-x86-1.4_rc1-20020908-1208.tar.bz2 Are you using an x86, 386, 486, 586 or 686 tarball? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
veggie2u Apprentice
Joined: 16 Oct 2002 Posts: 212 Location: Minneapolis/MN USA
|
Posted: Thu Oct 24, 2002 4:43 pm Post subject: |
|
|
Doh! I might have used the wrong 1.2 iso.
gentoo-i686-1.2.iso
livecd-basic-1.4_rc1-r2.iso
Should I have used gentoo-ix86-1.2.iso instead? I didn't realize what that could mean untill I started looking into compiler options.
Is there anything I can do other than starting completely from scratch?
veggie2u |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Oct 24, 2002 6:28 pm Post subject: |
|
|
The K6-2 is not a 686 processor. 586 should work.
Quote: | Is there anything I can do other than starting completely from scratch? | How far along did you manage to get? I wouldn't think it'd be very far. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
veggie2u Apprentice
Joined: 16 Oct 2002 Posts: 212 Location: Minneapolis/MN USA
|
Posted: Thu Oct 24, 2002 6:52 pm Post subject: |
|
|
I didn't see an ISO for a i586 based system, so I am assumeing that I needed the gentoo-ix86.1.2.iso to start with.
Is the livecd-basic-1.4_rc1-r2.iso safe for me to use after I have booted with the 1.2 disk (because of the pcmcia thing)?
I am getting about 9+ hours into a bootstrap.sh, step 11.
veggie2u |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Oct 25, 2002 2:13 am Post subject: |
|
|
If you're bootstrapping from stage 1, you'll be compiling everything yourself. The only thing to worry about is that CHOST is set correctly (i.e not 686) in /etc/make.conf. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
veggie2u Apprentice
Joined: 16 Oct 2002 Posts: 212 Location: Minneapolis/MN USA
|
Posted: Fri Oct 25, 2002 12:38 pm Post subject: |
|
|
What compiler am I using, if I start with the 1.2 iso, then switch to the stage1 sources from the 1.4 cd?
I did a gcc --version and get 3.2.
In the /etc/make.conf file it says that gcc 3.2 supports cpu types k6-2.
I am now failing executeing :
gcc -NDEBUG -fpic -I/usr/include/python2.2 -c missingos.c -o build/temp.linux-i586-2.2/missingos.o -march=K6-2 -O3 -pipe
with an error of :
cc1: bad value (K6-2) for -march= switch
Oh crap. I have capital K in my make.conf file for K6-2 - is that the issue?
veggie2u |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Oct 25, 2002 2:37 pm Post subject: |
|
|
veggie2u wrote: | Oh crap. I have capital K in my make.conf file for K6-2 - is that the issue? |
Yes. Valid x86 architecture values are documented here. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|