View previous topic :: View next topic |
Author |
Message |
tsuraan2 n00b

Joined: 22 Nov 2004 Posts: 44
|
Posted: Mon Nov 22, 2004 9:13 pm Post subject: missing some files... |
|
|
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 |
|
 |
gentsquash l33t

Joined: 03 Nov 2004 Posts: 753 Location: Still a Gentoo beginner.
|
Posted: Sun Nov 28, 2004 8:42 am Post subject: |
|
|
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 |
|
 |
JoseJX Retired Dev

Joined: 28 Apr 2002 Posts: 2774
|
Posted: Sun Nov 28, 2004 12:57 pm Post subject: |
|
|
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 |
|
 |
tsuraan2 n00b

Joined: 22 Nov 2004 Posts: 44
|
Posted: Mon Dec 06, 2004 9:47 pm Post subject: |
|
|
Ok, I just tried it again (emerge gdbm), and it installed without any trouble. I must be dumb, or something... |
|
Back to top |
|
 |
|