failed to build dia

Normen Müller normen.mueller at
Mon Sep 29 02:44:35 PDT 2008


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

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?


More information about the macports-users mailing list