On Jun 18, 2008, at 4:36 AM, Martin Costabel wrote:

> Alexander Hansen wrote:
>> On Tuesday 17 June 2008 20:54:22 Ben Abbott wrote:
>>> I attempted to build libftgl1, but failed :-(
>>>
>>> [snip]
>>> rm -f .libs/FTVectoriser.lo
>>> g++ -c -I../../include -I/sw/include -g -O2 -I/usr/X11/include/
>>> freetype2 -I/usr/X11/include ../../src/FTVectoriser.cpp  -fno- 
>>> common -
>>> DPIC -o .libs/FTVectoriser.lo
>>> ../../src/FTVectoriser.cpp: In member function 'void
>>> FTVectoriser::MakeMesh(FTGL_DOUBLE)':
>
> There are currently problems with this package on 10.5.3, hopefully
> fixed soon. The problem you are seeing here is due to syntax
> incompatibilities between various versions of Apple's compiler.
>
>>> [snip]
>>>
>>> My X11 is at 2.1.1 ... do I infer correctly that freetype2 is now
>>> bundled by X11 and that my problem will disappear if I update to X11
>>> 2.2.2?
>>
>> Some version of freetype2 has always been bundled with X11.  Unless  
>> the
>> maintainer specifically targeted X11 2.2.2, then installing that  
>> may well not
>> solve your problem.
>
> Tha package actually depends on freetype219 but does not yet take the
> necessary steps to ensure that it is used.'

As my build did fail again, I'm back to post some detail. The  
configure script did find X11's freetype

checking for freetype-config... /usr/X11R6/bin/freetype-config
checking for FreeType - version >= 9.0.3... yes

The first error is encountered here

g++ -c -I../../include -I/sw/include -g -O2 -I/usr/X11/include/ 
freetype2 -I/usr/X11/include ../../src/FTVectoriser.cpp  -fno-common - 
DPIC -o .libs/FTVectoriser.lo
../../src/FTVectoriser.cpp: In member function 'void  
FTVectoriser::MakeMesh(FTGL_DOUBLE)':
../../src/FTVectoriser.cpp:186: error: invalid conversion from 'GLvoid  
(*)(...)' to 'GLvoid (*)()'
../../src/FTVectoriser.cpp:186: error:   initializing argument 3 of  
'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
../../src/FTVectoriser.cpp:187: error: invalid conversion from 'GLvoid  
(*)(...)' to 'GLvoid (*)()'
../../src/FTVectoriser.cpp:187: error:   initializing argument 3 of  
'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
../../src/FTVectoriser.cpp:188: error: invalid conversion from 'GLvoid  
(*)(...)' to 'GLvoid (*)()'
../../src/FTVectoriser.cpp:188: error:   initializing argument 3 of  
'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
../../src/FTVectoriser.cpp:189: error: invalid conversion from 'GLvoid  
(*)(...)' to 'GLvoid (*)()'
../../src/FTVectoriser.cpp:189: error:   initializing argument 3 of  
'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
../../src/FTVectoriser.cpp:190: error: invalid conversion from 'GLvoid  
(*)(...)' to 'GLvoid (*)()'
../../src/FTVectoriser.cpp:190: error:   initializing argument 3 of  
'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
make[1]: *** [FTVectoriser.lo] Error 1

Might it be possible to over-ride the auto-detection of X11's freetype  
and link to freetype219 instead? If so I'm happy to attempt to modify  
the .info file to do so.

Ben



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to