Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
missing some files...
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
tsuraan2
n00b
n00b


Joined: 22 Nov 2004
Posts: 44

PostPosted: Mon Nov 22, 2004 9:13 pm    Post subject: missing some files... Reply with quote

My old portage tree got broken somehow (permissions were all wrong, nothing really worked), so I used gentoo-uninstall.pl to remove it and re-install. I guess the uninstaller didn't quite get rid of everything, so re-installing gentoo didn't put all the necessary files back, or something.

Anyhow, when trying to install gdbm (a prereq for ruby), I'm getting errors like "ncsd: command not found", "getent: command not found", and "useradd: command not found." This isn't good, since I cannot figure out how to add them. Any suggestions?
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Sun Nov 28, 2004 8:42 am    Post subject: Reply with quote

You can find their source-pkgs as follows:
Code:

% qpkgwho nscd
sys-libs/glibc

% qpkgwho getent
sys-libs/glibc

% qpkgwho useradd
useradd (8)  - Create a new user or update default new user information
sys-apps/shadow

where `qpkgwho' is the (tcsh) alias
Code:

alias qpkgwho 'whatis \!* ; qpkg -f `which \!* ` '


Would someone care to write the corresponding alias/function
for `bash'? --Or to improve/correct the tcsh alias?
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Nov 28, 2004 12:57 pm    Post subject: Reply with quote

getent and useradd are linux programs and not part of OSX. Please make sure that your keyword is ppc-macos, it sounds like it's trying to add a user with the keyword set to macos.
Back to top
View user's profile Send private message
tsuraan2
n00b
n00b


Joined: 22 Nov 2004
Posts: 44

PostPosted: Mon Dec 06, 2004 9:47 pm    Post subject: Reply with quote

Ok, I just tried it again (emerge gdbm), and it installed without any trouble. I must be dumb, or something...
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) 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