Opened 16 years ago
Closed 16 years ago
#15989 closed defect (duplicate)
Super-easy install of MacPorts doesn't work (.profile not updated)
Reported by: | groblewis@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | base | Version: | 1.6.0 |
Keywords: | install, port | Cc: | |
Port: |
Description
I have a MacBook Pro with a dead-stock, plain vanilla, up-to-date installation of Leopard (and Xcode). I ran the 1.6.0 installer (twice, actually), and it reported success (both times).
But when I tried this (another "super-easy" install): sudo port install ImageMagick (as recommended on the ImageMagick site) all I get after putting in my password is sudo: port: command not found
And here's the output from
ls -l /opt/local
total 8 drwxr-xr-x 7 root admin 238 Jul 14 18:08 bin drwxr-xr-x 3 root admin 102 Dec 16 2007 etc drwxr-xr-x 3 root admin 102 Jul 14 18:08 include drwxr-xr-x 3 root admin 102 Jul 14 18:08 lib drwxr-xr-x 3 root admin 102 Jul 14 18:08 libexec lrwxr-xr-x 1 root admin 9 Jul 14 18:08 man -> share/man drwxr-xr-x 3 root admin 102 Jul 14 18:08 sbin drwxr-xr-x 6 root admin 204 Dec 16 2007 share drwxr-xr-x 3 root admin 102 Jul 14 18:01 var
You'll notice there is no "port" command. It seems to actually be in /opt/local/bin/. Result of ls -l /opt/local/bin: total 344 -r-xr-xr-x 1 root admin 73568 Dec 16 2007 daemondo -r-xr-xr-x 1 root admin 83411 Dec 16 2007 port lrwxr-xr-x 1 root admin 4 Jul 14 18:08 portf -> port -r-xr-xr-x 1 root admin 4356 Dec 16 2007 portindex -r-xr-xr-x 1 root admin 2530 Dec 16 2007 portmirror
Here's the result of echo $PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
I guess a *nix guru would know what to do, but I'm not one. Why didn't this "super-easy" install work?
Change History (1)
comment:1 Changed 16 years ago by blb@…
Component: | ports → base |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Summary: | Super-easy install of MacPorts doesn't work → Super-easy install of MacPorts doesn't work (.profile not updated) |
See .profile not setup.
Dup of #13742.