On Mar 12, 2008, at 06:45, Olga Lyashevskaya wrote:

> Thank you, Ryan
>
> Ryan Schmidt wrote:
>
>> You may have outdated ports or an outdated MacPorts.
>> Please
>> selfupdate and try again:
>> sudo port selfupdate
>
>
> e7253:~ olichka$ sudo port selfupdate
>
> MacPorts base version 1.5 installed
>
> Downloaded MacPorts base version 1.600

Ok, so your MacPorts was outdated. MacPorts 1.5 did not contain the  
sysroot variable which the port you're trying to install wants to  
use. So you need to update to MacPorts 1.6, which selfupdate should  
do...

> 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.

...except it can't because you have no acceptable C compiler  
installed. Install Xcode 3 to get the gcc compiler, then try the  
selfupdate again.


_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to