[MacPorts] #21062: Snow Leopard, fresh install, can't install any ports

MacPorts noreply at macports.org
Thu Sep 3 11:22:12 PDT 2009


#21062: Snow Leopard, fresh install, can't install any ports
-----------------------------------------------+----------------------------
 Reporter:  sgardne@…                          |       Owner:  macports-tickets@…                   
     Type:  defect                             |      Status:  new                                  
 Priority:  Normal                             |   Milestone:                                       
Component:  ports                              |     Version:  1.8.0                                
 Keywords:  install error make wireshark nmap  |        Port:                                       
-----------------------------------------------+----------------------------
 I just installed Snow Leopard fresh from scratch. I downloaded the latest
 Xcode and Macports, installed both, however I can't seem to install any
 ports I've tried. Installing Wireshark yields:

 {{{
 $ sudo port install wireshark
 --->  Computing dependencies for wiresharkError: Unable to execute port:
 can't read "build.cmd": Failed to locate 'make' in path:
 '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its
 MacPorts configuration time location, did you move it?
 }}}

 If it's not in the path, I have no idea where to look. My path is:
 {{{
 $ echo $PATH
 /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
 }}}

 Attempting to install nmap yields a bit more error text:
 {{{
 --->  Computing dependencies for nmap
 --->  Configuring libpcap
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_libpcap/work/libpcap-1.0.0"
 && ./configure --prefix=/opt/local --enable-ipv6 " returned error 77
 Command output: checking build system type... i686-apple-darwin10.0.0
 checking host system type... i686-apple-darwin10.0.0
 checking target system type... i686-apple-darwin10.0.0
 checking for gcc... /usr/bin/gcc-4.2
 checking for C compiler default output file name...
 configure: error: C compiler cannot create executables
 See `config.log' for more details.

 Error: The following dependencies failed to build: libpcap openssl zlib
 pcre bzip2 ncurses ncursesw readline
 Error: Status 1 encountered during processing.
 }}}

 X11 is definitely installed as well as Xcode
 {{{
 $ which xterm
 /usr/X11/bin/xterm
 }}}

 Any help would be greatly appreciated.

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


More information about the macports-tickets mailing list