[GEM-dev] Gem build error on Mac OS X when enabling FTGL in Fink
IOhannes m zmoelnig
zmoelnig at iem.at
Sat May 5 13:07:34 CEST 2007
Hans-Christoph Steiner wrote:
>
> Ah, I see the issue now. I think I can solve this in the
> libquicktime package actually. libquicktime has officially changed
> it's header to lqt/lqt.h. I imitated the debian package and made
unfortunately we still get no FTGL-support in the nightly builds.
the problem is, that while configure now finds the libftgl.a, it does
not find libfreetype.so
usually Gem relies on pkg-config to determine all dependencies of
packages like ftgl.
since there is neither an ftgl.pc nor an ftgl-config, the paths to the
freetype libs and headers are not found, resulting in not-detecting a
usable ftgl.
something like this should do:
PKG_FTGL_CFLAGS="-I/sw/include $(freetype-config --cflags)"
PKG_FTGL_LIBS="-L/sw/lib -lftgl $(freetype-config --libs)" ./configure ...
(with "..." being all the other flags)
fmgasdr
IOhannes
More information about the GEM-dev
mailing list