Unable to execute port: can't read "sysroot": no such variable

Chris Pickel sfiera at macports.org
Wed Mar 12 08:20:53 PDT 2008


On 12 Mar, 2008, at 7:45, Olga Lyashevskaya wrote:
> e7253:~ olichka$ sudo port selfupdate
>
> MacPorts base version 1.5 installed
>
> Downloaded MacPorts base version 1.600
>
> 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/rsync.macports.org/release/base
> && ./configure --prefix=/opt/local
> --with-install-user=root --with-install-group=admin
> --with-tclpackage=/Library/Tcl && make && make
> install" returned error 1
>
> Command output: checking build system type...
> i686-apple-darwin9.2.0
>
> checking host system type... i686-apple-darwin9.2.0
>
> checking target system type... i686-apple-darwin9.2.0
>
> checking for sw_vers... sw_vers
>
> checking Mac OS X version... 10.5.2
>
> checking MacPorts version... 1.6.0
>
> checking for gcc... no
>
> checking for cc... no
>
> checking for cl.exe... no
>
> configure: error: no acceptable C compiler found in
> $PATH
>
> See `config.log' for more details.

Have you upgraded to Leopard recently? If so, did you install the new  
version of Xcode? This kind of error often appears when people try to  
use Tiger's Xcode on Leopard.


Regards,

Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080312/e1b1bd4c/attachment.bin 


More information about the macports-users mailing list