Hi Randall , Thanks for reply. whoami command is there. $ which whoami /usr/bin/whoami $ ls -l /usr/bin/whoami -r-xr-xr-x 3 root wheel 38520 Aug 20 2006 /usr/bin/whoami Regards, Shigeto On 7/27/07, Randall Wood <rhwood@mac.com> wrote:
What is the output of which whoami and ls -l /usr/bin/whoami
If no whoami command can not be found, you probably need to reinstalled the BSD subsystem from your OS X installation DVD.
On 26 Jul 2007, at 20:37, Shigeto Kumagai wrote:
Hi, Has anyone seen such error? Can someone please help me solve the error?
When trying selfupdate or install a port, I got error stated in subject. I have checked mailing lists and googled for the error but I couldn't find any similar incident.
This happend on 1.4.0, so I have wiped the installation as shown in http://trac.macosforge.org/projects/macports/wiki/ FAQ#HowdoIremoveoruninstallMacPorts . Then installed 1.5.0 from source. The error still occurs and I cannot selfupdate nor install any ports.
If you require any other information, please let me know.
= Here is output of the selfupdate
sudo port -d selfupdate .. ..
tests/test/xcodeversion/
sent 69 bytes received 5500 bytes 2227.60 bytes/sec total size is 3647765 speedup is 655.01 Downloaded MacPorts base version 1.600 Configuring, Building and Installing new MacPorts base DEBUG: couldn't create error file for command: no such file or directory while executing "exec /usr/bin/whoami" (procedure "macports::selfupdate" line 64) invoked from within "macports::selfupdate [array get global_options]" Error: /opt/local/bin/port: selfupdate failed: couldn't create error file for command: no such file or directory _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Randall Wood rhwood@mac.com http://shyramblings.blogspot.com
"The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy."