[MacPorts] #31361: Lion - selfupdate and .dmg not installing

MacPorts noreply at macports.org
Thu Sep 22 04:19:18 PDT 2011


#31361: Lion - selfupdate and .dmg not installing
---------------------------+------------------------------------------------
 Reporter:  pablo@…        |       Owner:  macports-tickets@…                   
     Type:  defect         |      Status:  new                                  
 Priority:  Normal         |   Milestone:                                       
Component:  base           |     Version:  2.0.3                                
 Keywords:  selfupdate     |        Port:                                       
---------------------------+------------------------------------------------
 Hi there,

 I have upgraded my MBP to Lion and installed the new version of the Xcode.

 I'm trying to install the new version of Macports however I'm having some
 issues.

 I first tried using sudo port selfupdate and because that didn't work, I
 tried installing the from the .dmg that I downloaded from macports.org
 website (macport 2.0.3 for Lion).

 I'm adding a extract of the result of sudo port -v selfupdate
 {{{
 checking for xcode-select... no
 checking Mac OS X version... 10.7.1
 checking Xcode version... 3.2.6
 checking for gcc... /usr/bin/cc
 checking whether the C compiler works... no
 configure: error: in
 `/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/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/tarballs/base
 && CC=/usr/bin/cc ./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)
 }}}

 The installer inside the .dmg is also throwing an error, most likely for
 the same reason. I can attach a screenshot if you require it.

 Thanks in advance.

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


More information about the macports-tickets mailing list