Steffen Losch wrote:
> Hi Martin,
> 
> here is the additional information.

Yes, this is the information that shows what is going on.

> - Steffen
> 
> (...)
> g++ -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Os -Os -fPIC -Wno- 
> non-virtual-dtor -fno-exceptions -fno-check-new -fno-common - 
> fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE - 
> DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION - 
> DYYDEBUG -DQT_THREAD_SUPPORT -I/usr/include/gssapi -I/sw/lib/system- 
> openssl/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/ 
> freetype219/include -I/sw/lib/flex/include -fno-common -no-cpp-precomp  
> -DMACOSX -DARTS_NO_ALARM -I/sw/include -I/usr/X11R6/include -Wl,- 
> dylib_file -Wl,/System/Library/Frameworks/OpenGL.framework/Versions/A/ 
> Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/ 
> Versions/A/Libraries/libGL.dylib -o ./dcop/dcopidl/dcopidl ./dcop/ 
> dcopidl/main.o ./dcop/dcopidl/yacc.o ./dcop/dcopidl/scanner.o -Wl,- 
> bind_at_load  -L/sw/lib -L/sw/lib/qt3/lib -L/usr/X11/lib -L/sw/lib/ 
> flex/lib -L/sw/lib/freetype219/lib -L/sw/lib/system-openssl/lib /sw/ 
> lib/qt3/lib/libqt-mt.dylib -L/usr/X11R6/lib -lresolv -lGL /usr/X11/lib/ 
> libXmu.6.2.0.dylib /usr/X11/lib/libXrender.1.3.0.dylib /usr/X11/lib/ 
> libXrandr.2.0.0.dylib /usr/X11/lib/libXcursor.1.0.2.dylib /usr/X11/lib/ 
> libXinerama.1.0.0.dylib /usr/X11/lib/libXft.2.1.2.dylib /sw/lib/ 
> freetype219/lib/libfreetype.dylib /usr/X11/lib/libfontconfig.dylib - 
> ldl /sw/lib/libpng12.dylib -lz -lm /usr/X11/lib/libXext.6.4.0.dylib / 
> usr/X11/lib/libX11.6.2.0.dylib /usr/X11/lib/libXau.6.0.0.dylib /usr/ 
> X11/lib/libXdmcp.6.0.0.dylib /usr/X11/lib/libSM.6.0.0.dylib /usr/X11/ 
> lib/libICE.6.3.0.dylib -lpthread
> i686-apple-darwin9-g++-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No  
> such file or directory

This is a bug in Apple's X11 packages; the X11SDK.pkg from xcode is 
incompatible with the X11User.pkg from the system installation. I 
thought there was a Fink FAQ item about this, because this has come up 
frequently, but I cannot find it now.

If you google for "/usr/X11/lib/libXrandr.2.0.0.dylib: No such file or 
directory", you find lots of discussions on Fink and macports mailing 
lists. The simplest fix is to make the missing symlink by hand:

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

Different possible fixes are

- edit the file /usr/X11/lib/libXrandr.la so that it mentions 
libXrandr.2.1.0.dylib instead of libXrandr.2.0.0.dylib

- or install xcode-3.1.1. This will fix this particular bug, but it will 
introduce several new bugs of the same nature.

- or install the semi-official xquartz update from the macosforge site. 
This will fix this and several other bugs in X11, but it needs to be 
reinstalled after every system softwareupdate or xcode update.

-- 
Martin



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to