Hi,

..
ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib

or would an XCode update fix it (and be a fink-requirement)?

..
In fact, I don't know why the bug is triggered at all by this compiler
command line. It doesn't show any -lGL flag. Mystery.

the fix from http://wiki.finkproject.org/index.php/Fink:Packaging:Preparing_for_10.5

makes it compile fine (though I'm not using wxgtk2.8) for me (patches diff and diff -u attached). Please could someone doublecheck that it doesn't break anything and then commit it?

tia
sven

ps: strange enough, but the info file contains a similar line already, though it seems not to help:

perl -pi -e 's;EXTRALIBS_OPENGL=";$&-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib;' configure

 diff -u /tmp/wxgtk2.8.info.sdv wxgtk2.8.info 
--- /tmp/wxgtk2.8.info.sdv      2008-07-18 15:03:56.000000000 +0200
+++ wxgtk2.8.info       2008-07-15 03:47:00.000000000 +0200
@@ -67,7 +67,7 @@
   perl -pi -e 
's;EXTRALIBS_OPENGL=";$&-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenG
L.framework/Versions/A/Libraries/libGL.dylib;' configure
 <<
 SetCPPFLAGS: -I%p/include/SDL -I%p/include/gtk-2.0/gtk 
-I%p/include/gtk-2.0/gdk -I%p/lib/pango-ft219/include/pango-1.0 
-I%p/include/gstreamer-0.10
-SetLDFLAGS: -L%p/lib/gtk-2.0 -L%p/lib/gstreamer-0.10 
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/F
rameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
+SetLDFLAGS: -L%p/lib/gtk-2.0 -L%p/lib/gstreamer-0.10
 ConfigureParams: <<
   --with-extra-includes=%p/include --with-extra-libs=%p/lib 
--disable-dependency-tracking --disable-debug --disable-debug_flag \
   --disable-debug_info --disable-monolithic --disable-precomp-headers 
--enable-objc_uniquifying --enable-optimise --enable-threads \



diff  /tmp/wxgtk2.8.info.sdv wxgtk2.8.info
70c70
< SetLDFLAGS: -L%p/lib/gtk-2.0 -L%p/lib/gstreamer-0.10 
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/
Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
---
> SetLDFLAGS: -L%p/lib/gtk-2.0 -L%p/lib/gstreamer-0.10
-------------------------------------------------------------------------
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-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to