can't selfupdate, can't install invalid command name "license"

View: New views
1 Messages — Rating Filter:   Alert me  

can't selfupdate, can't install invalid command name "license"

by oub :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

I  just downloaded the last darwin port for Leopard. Now 2 problems occur
sudo port -d selfupdate
gives me
"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 && make && make install" returned error 1
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.


and when I try to install say xemacs
sudo port install xemacs

I obtain
Error: Unable to execute port: invalid command name "license"

right it seems that the gcc compiler is missing
but
sudo port install apple-gcc40
Error: Unable to open port: invalid command name "livecheck.type"



what can I do

thanks very much

Uwe Brauer