[mapserver-users] font support problem

Stephen Woodbridge woodbri at swoodbridge.com
Wed Jun 1 11:24:27 EDT 2011


When you get a chance please write a bug against this issue. It seems 
that there are a few things that need to be fixed:

1. error message is wrong and misleading
2. configure is not finding the libraries
3. configure is not detecting a missing library (iconv) and disabling 
freetype if the missing lib is required.
4. freetype without iconv should be ok unless this is a new requirement
5. doc needs to be updated as required

Also I would think the a missing -liconv should cause a fatal link error 
in make.

Thanks,
   -Steve

On 6/1/2011 10:11 AM, William Kyngesburye wrote:
> Freetype is not the problem.  I already figured it out - my gd font
> support needs -liconv and configure is not adding it to the gd test.
> It looks like the mapserver configure doesn't get the libs from the
> gdlib-config script but makes a common guess.
>
> I thought I had this working in the past, but it's possible I only
> recently added iconv support to my gd. I forget.
>
> On Jun 1, 2011, at 8:49 AM, Stephen Woodbridge wrote:
>
>> ./configure can not find your truetype font includes and/or libs.
>> You need to make sure you have the truetype package installed on
>> Linux this is called something like freetype2. On my debian
>> system:
>>
>> ls /usr/include/freetype2/freetype/ config        ftcid.h
>> ftimage.h   ftmodapi.h  ftsnames.h  ftxf86.h freetype.h
>> fterrdef.h  ftincrem.h  ftmoderr.h  ftstroke.h  t1tables.h ftbbox.h
>> fterrors.h  ftlcdfil.h  ftotval.h   ftsynth.h   ttnameid.h ftbdf.h
>> ftgasp.h    ftlist.h    ftoutln.h   ftsystem.h  tttables.h
>> ftbitmap.h    ftglyph.h   ftlzw.h     ftpfr.h     fttrigon.h
>> tttags.h ftcache.h     ftgxval.h   ftmac.h     ftrender.h
>> fttypes.h   ttunpat.h ftchapters.h  ftgzip.h    ftmm.h
>> ftsizes.h   ftwinfnt.h
>>
>>
>> ls /usr/lib/libfreetype.* /usr/lib/libfreetype.a
>> /usr/lib/libfreetype.so.6 /usr/lib/libfreetype.la
>> /usr/lib/libfreetype.so.6.3.18 /usr/lib/libfreetype.so
>>
>>
>> -Steve W
>>
>> On 6/1/2011 9:44 AM, William Kyngesburye wrote:
>>> It would help if I turned off the find words option ;)  There it
>>> is in configure, I just need to figure out why it was disabled.
>>>
>>> On Jun 1, 2011, at 8:40 AM, William Kyngesburye wrote:
>>>
>>>> Something has killed my font support in MapServer in the
>>>> compilation stage.
>>>>
>>>> I'm getting a "Keyword FONT is not valid without TrueType font
>>>> support" error at runtime.  It looks like font support is
>>>> conditionalized on USE_GD_TTF or USE_GD_FT, but I can't figure
>>>> out where this is set in configuration.  I don't see those in
>>>> the GD sources either.
>>>>
>>>> ----- William Kyngesburye<kyngchaos*at*kyngchaos*dot*com>
>>>> http://www.kyngchaos.com/
>>>>
>>>> "Time is an illusion - lunchtime doubly so."
>>>>
>>>> - Ford Prefect
>>>>
>>>>
>>>> _______________________________________________ mapserver-users
>>>> mailing list mapserver-users at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>
>>> ----- William Kyngesburye<kyngchaos*at*kyngchaos*dot*com>
>>> http://www.kyngchaos.com/
>>>
>>> "Time is an illusion - lunchtime doubly so."
>>>
>>> - Ford Prefect
>>>
>>>
>>> _______________________________________________ mapserver-users
>>> mailing list mapserver-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>> _______________________________________________ mapserver-users
>> mailing list mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
> ----- William Kyngesburye<kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> The equator is so long, it could encircle the earth completely once.
>



More information about the mapserver-users mailing list