[Mapserver-users] mapserv compiling error

ESSC Admin admin at essc.org.ph
Mon Mar 29 08:33:45 EST 2004


This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C415D5.8385FC30
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

When running ./configure on my remote webserver, these errors appear:


loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ranlib... ranlib
checking for flex... flex
checking for yywrap in -lfl... yes
checking for bison... bison -y
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for exp in -lm... yes
checking for __gxx_personality_v0 in -lstdc++... no
checking how to run the C preprocessor... /lib/cpp
checking for ANSI C header files... no
checking for strcasecmp... no
checking for strncasecmp... no
checking for strdup... no
checking whether we should include JPEG support...
checking for jpeg_read_header in -ljpeg... yes
        using libjpeg from system libs.
checking where FreeType 2.x is installed...
checking for FT_Init_FreeType in -lfreetype... yes
        using libfreetype -lfreetype from system libs.
checking where Zlib is installed...
checking for zlibVersion in -lz... yes
        using libz from system libs.
checking where PNG is installed...
checking for png_init_io in -lpng... yes
        using libpng from system libs.
checking where libXpm is installed...
checking for XpmFreeXpmImage in -lXpm... no
        XPM (libXpm) library cannot be found, possibly needed for GD
checking where libiconv is installed...
checking for libiconv_open in -liconv... no
        libiconv library cannot be found, possibly needed for GD
checking for GD 2.0.12 or higher...
checking for gdImageSetAntiAliased in -lgd... yes
checking for gdImageSetAntiAliased in -lgd... (cached) yes
configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/local. =
Make su
re GD 2.0.12 or higher is compiled before calling configure.


What should I do next? I a newbie at linux so please bear with me. =
Thanks.

Regards
------=_NextPart_000_000D_01C415D5.8385FC30
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>When running ./configure on my remote =
webserver,=20
these errors appear:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>loading cache =
./config.cache<BR>checking for gcc...=20
gcc<BR>checking whether the C compiler (gcc&nbsp; ) works... =
yes<BR>checking=20
whether the C compiler (gcc&nbsp; ) is a cross-compiler... =
no<BR>checking=20
whether we are using GNU C... yes<BR>checking whether gcc accepts -g...=20
yes<BR>checking for c++... c++<BR>checking whether the C++ compiler =
(c++&nbsp; )=20
works... yes<BR>checking whether the C++ compiler (c++&nbsp; ) is a=20
cross-compiler... no<BR>checking whether we are using GNU C++... =
yes<BR>checking=20
whether c++ accepts -g... yes<BR>checking for ranlib... =
ranlib<BR>checking for=20
flex... flex<BR>checking for yywrap in -lfl... yes<BR>checking for =
bison...=20
bison -y<BR>checking if compiler supports -R... no<BR>checking if =
compiler=20
supports -Wl,-rpath,... yes<BR>checking for exp in -lm... =
yes<BR>checking for=20
__gxx_personality_v0 in -lstdc++... no<BR>checking how to run the C=20
preprocessor... /lib/cpp<BR>checking for ANSI C header files... =
no<BR>checking=20
for strcasecmp... no<BR>checking for strncasecmp... no<BR>checking for =
strdup...=20
no<BR>checking whether we should include JPEG support...<BR>checking for =

jpeg_read_header in -ljpeg... =
yes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
using libjpeg from system libs.<BR>checking where FreeType 2.x is=20
installed...<BR>checking for FT_Init_FreeType in -lfreetype...=20
yes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libfreetype =
-lfreetype=20
from system libs.<BR>checking where Zlib is installed...<BR>checking for =

zlibVersion in -lz... yes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
using=20
libz from system libs.<BR>checking where PNG is installed...<BR>checking =
for=20
png_init_io in -lpng... =
yes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using=20
libpng from system libs.<BR>checking where libXpm is =
installed...<BR>checking=20
for XpmFreeXpmImage in -lXpm... =
no<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
XPM (libXpm) library cannot be found, possibly needed for GD<BR>checking =
where=20
libiconv is installed...<BR>checking for libiconv_open in -liconv...=20
no<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libiconv library cannot =
be=20
found, possibly needed for GD<BR>checking for GD 2.0.12 or =
higher...<BR>checking=20
for gdImageSetAntiAliased in -lgd... yes<BR>checking for =
gdImageSetAntiAliased=20
in -lgd... (cached) yes<BR>configure: error: Could not find gd.h or=20
libgd.a/libgd.so in /usr/local. Make su<BR>re GD 2.0.12 or higher is =
compiled=20
before calling configure.<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>What should I do next? I a newbie at =
linux so=20
please bear with me. Thanks.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Regards</DIV></FONT></BODY></HTML>

------=_NextPart_000_000D_01C415D5.8385FC30--




More information about the mapserver-users mailing list