Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Passwd missing. Cannot emerge shadow
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
IronEye
n00b
n00b


Joined: 29 Aug 2004
Posts: 23

PostPosted: Fri Aug 05, 2005 12:27 am    Post subject: Passwd missing. Cannot emerge shadow Reply with quote

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


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Fri Aug 05, 2005 2:49 am    Post subject: Reply with quote

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


Joined: 29 Aug 2004
Posts: 23

PostPosted: Fri Aug 05, 2005 3:08 am    Post subject: Reply with quote

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


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Fri Aug 05, 2005 3:58 am    Post subject: Reply with quote

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


Joined: 29 Aug 2004
Posts: 23

PostPosted: Fri Aug 05, 2005 5:16 am    Post subject: Reply with quote

I'm pretty sure I followed all of the steps up to 8.c

http://www.gentoo.org/doc/en/handbook/2005.0/handbook-x86.xml?part=1&chap=8

What exactly is bootstrapping?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Fri Aug 05, 2005 8:19 am    Post subject: Reply with quote

You're using the wrong handbook, which is why you missed it. :wink: 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
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