failed to build dia
Ryan Schmidt
ryandesign at macports.org
Mon Sep 29 03:43:57 PDT 2008
On Sep 29, 2008, at 04:44, Normen Müller wrote:
> I am trying to install dia, but get the following error:
>
> # port install dia
> ---> Fetching gtk2
> Error: Some libs are missing from your X11 installation. Please run
> this command:
> Error: sudo ln -s libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib
> Error: Target org.macports.fetch returned: missing /usr/X11/lib/
> libXrandr.2.0.0.dylib
So it needs the file "libXrandr.2.0.0.dylib".
> Error: The following dependencies failed to build: gtk2 libart_lgpl
> Error: Status 1 encountered during processing.
>
> However, at /usr/X11/lib there exist the following respective libs:
>
> # ls -al /usr/X11/lib/libXrandr.*
> lrwxr-xr-x 1 root wheel 17 Aug 4 21:18 /usr/X11/lib/
> libXrandr.2.1.0.dylib -> libXrandr.2.dylib
> -rwxr-xr-x 1 root wheel 164144 Mar 5 2008 /usr/X11/lib/
> libXrandr.2.dylib
> lrwxr-xr-x 1 root wheel 17 Feb 21 2008 /usr/X11/lib/
> libXrandr.dylib -> libXrandr.2.dylib
> -rwxr-xr-x 1 root wheel 955 May 10 11:41 /usr/X11/lib/
> libXrandr.la
So you don't have the file "libXrandr.2.0.0.dylib".
> BTW, aren't the parameter order of 'ln' in ``Error: sudo ln -s
> libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib'' wrong?
Looks exactly correct to me. The command says "Create a symlink at /
usr/X11/lib/libXrandr.2.0.0.dylib that points to libXrandr.2.dylib in
the same directory." And that's exactly what you want to do. You
should run the command, like it says.
More information about the macports-users
mailing list