View previous topic :: View next topic |
Author |
Message |
SPAHZ n00b
Joined: 14 Sep 2003 Posts: 5
|
Posted: Tue Sep 16, 2003 3:46 pm Post subject: Error C++ preprocessor /lib/cpp fails sanity check |
|
|
Howdy -- I've searched the message boards, but can't seem to find an answer. I keep getting this error message when performing a stage 1 install of Gentoo... just after typing (to update my Portage):
shell> emerge -u portage
I get the following error:
configure: error C++ preprocessor "/lib/cpp" fails sanity check
!!! ERROR: sys-libs/ncurses-5.3-r1 failed.
!!! Function econf, Line 320, Exitcode 1
!!! econf failed
Can anyone help put a n00b desperately trying to learn this in the right direction?
TIA,
SPAHZ |
|
Back to top |
|
|
stronginthearm n00b
Joined: 09 Sep 2003 Posts: 10
|
Posted: Tue Sep 16, 2003 4:48 pm Post subject: |
|
|
Did you try 'emerge system' first before updating portage? . I think that the 'emerge portage' command only works if you have done 'emerge system first'. Even if the computer tells you that you should update portage first. If all goes correctly, emerging system will also emerge the latest version of portage. |
|
Back to top |
|
|
SPAHZ n00b
Joined: 14 Sep 2003 Posts: 5
|
Posted: Tue Sep 16, 2003 5:04 pm Post subject: |
|
|
That seems to cause a "chicken before the egg" problem because "EMERGE SYNC" isn't supposed to be done until Stage 2 (after the bootstrap process).
Is it okay to run EMERGE SYNC before I've run the bootstrap process?
TIA |
|
Back to top |
|
|
stronginthearm n00b
Joined: 09 Sep 2003 Posts: 10
|
Posted: Tue Sep 16, 2003 8:42 pm Post subject: |
|
|
Actually, i have no idea if you could do that, i'v just started using gentoo myself and i only replied because i had the same problem, the one difference being that i started from a stage-2 install and that you'v started from a stage 1 install. So, i'm sorry, but you'll have to ask someone who did a stage 1 install from scratch |
|
Back to top |
|
|
SPAHZ n00b
Joined: 14 Sep 2003 Posts: 5
|
Posted: Tue Sep 16, 2003 9:00 pm Post subject: |
|
|
Okay, well thanks for trying -- I certainly appreciate the effort. Anyone else? |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
Posted: Tue Sep 16, 2003 9:17 pm Post subject: |
|
|
You are not supposed to update portage until you have your system up and running. The problem here is that portage doesn't (and cannot?) know that you haven't even bootstrapped yet. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
GurliGebis Retired Dev
Joined: 08 Aug 2002 Posts: 509
|
Posted: Tue Sep 16, 2003 9:32 pm Post subject: |
|
|
As far as I remember, the first thing you do after chrooting is emerge sync'ing. _________________ Queen Rocks. |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
|