Installation

Geraint Lee g.lee at ORS.ORG.UK
Wed Jul 27 06:21:31 PDT 2005


Hey all,

I've been trying to install mapserver for several days now, coming 
accross a number of installation problems (with other programs like gd, 
jpeg-2b...) which i've overcome... now i'm stuck on mapserver.

gd, jpeg, freetype2, libiconv and libpng are all installed on the server 
(FreeBSD 4.11)... anyway, here's the output from:
./configure --with-png=/usr/local --with-jpeg=/usr/local 
--with-freetype=/usr/local --without-xpm --with-libiconv=/usr/local 
--with-gd=/usr/local
--
...
configure: checking where FreeType 2.x is installed...
        using libfreetype from -L/usr/local/lib -Wl,--rpath 
-Wl,/usr/local/lib -lfreetype -lz
checking for FT_Init_FreeType in -lfreetype... no
        using libfreetype -L/usr/local/lib -Wl,--rpath 
-Wl,/usr/local/lib -lfreetype -lz from system libs.
configure: checking where Zlib is installed...
checking for zlibVersion in -lz... yes
        using libz from system libs.
configure: checking where PNG is installed...
        using libpng from -L/usr/local/lib64 -lpng
configure: checking whether we should include JPEG support...
        using libjpeg from system -L/usr/local/lib64 -ljpeg
configure: checking where libiconv is installed...
checking for iconv_open in -lc... no
checking for libiconv_open in -liconv... yes
        using libiconv from -L/usr/local/lib64 -liconv
        libiconv found. Enabling internationalization (-DUSE_ICONV)
configure: checking for GD 2.0.12 or higher...
checking for gdImageSetAntiAliased in -lgd... no
configure: checking whether GD needs libiconv...
checking for gdImageSetAntiAliased in -lgd... no
configure: error: Could not find gd.h or libgd.a/libgd.so in 
/usr/local.  Make sure GD 2.0.12 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).
--
all of those files exist in /usr/local/lib and /local - does anyone have 
any suggestions at all as to what the problem may be.

Thanks

Geraint



More information about the MapServer-users mailing list