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

Ryan Schmidt ryandesign at macports.org
Wed Mar 12 03:53:40 PDT 2008


On Mar 12, 2008, at 04:43, Olga Lyashevskaya wrote:

> I am trying to install Dia by typing the following:
>
> cd /opt/local/bin
>
> ls
> daemondo	portf		portmirror
> port		portindex
>
> sudo port install dia
>
> Unable to execute port: can't read "sysroot": no such
> variable
>
> What am I doing wrong?
>
> Mac OS X 10.5.2

You may have outdated ports or an outdated MacPorts. Please  
selfupdate and try again:

sudo port selfupdate




More information about the macports-users mailing list