Red Hat & PHP/MapScripts

Andrew Swiader andrzej.swiader at PROGEA.PL
Wed Mar 23 03:57:38 EST 2005


Hello list,

I have a problem with PHP/MapScripts compilation on Red Hat 9. When I
configure MapScripts from the source file, an error message appears (see
below). The error message tells me that the DG and freetype, libpng,
libjpeg or libiconv are not added, but I have done this. If I am trying on
the newer GD libraries (2.0.21), there is same error.
Thanks for help in advance.

Andrew


...
checking for jpeg_read_header in -ljpeg... yes
        using libjpeg from system libs.
configure: checking where libXpm is installed...
checking for XpmFreeXpmImage in -lXpm... no
        XPM (libXpm) library cannot be found, possibly needed for GD
configure: checking where libiconv is installed...
checking for iconv_open in -lc... yes
checking for libiconv_open in -liconv... no
        using libiconv from system libs.
        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
checking for gdImageSetAntiAliased in -lgd... (cached) 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).



More information about the mapserver-users mailing list