Problem Upgrading to MacPorts 2.0.0

Johannes Ruscheinski ruschein at gmail.com
Sat Jul 23 23:52:09 PDT 2011


On 23 July 2011 17:58, Ryan Schmidt <ryandesign at macports.org> wrote:
>
> On Jul 23, 2011, at 18:17, Johannes Ruscheinski wrote:
>
>> After running "sudo port selfupdate" I am getting the following error:
>>
>> --->  Updating the ports tree
>> --->  Updating MacPorts base sources using rsync
>> MacPorts base version 1.9.99 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
>>
>> Error: /opt/local/bin/port: port selfupdate failed: Error installing
>> new MacPorts base: shell command failed
>
> That's all it said? Try again with -v so we see more information.
>
> sudo port -v selfupdate

Ok, with "-v" I got:

--->  Updating the ports tree
Synchronizing local ports tree from file:///opt/mports/trunk/dports
...
Adding port lang/gprolog
Failed to parse file lang/mit-scheme/Portfile: can't read "build.cmd":
Failed to locate 'make' in path:
'/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at
its MacPorts configuration time location, did you move it?
...
Adding port x11/wine-devel

Total number of ports parsed:	23
Ports successfully parsed:	22
Ports failed:			1
Up-to-date ports skipped:	8176

--->  Updating MacPorts base sources using rsync
receiving file list ... done
./
deleting config.log

sent 42 bytes  received 6707 bytes  4499.33 bytes/sec
total size is 2952435  speedup is 437.46
MacPorts base version 1.9.99 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-darwin10.8.0
checking host system type... i386-apple-darwin10.8.0
checking target system type... i386-apple-darwin10.8.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.6.8
checking Xcode version... 3.2.3
checking for gcc... /usr/bin/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/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


I think I am missing Xcode!   I was told by Apple support to reinstall
Snow Leopard.   Thanks!

-- 
Johannes

Obligatory current favourite quotes:

"We are all atheists about most of the gods that societies have ever
believed in. Some of us just go one god further."
--Richard Dawkins

"Religion is regarded by the common people as true, by the wise as
false, and by the rulers as useful".
 -- Seneca
"I have more confidence in the methods of science, based on the amazing
record of science and its ability over the centuries to answer
unanswerable questions, than I do in the methods of faith (what are they?)."
 -- David J. Gross "Physics Nobel Laureate"

"Atheism is a religion to the same extent that not collecting stamps is a
 hobby."
 -- seen on Slashdot.org

http://xkcd.com/808/


More information about the macports-users mailing list