selfupdate failure

G R Lewis groblewis at
Mon Aug 6 18:45:22 PDT 2012

The Terminal session says it all…
(Error message near the bottom. OS 10.7.4 with XCode 4.4 installed.) 


MiniMe:~ robbo$ sudo port -v selfupdate
--->  Updating the ports tree
Synchronizing local ports tree from rsync://
receiving file list ... done

sent 36 bytes  received 686117 bytes  196043.71 bytes/sec
total size is 108113724  speedup is 157.57
--->  Updating MacPorts base sources using rsync
receiving file list ... done
deleting config.log

sent 42 bytes  received 8238 bytes  16560.00 bytes/sec
total size is 3261808  speedup is 393.94
MacPorts base version 1.8.2 installed,
MacPorts base version 2.1.2 downloaded.
--->  MacPorts base is outdated, installing new version 2.1.2
Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl

checking build system type... i386-apple-darwin11.4.0
checking host system type... i386-apple-darwin11.4.0
checking target system type... i386-apple-darwin11.4.0
checking MacPorts version... 2.1.2
checking for sw_vers... /usr/bin/sw_vers
checking for defaults... /usr/bin/defaults
checking for xcode-select... /usr/bin/xcode-select
checking Mac OS X version... 10.7.4
checking Xcode location... /Developer
checking Xcode version... 3.2.6
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/opt/local/var/macports/sources/':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command "cd /opt/local/var/macports/sources/ && ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline && make && make install" returned error 1
MiniMe:~ robbo$ 

More information about the macports-users mailing list