[MacPorts] #15989: Super-easy install of MacPorts doesn't work

MacPorts noreply at macports.org
Mon Jul 14 18:31:10 PDT 2008


#15989: Super-easy install of MacPorts doesn't work
---------------------------------+------------------------------------------
 Reporter:  groblewis at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect               |      Status:  new                                  
 Priority:  High                 |   Milestone:                                       
Component:  ports                |     Version:  1.6.0                                
 Keywords:  install, port        |  
---------------------------------+------------------------------------------
 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?

-- 
Ticket URL: <http://trac.macports.org/ticket/15989>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list