View previous topic :: View next topic |
Author |
Message |
IronEye n00b
Joined: 29 Aug 2004 Posts: 23
|
Posted: Fri Aug 05, 2005 12:27 am Post subject: Passwd missing. Cannot emerge shadow |
|
|
It has come time to set the root password in my Gentoo 2005.0 installation. The command is missing. Did I do something wrong? I'm using the minimal live cd with a stage 1 tarball. I searched the forums vigorously, but no one had the same problem as I did. I read that I should emerge shadow to replace the missing commands. However, when I try to emerge it I get a compile error:
configure error: C++ preprocessor "/lib/cpp" fails sanity check
See config.log for more details
!!! ERROR: sys-libs/db-4.2.52_p2 failed.
!!! Function src_compile, Line 89, Exitcode 1
!!! configure failed
I tried searching for the config.log but "find" didn't return any results.
I suspected that maybe my make.conf is breaking this somehow. I really don't know what to change. Any help would be appreciated.
-Kris |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Fri Aug 05, 2005 2:49 am Post subject: |
|
|
Hi and welcome to the forums.
You should post the previous 15-20 lines, but I'm assuming that you got an error saying that your C compiler cannot produce executables. That must have happened during the update of the system. If you search this forum, there are plenty of threads on this subject.
If you can't find any relevant info by yourself, post here again so that someone can direct you or help you. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
IronEye n00b
Joined: 29 Aug 2004 Posts: 23
|
Posted: Fri Aug 05, 2005 3:08 am Post subject: |
|
|
First of all, thanks for welcoming me to the boards! I signed up last year and made some posts but it seems they reset my post count since then. I like how everyone is so polite here.
Here are the previous lines:
checking for i686-pc-linux-gnu-xlC... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx...n no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for clC_r.... no
checking for clC.... no
checking whether we are using the GNU C+++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocesor... /lib/cpp
It looks like I have no compiler. Could someone direct me to some posts on this matter? I wouldn't know where to begin searching.
-Kris |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Fri Aug 05, 2005 3:58 am Post subject: |
|
|
In your case, I think that the problem is a bit more serious! Are you sure that you completed the bootstrap process? It seems that you never emerged gcc! Did you forgot to run the bootstrap or did you get any errors while running it? _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
IronEye n00b
Joined: 29 Aug 2004 Posts: 23
|
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Fri Aug 05, 2005 8:19 am Post subject: |
|
|
You're using the wrong handbook, which is why you missed it. Have a look at Section 6 of the "Latest Handbook" (from this page). You were using the 2005.0 networkless handbook which assumes you were starting from stage3 and so doesn't include directions for stage1 or stage2 installs. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
|