iohannes, do you think you could add this GEM_ADDITIONAL_FLAG thing? I am not the one who can do it myself, don't know where and how. it is a 10.5 problem, and I think it is only needed when I compile with ftgl/font support. if you add it somewhere then I can use it to run an autobuild later today. (I can do it manually if I only compile gem, but autobuild does all this automatically and I cannot interupt the script to add some lines in the config file :( ) thanks, marius.
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.
fmgads IOhannes