Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge portage fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
NSpacer
n00b
n00b


Joined: 31 Mar 2003
Posts: 72
Location: Frisco, TX, USA

PostPosted: Wed Apr 09, 2003 1:19 am    Post subject: emerge portage fails Reply with quote

I am trying to install gentoo on a new box I just got. I put in the cd and following the installation guide I get to step #9.

emerge sync

This runs fine but tells me that there has been an update to portage and it __highly__ recommends updating it and updating my configuration files once that is done.

Wanting this to go well, I run :

emerge -p portage

and see that there are a goodly number of packages it wants to work with. Okay, fine. So now I use

emerge portage

It starts scrolling away merrily and then dies trying to do the ncurses. /lib/cpp fails some sort of sanity test and my whole emerge dies.

This isn't mission critical, because I have a nifty little harddrive drawer and I just took the linux HD out and placed the Win XP one back in. Plus, I can't get a hold of the list of USE flags for to set things up for this machine. So, I am bound to be waiting for that.

But, is this a bug in the current script and some developer guru will discover it and fix it? Or am I just kinda screwed and should I start over?

As a side note, this 2.66 GHz P4 ran through those first 8 steps of the install like they were trivial. Much better than the AMD K6-2 333 MHz box that I'm tinkering with that sits next to it. I'm emerge-ing xFree on it right now. Talk about slow!
Back to top
View user's profile Send private message
avenj
Retired Dev
Retired Dev


Joined: 11 Oct 2002
Posts: 495
Location: New Hampshire

PostPosted: Wed Apr 09, 2003 6:06 am    Post subject: Reply with quote

Try `emerge gcc-config` and gcc-config i686-pc-linux-gnu-3.2.2
Back to top
View user's profile Send private message
NSpacer
n00b
n00b


Joined: 31 Mar 2003
Posts: 72
Location: Frisco, TX, USA

PostPosted: Wed Apr 09, 2003 7:34 am    Post subject: Nope. Reply with quote

The emerge gcc-config seems to work fine. But then when I type
Code:
gcc-config i686-pc-linux-gnu-3.2.2
I get
Code:
* /usr/bin/gcc-config: Profile does not exist!

I tried to find out what was in that area of the disk using
Code:
ls /usr/bin

and the result was amount other things
Code:
i686-pc-linux-gnu-c++
i686-pc-linux-gnu-g++
i686-pc-linux-gnu-gcc

Puzzled, I decided to try the portage merge again
Code:
emerge portage
and no big surprise got another error. Here is the exact message :
Code:
checking how to run C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

!!! ERROR: sys-libs/ncurses-5.3-r1 failed.
!!! Function econf, Line 353, Exitcode 1
!!! econf failed


To clarify, this is a P4 2.6/533 using an Asus P4PE (i845 chipset) in case that makes any difference. Though, I surely doubt it.
Back to top
View user's profile Send private message
avenj
Retired Dev
Retired Dev


Joined: 11 Oct 2002
Posts: 495
Location: New Hampshire

PostPosted: Wed Apr 09, 2003 7:50 am    Post subject: Reply with quote

What do you get when you just type 'gcc'?
Back to top
View user's profile Send private message
NSpacer
n00b
n00b


Joined: 31 Mar 2003
Posts: 72
Location: Frisco, TX, USA

PostPosted: Thu Apr 10, 2003 5:10 pm    Post subject: Reply with quote

I got that I didn't supply any arguments.

By this point, I just got frustrated and decided that it was _highly_ recommended but not absolutely necessary and kept going with my install.

Of course, now it won't boot. *chuckle*

Oh well. I'm guessing I built the kernel wrong. I'll reboot using the cd and take a few steps back.

The nice thing is that this is a P4 2.6 GHz and I'm able to get through an entire stage1 install in only a few hours.
Back to top
View user's profile Send private message
FINITE
Guru
Guru


Joined: 10 May 2002
Posts: 449

PostPosted: Sat Apr 19, 2003 7:18 am    Post subject: Reply with quote

Having the same problem here. Any ideas people?
Back to top
View user's profile Send private message
Supermule
Guru
Guru


Joined: 05 Mar 2003
Posts: 510
Location: /denmark/fyn

PostPosted: Mon Apr 28, 2003 4:55 pm    Post subject: Reply with quote

Hi,

Obviously a big big bug....
I just deleted all my partitions...wanted to build again from stage1. After emerge sync, the bootstrap errors out with the same "sanity check" as mentioned above...

Its kinda urgent! - Im supposed to do some work on this computer tomorrow :(

Any ideas?

/Supermule
Back to top
View user's profile Send private message
avenj
Retired Dev
Retired Dev


Joined: 11 Oct 2002
Posts: 495
Location: New Hampshire

PostPosted: Mon Apr 28, 2003 5:16 pm    Post subject: Reply with quote

Try re-merging gcc-config.
Back to top
View user's profile Send private message
Supermule
Guru
Guru


Joined: 05 Mar 2003
Posts: 510
Location: /denmark/fyn

PostPosted: Mon Apr 28, 2003 5:27 pm    Post subject: Reply with quote

avenj wrote:
Try re-merging gcc-config.


Hi,

Thanks.

Turns out that I'm (again) the fool here....
I "forgot" running the actual bootstrap before trying to emerge :)

Eh :) No wonder it all went so fast...

I u people ever come to Denmark I'll deliver the beer free of charge :)

/Supermule
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Sat Feb 12, 2005 4:20 pm    Post subject: Reply with quote

Moved to Duplicate Threads, please see this FAQ:

https://forums.gentoo.org/viewtopic.php?t=294108
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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