Yann Clénet wrote:
> I fail installing djvulibre with Leopard 10.5.2 preinstalled on a new MacBook 
> Pro:
> 
> i686-apple-darwin9-g++-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No such 
> file or directory
> make[2]: *** [djview] Error 1
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
> ### execution of make failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-djvulibre-3.5.20-1001
> (Reading database ... 56922 files and directories currently installed.)
> Removing fink-buildlock-djvulibre-3.5.20-1001 ...
> Failed: phase compiling: djvulibre-3.5.20-1001 failed
> 
> I have seen the previous thread on the same subject but it doesn't help (I 
> have re-run "fink selfupdate" before this email). Note that I have a 
> /usr/X11/lib/libXrandr.2.1.0.dylib file. 

I don't remember what exactly has been said before on this subject, but 
there is a real bug in (some versions of) Leopard's X11 which is not 
Fink's fault and cannot easily be corrected by Fink:

The bug is that this version of X11 (for example the one that comes with 
OSX 10.5.2) has a file /usr/X11/lib/libXrandr.la which references 
libXrandr.2.0.0.dylib, but libXrandr.2.0.0.dylib does not exist.

The fix is

- either to edit /usr/X11/lib/libXrandr.la and replace 
libXrandr.2.0.0.dylib by libXrandr.2.1.0.dylib:

  sudo perl -pi.bak -e 's|2.0.0|2.1.0|' /usr/X11/lib/libXrandr.la

- or to create libXrandr.2.0.0.dylib as a symlink:

  sudo ln -s libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib

Either one of these commands should solve the problem, but neither of 
them can or should be done by Fink, you have to do it by hand.

It seems that in the new version 2.2.0 of X11 that will be available 
from the xquartz wiki site, the first one of these possibilities will be 
realized.

-- 
Martin

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to