mapserver4.6.0 config failure

Jim Ballantine j.ballantine at GMAIL.COM
Wed Jul 6 10:56:12 EDT 2005


Hi,

I'm trying to build MapServer-4.6.0 on a sun solaris8 box, and the
configure is failing with:

   MapServer Version from map.h: '4.6.0'
   configure: checking where FreeType 2.x is installed...
           using libfreetype from -L/usr/local/add-on/freetype/lib -lfreetype
   configure: checking where Zlib is installed...
           using libz from -L/usr/local/add-on/zlib/lib -lz
   configure: checking where PNG is installed...
           using libpng from -L/usr/local/add-on/libpng/lib -lpng
   configure: checking whether we should include JPEG support...
           using libjpeg from system -L/usr/local/add-on/jpeg/lib -ljpeg
   configure: checking where libXpm is installed...
           using libXpm from -L/usr/local/add-on/xpm/lib -lXpm -lX11
   configure: checking where libiconv is installed...
   checking for iconv_open in -lc... yes
   checking for libiconv_open in -liconv... no
           using libiconv from -L -lc
           libiconv found. Enabling internationalization (-DUSE_ICONV)
   configure: checking for GD 2.0.16 or higher...
   DEBUG: GD_DIR 1 is set to /usr/local/add-on/gd-2.0.33
   DEBUG: GD_DIR 2 is set to /usr/local/add-on/gd-2.0.33
   DEBUG: GD_LIBDIR is set to /usr/local/add-on/gd-2.0.33/lib :
gdFontCacheSetup is
   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/local/add-on/gd-2.0.33.  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).

I added the DEBUG echo's to see what what going on.

When I check /usr/local/add-on/gd-2.0.33/include/gd.h, I get:
/usr/local/add-on/gd-2.0.33/include/gd.h,
and when I look at libgd.a,  nm
/usr/local/add-on/gd-2.0.33/lib/libgd.a | grep gdFontCacheSetup, I
get:
   [70]    |      2872|     132|FUNC |GLOB |0    |2      |gdFontCacheSetup

/usr/local/add-on/freetype points to /usr/local/add-on/freetype-2.1.3
Anyone have any ideas on what I'm missing????


Thanks

Jim



More information about the mapserver-users mailing list