Error 1 in selfupdate

Francis Derive francisderive at me.com
Mon Nov 28 08:00:45 PST 2011


Hello,

I have been away from macports for a while and happened to day to selfupdate.

Problem is :

"Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && ./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 1"

I wonder if TCL install is OK as there is a file hierarchy in /Library/Tcl but no Tcl receipt in /var/db/receipts.

I run OSX 10.6.8 Build 10K549.

Many thanks for helping.

Francis

PS :
A subsequent run of "sudo port -d selfupdate" gives this :

"% sudo port -d selfupdate
Password:
--->  Updating the ports tree
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/ports//opt/local/var/macports/sources/rsync.macports.org/release/ports
receiving file list ... done
science/drc-fir/
science/drc-fir/files/patch-drc.diff

sent 64 bytes  received 572275 bytes  104061.64 bytes/sec
total size is 84337686  speedup is 147.36
DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/base
--->  Updating MacPorts base sources using rsync
receiving file list ... done
./
deleting config.log

sent 42 bytes  received 6819 bytes  2744.40 bytes/sec
total size is 2966591  speedup is 432.38
MacPorts base version 1.8.2 installed,
DEBUG: Rebuilding and reinstalling MacPorts if needed
MacPorts base version 2.0.3 downloaded.
--->  MacPorts base is outdated, installing new version 2.0.3
DEBUG: Permissions OK
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.3
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 for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/opt/local/var/macports/sources/rsync.macports.org/release/base':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
DEBUG: Error installing new MacPorts base: shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && ./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 1
   while executing
"macports::selfupdate [array get global_options]"
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && ./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 1"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20111128/2ff021c5/attachment.html>


More information about the macports-users mailing list