[GEM-dev] Gem build error on Mac OS X when enabling FTGL in Fink

Hans-Christoph Steiner hans at eds.org
Sat May 5 22:09:55 CEST 2007


On May 5, 2007, at 7:07 AM, IOhannes m zmoelnig wrote:

> 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)

You can ignore my other post, I hadn't seen this one yet.  Any ideas  
as to how to generate a ftgl.pc?  I haven't worked with pkgconfig  
before.  Seems like something that should be part of the Fink package.

.hc

>
>
> fmgasdr
> IOhannes


------------------------------------------------------------------------ 
----

Access to computers should be unlimited and total.  - the hacker ethic






More information about the GEM-dev mailing list