[GEM-dev] compiling Gem on OSX 10.4 w/ FTGL from fink

Hans-Christoph Steiner hans at eds.org
Fri Jun 1 01:45:26 CEST 2007


On Mac OS X, FTGL is built with Xcode, so that doesn't generate ftgl- 
config.  If it was built using ./configure && make, it would do it.   
That should be too hard, but I won't have time to do it anytime soon.

As for the static lib, that's how FTGL is generally built, and that's  
what Gem expects.  The Debian package, for example, only provides the  
static lib for FTGL.

.hc

On May 31, 2007, at 7:34 PM, B. Bogart wrote:

> Hey all,
>
> Do I'm trying to build Gem on OSX with FTGL, since thanks to Hans fink
> provides it.
>
> Seems fink provides a static lib, and no ftlg-config, both of which  
> seem
> to be preffered by Gem's configure for FTGL.
>
> How can the configure script be altered to link against a static ftgl?
> and do so without ftgl-config.
>
> Or is it possible to get fink to provide a shared lib and ftgl- 
> config? Hans?
>
> Thanks,
> .b.
>
>
>
>
> Hans-Christoph Steiner wrote:
>> So it looks like it's official, FTGL is now part of Fink.  Now I
>> could just use a hand to get Gem to use FTGL in the auto-builds...
>>
>> .hc
>>
>> Begin forwarded message:
>>
>>> From: "SourceForge.net" <noreply at sourceforge.net>
>>> Date: May 24, 2007 8:26:52 PM EDT
>>> To: noreply at sourceforge.net
>>> Subject: [ fink-Package Submissions-1704690 ] FTGL - font library
>>> for OpenGL
>>> Delivered-To: hans at eds.org
>>>
>>> Package Submissions item #1704690, was opened at 2007-04-20 22:02
>>> Message generated for change (Settings changed) made by alexkhansen
>>> You can respond by visiting:
>>> https://sourceforge.net/tracker/?
>>> func=detail&atid=414256&aid=1704690&group_id=17203
>>>
>>> Please note that this message will contain a full copy of the
>>> comment thread,
>>> including the initial issue submission, for this request,
>>> not just the latest update.
>>> Category: New Package
>>>> Group: Added to Fink
>>>> Status: Closed
>>>> Resolution: Works For Me
>>> Priority: 5
>>> Private: No
>>> Submitted By: Hans-Christoph Steiner (eighthave)
>>> Assigned to: Nobody/Anonymous (nobody)
>>> Summary: FTGL - font library for OpenGL
>>>
>>> Initial Comment:
>>>
>>> This library is very useful and very stable.  It's been at version
>>> 2.1.2 since 2004 and doesn't seem to need any fixes.
>>>
>>> * I compiled this on 10.4, but it should compile fine on 10.3 since
>>> it uses an old .xcode project.
>>>
>>> * This belongs in the 'graphics' section, since it is similar to
>>> freetype219, and in fact depends on it.
>>>
>>> * 'fink -m --build-as-nobody rebuild' works fine
>>>
>>> * both the .info and the .deb validate with no problems.
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> --
>>>
>>> Comment By: Hans-Christoph Steiner (eighthave)
>>> Date: 2007-05-18 10:11
>>>
>>> Message:
>>> Logged In: YES
>>> user_id=27104
>>> Originator: YES
>>>
>>> I found a 10.3 machine to test on.  The only change needed was to
>>> accomodate the different build paths for xcode on 10.3 and 10.4
>>> File Added: ftgl.info
>>>
>>> -------------------------------------------------------------------- 
>>> --
>>>
>>> Comment By: Hans-Christoph Steiner (eighthave)
>>> Date: 2007-05-17 00:36
>>>
>>> Message:
>>> Logged In: YES
>>> user_id=27104
>>> Originator: YES
>>>
>>> File Added: ftgl.info
>>>
>>> -------------------------------------------------------------------- 
>>> --
>>>
>>> Comment By: Hans-Christoph Steiner (eighthave)
>>> Date: 2007-05-17 00:35
>>>
>>> Message:
>>> Logged In: YES
>>> user_id=27104
>>> Originator: YES
>>>
>>>
>>> Ok, the dependencies should be fixed, as well as a number of other
>>> issues.
>>>
>>> as for the dylib, I am following the official debian package as
>>> closely as
>>> possible, which also only includes the .a, no .so.  It seems that  
>>> the
>>> author does not provide methods for building dynamic library, and
>>> users of
>>> FTGL statically link against it.
>>>
>>> -------------------------------------------------------------------- 
>>> --
>>>
>>> Comment By: Alexander Hansen (alexkhansen)
>>> Date: 2007-05-06 17:41
>>>
>>> Message:
>>> Logged In: YES
>>> user_id=353035
>>> Originator: NO
>>>
>>> You say above that the package depends on freetype219, but  
>>> there's no
>>> BuildDepend on it, leading to:
>>>
>>> In file included from
>>> /sw/src/fink.build/ftgl-2.1.2-1/FTGL/src/FTBitmapGlyph.cpp:3:
>>> /sw/src/fink.build/ftgl-2.1.2-1/FTGL/include/FTBitmapGlyph.h:5:22:
>>> error:
>>> ft2build.h: No such file or directory
>>>
>>> ---
>>>
>>> The only library I found in this was /sw/lib/libftgl.a .  The  
>>> project
>>> tends to prefer to have packages build dynamic libraries (.dylib) if
>>> possible.
>>>
>>> -------------------------------------------------------------------- 
>>> --
>>>
>>> Comment By: Hans-Christoph Steiner (eighthave)
>>> Date: 2007-04-20 22:43
>>>
>>> Message:
>>> Logged In: YES
>>> user_id=27104
>>> Originator: YES
>>>
>>> File Added: ftgl.info
>>>
>>> -------------------------------------------------------------------- 
>>> --
>>>
>>> Comment By: Hans-Christoph Steiner (eighthave)
>>> Date: 2007-04-20 22:43
>>>
>>> Message:
>>> Logged In: YES
>>> user_id=27104
>>> Originator: YES
>>>
>>> Added a DescDetail, so I updated the ftgl.info file in the tracker.
>>>
>>> Also, I should mention, I have installed this package successfully
>>> on two
>>> 10.4/PowerPC machines and one 10.4/Intel machine.
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> --
>>>
>>> You can respond by visiting:
>>> https://sourceforge.net/tracker/?
>>> func=detail&atid=414256&aid=1704690&group_id=17203
>>
>>
>>
>> --------------------------------------------------------------------- 
>> ---
>> ----
>>
>> There is no way to peace, peace is the way.       -A.J. Muste
>>
>>
>>
>> _______________________________________________
>> PD-dev mailing list
>> PD-dev at iem.at
>> http://lists.puredata.info/listinfo/pd-dev
>>



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

Using ReBirth is like trying to play an 808 with a long stick.    - 
David Zicarelli






More information about the GEM-dev mailing list