[MacPorts] #31361: Lion - selfupdate and .dmg not installing
#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
#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: | Port: ---------------------------+------------------------------------------------ Changes (by cal@…): * keywords: selfupdate => Comment: Did you run `Install Xcode.app` after downloading it from the App Store? (Yes, in violation of their own guidelines, after you "install" Xcode from the App Store you actually have to install it.) -- Ticket URL: <https://trac.macports.org/ticket/31361#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31361: Lion - selfupdate and .dmg not installing ----------------------------+----------------------------------------------- Reporter: pablo@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.0.3 Resolution: invalid | Keywords: Port: | ----------------------------+----------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: The log you provided clearly shows you're running Xcode 3.2.6 which is for Snow Leopard. For Lion, install Xcode 4.1, using cal's instructions above. -- Ticket URL: <https://trac.macports.org/ticket/31361#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31361: Lion - selfupdate and .dmg not installing ----------------------------+----------------------------------------------- Reporter: pablo@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.0.3 Resolution: invalid | Keywords: Port: | ----------------------------+----------------------------------------------- Comment(by pablo@…): Thanks man. I can believe this. You are completely right, I found the Install Xcode in my Applications folder.. I downloaded and in the app store was showing that it's installed. However it's not. I've now installed it and everything seems to be working again. Thanks for your help again. -- Ticket URL: <https://trac.macports.org/ticket/31361#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts