On Apr 14, 2008, at 2:53 AM, IOhannes m zmölnig wrote:
marius schebella wrote:
hi, I manually pasted the line -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/ Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/ OpenGL.framework/Versions/A/Libraries/libGL.dylib
into the Make.config file (added to LIBS) after i ran ./configure and then gem compiled nicely. and I got font support for osx in text2d and text3d! unfortunately I don't know how to fix this automatically, maybe someone can add this to the configure script.
i rather think that this known bug should be fixed upstream instead of including kludges in all affected packages.
however, a generic solution for such hacks could be to use special environment variables to additionally add linker and compiler flags.
e.g. something like GEM_ADDITIONAL_LDFLAGS="-Wl,-dylib_file,/bi/ba/bo.dylib " make
currently you can probably abuse the "X_LIBS" envvar.
Is this needed on Mac OS X:
-L/usr/X11R6/lib
If not, removing that on Mac OS X might be a simpler fix.
.hc
------------------------------------------------------------------------ ----
"It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White