Cannot execute "sudo port selfupdate"

Lorin Rivers lrivers at
Thu Sep 13 06:41:05 PDT 2007

I was getting this error message on a different port and I was able to
get past it by doing:
sudo port clean all
sudo port sync
sudo port selfupdate

Hope that helps.

On 9/12/07, M.W. Rails <mwrails at> wrote:
> When I try to perform the selfupdate I get the following error message:
> MacPorts base version 1.5 installed
> Downloaded MacPorts base version 1.520
> Configuring, Building and Installing new MacPorts base
> Error: /opt/local/bin/port: selfupdate failed: Error installing new MacPorts
> base: shell command "cd
> /opt/local/var/macports/sources/
> && ./configure --prefix=/opt/local --with-install-user=root
> --with-install-group=admin --with-tclpackage=/Library/Tcl && make && make
> install" returned error 77
> Command output: checking build system type... i686-apple-darwin8.10.1
> checking host system type... i686-apple-darwin8.10.1
> checking target system type... i686-apple-darwin8.10.1
> checking for gcc... gcc
> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> I cannot find any config.log anywhere on the system so I do not think it is
> being created.
> I have downloaded and installed the Apple Developer Tools
> gcc -v shows gcc version 4.0.1 (Apple Computer, Inc. build 5367)
> Can anyone help me figure out what I am doing wrong.
> Thank you!
> mwrails
> _______________________________________________
> macports-users mailing list
> macports-users at

More information about the macports-users mailing list