port selfupdate failed: Error installing new MacPorts base: shell command failed
— at Version 1
Reported by: |
marc.allgeier@… |
Owned by: |
macports-tickets@… |
Priority:
|
Normal
|
Milestone:
|
|
Component:
|
base
|
Version:
|
2.1.2
|
Keywords:
|
|
Cc:
|
ryandesign@…
|
Port:
|
|
|
|
# port -d selfupdate
---> Updating the ports tree
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
DEBUG: /usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports
receiving file list ... done
./
sent 59 bytes received 666942 bytes 121272.91 bytes/sec
total size is 36462569 speedup is 54.67
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/ports
Total number of ports parsed: 0
Ports successfully parsed: 0
Ports failed: 0
Up-to-date ports skipped: 9115
DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/base
---> Updating MacPorts base sources using rsync
receiving file list ... done
./
deleting config.log
sent 42 bytes received 7350 bytes 2956.80 bytes/sec
total size is 3261808 speedup is 441.26
MacPorts base version 1.9.1 installed,
DEBUG: Rebuilding and reinstalling MacPorts if needed
MacPorts base version 2.1.2 downloaded.
---> MacPorts base is outdated, installing new version 2.1.2
DEBUG: Permissions OK
Warning: Disabling readline support due to readline in /usr/local
Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl
checking build system type... i386-apple-darwin12.2.0
checking host system type... i386-apple-darwin12.2.0
checking target system type... i386-apple-darwin12.2.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.8.2
checking Xcode location... /Applications/Xcode.app/Contents/Developer
checking Xcode version... 4.5
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/opt/local/var/macports/sources/rsync.macports.org/release/base':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 && make && make install" returned error 1
DEBUG: Error installing new MacPorts base: shell command failed
while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed
It looks like you have not installed the Xcode command line tools. See http://guide.macports.org/#installing.xcode.lion.43