Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is there a log that tells me what failed?
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
veggie2u
Apprentice
Apprentice


Joined: 16 Oct 2002
Posts: 212
Location: Minneapolis/MN USA

PostPosted: Thu Oct 24, 2002 12:18 pm    Post subject: Is there a log that tells me what failed? Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Oct 24, 2002 3:56 pm    Post subject: Reply with quote

What hardware and which image are you using?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
veggie2u
Apprentice
Apprentice


Joined: 16 Oct 2002
Posts: 212
Location: Minneapolis/MN USA

PostPosted: Thu Oct 24, 2002 4:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Oct 24, 2002 4:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
veggie2u
Apprentice
Apprentice


Joined: 16 Oct 2002
Posts: 212
Location: Minneapolis/MN USA

PostPosted: Thu Oct 24, 2002 4:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Oct 24, 2002 6:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
veggie2u
Apprentice
Apprentice


Joined: 16 Oct 2002
Posts: 212
Location: Minneapolis/MN USA

PostPosted: Thu Oct 24, 2002 6:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Oct 25, 2002 2:13 am    Post subject: Reply with quote

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
View user's profile Send private message
veggie2u
Apprentice
Apprentice


Joined: 16 Oct 2002
Posts: 212
Location: Minneapolis/MN USA

PostPosted: Fri Oct 25, 2002 12:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Oct 25, 2002 2:37 pm    Post subject: Reply with quote

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
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