[MacPorts] #38029: MacPorts 2.0.0 w/Xcode 4.6
MacPorts
noreply at macports.org
Mon Feb 11 16:02:23 PST 2013
#38029: MacPorts 2.0.0 w/Xcode 4.6
-----------------------------+--------------------------------
Reporter: john.fullmer@… | Owner: macports-tickets@…
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.0
Resolution: | Keywords:
Port: |
-----------------------------+--------------------------------
Old description:
> i'm getting the following when attempting to load MacPorts in OS X 10.7:
>
> bash-3.2$ sudo port -v selfupdate
> Password:
> ---> Updating the ports tree
> Synchronizing local ports tree from
> rsync://rsync.macports.org/release/tarballs/ports.tar
> receiving file list ... done
>
> sent 36 bytes received 70 bytes 70.67 bytes/sec
> total size is 54548480 speedup is 514608.30
> receiving file list ... done
>
> sent 36 bytes received 77 bytes 226.00 bytes/sec
> total size is 512 speedup is 4.53
> Creating port index in
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports
>
> Total number of ports parsed: 0
> Ports successfully parsed: 0
> Ports failed: 0
> Up-to-date ports skipped: 16496
>
> ---> Updating MacPorts base sources using rsync
> receiving file list ... done
>
> sent 36 bytes received 69 bytes 70.00 bytes/sec
> total size is 3594240 speedup is 34230.86
> receiving file list ... done
>
> sent 36 bytes received 76 bytes 224.00 bytes/sec
> total size is 512 speedup is 4.57
> MacPorts base version 2.0.0 installed,
> MacPorts base version 2.1.3 downloaded.
> ---> MacPorts base is outdated, installing new version 2.1.3
> 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.2
> checking host system type... i386-apple-darwin11.4.2
> checking target system type... i386-apple-darwin11.4.2
> checking MacPorts version... 2.1.3
> 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.5
> checking Xcode location... /Applications/Xcode.app/Contents/Developer
> checking Xcode version... 4.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)
> bash-3.2$
New description:
i'm getting the following when attempting to load MacPorts in OS X 10.7:
{{{
bash-3.2$ sudo port -v selfupdate
Password:
---> Updating the ports tree
Synchronizing local ports tree from
rsync://rsync.macports.org/release/tarballs/ports.tar
receiving file list ... done
sent 36 bytes received 70 bytes 70.67 bytes/sec
total size is 54548480 speedup is 514608.30
receiving file list ... done
sent 36 bytes received 77 bytes 226.00 bytes/sec
total size is 512 speedup is 4.53
Creating port index in
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports
Total number of ports parsed: 0
Ports successfully parsed: 0
Ports failed: 0
Up-to-date ports skipped: 16496
---> Updating MacPorts base sources using rsync
receiving file list ... done
sent 36 bytes received 69 bytes 70.00 bytes/sec
total size is 3594240 speedup is 34230.86
receiving file list ... done
sent 36 bytes received 76 bytes 224.00 bytes/sec
total size is 512 speedup is 4.57
MacPorts base version 2.0.0 installed,
MacPorts base version 2.1.3 downloaded.
---> MacPorts base is outdated, installing new version 2.1.3
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.2
checking host system type... i386-apple-darwin11.4.2
checking target system type... i386-apple-darwin11.4.2
checking MacPorts version... 2.1.3
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.5
checking Xcode location... /Applications/Xcode.app/Contents/Developer
checking Xcode version... 4.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)
bash-3.2$
}}}
--
Comment (by ram@…):
Have you installed the Xcode Command line tools? wiki:ProblemHotlist#clt
--
Ticket URL: <https://trac.macports.org/ticket/38029#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list