[mapserver-users] Compiling Issues: Ubuntu 8.04 -- libgd and gdFontCacheSetup

Matthew Pettis matthew.pettis at gmail.com
Fri Jul 18 07:04:15 PDT 2008


Replied to your previous one -- I will try again tonight with your
suggestion and update the list with the results  -- Thanks again!

Matt

On Fri, Jul 18, 2008 at 8:54 AM, Daniel Morissette
<dmorissette at mapgears.com> wrote:
> As I wrote in a previous message, is it possible that you configured using
> "--with-gd=/usr/lib"? You should use "--with-gd=/usr" only and the configure
> script should take care of looking in the right subdirectory for each file.
>
> Daniel
>
> Matthew Pettis wrote:
>>
>> Hi,
>>
>> More and different compiling issues from the one I've already
>> posted... My configure script errors as shown below (truncated because
>> I believe the most important part is included):
>>
>> ------------------------------------------------------------------------------------------------------------------
>> configure: checking where libiconv is installed...
>> checking for iconv_open in -lc... yes
>> checking for libiconv_open in -liconv... yes
>>        using libiconv from -L -liconv
>>        libiconv found. Enabling internationalization (-DUSE_ICONV)
>> configure: checking for GD 2.0.16 or higher...
>> checking for gdFontCacheSetup in -lgd... no
>> configure: checking whether GD needs libiconv...
>> checking for gdFontCacheSetup in -lgd... no
>> configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/lib.
>>  Make sure GD 2.0.16 or higher is compiled before calling configure.
>> You may also get this error if you didn't specify the appropriate
>> location for one of GD's dependencies (freetype, libpng, libjpeg or
>> libiconv).
>>
>> ------------------------------------------------------------------------------------------------------------------
>>
>> Now, I have libgd version 2.0.35, so this should work... I have gd.h
>> and libgd.a/libgd.so (the latter are in /usr/lib/).  I think it is
>> choking because of the gdFontCacheSetup.  Any idea on how to fix this?
>>
>> Thanks,
>> Matt
>>
>
>
> --
> Daniel Morissette
> http://www.mapgears.com/
>



-- 
It is from the wellspring of our despair and the places that we are
broken that we come to repair the world.
-- Murray Waas



More information about the MapServer-users mailing list