mapserver4.6.0 config failure

Jim Ballantine j.ballantine at GMAIL.COM
Wed Jul 6 09:50:53 PDT 2005


It's pointing to where it is installed.

On 7/6/05, Frank Warmerdam <fwarmerdam at gmail.com> wrote:
> On 7/6/05, Jim Ballantine <j.ballantine at gmail.com> wrote:
> > 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????
> 
> Jim,
> 
> Are you pointing configure at the directory where you built GD or
> where it was installed?  Often the ability to point to build directories
> for packages is very fragile, and it is easier to install it in a custom
> location and then point at that install tree.
> 
> Of course, I could easily be barking up the wrong tree.  Just one
> wild speculation.
> 
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
>



More information about the MapServer-users mailing list