#30375: Unable to install in Lion --------------------------------------+------------------------------------- Reporter: digitalrinaldo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.0 Keywords: | Port: --------------------------------------+------------------------------------- Comment(by vaidas@…): I have same error. my output: [ 11:45:27 ] :> sudo port -v selfupdate ---> Updating the ports tree Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/ receiving file list ... done ./ sent 59 bytes received 534284 bytes 62863.88 bytes/sec total size is 29377413 speedup is 54.98 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: 8206 ---> Updating MacPorts base sources using rsync receiving file list ... done ./ deleting config.log sent 42 bytes received 6707 bytes 1928.29 bytes/sec total size is 2952435 speedup is 437.46 MacPorts base version 1.9.2 installed, MacPorts base version 2.0.0 downloaded. ---> MacPorts base is outdated, installing new version 2.0.0 Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl checking build system type... i386-apple-darwin11.0.0 checking host system type... i386-apple-darwin11.0.0 checking target system type... i386-apple-darwin11.0.0 checking MacPorts version... 2.0.0 checking for sw_vers... /usr/bin/sw_vers checking for defaults... /usr/bin/defaults checking for xcode-select... no checking Mac OS X version... 10.7 checking Xcode version... 4.0.2 checking for gcc... /usr/bin/llvm-gcc-4.2 checking whether the C compiler works... no configure: error: in `/opt/local/var/macports/sources/rsync.macports.org/release/base': configure: error: C compiler cannot create executables See `config.log' for more details shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && CC=/usr/bin/llvm-gcc-4.2 ./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 77 Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details) -- Ticket URL: <https://trac.macports.org/ticket/30375#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS