[Mapserver-users] Question Regarding to TrueFont Support and XPM Library

teoman teoman teoman872 at yahoo.com
Fri Feb 6 12:41:02 EST 2004


--0-1264155061-1076089262=:68592
Content-Type: text/plain; charset=us-ascii

Hi everybody,
 
I have successfully installed the mapserver but I could not set up the TrueFont Support. When I installed the gd-2.0.22, it found the XPM library automatically..(I did not install any xpm library)
After installing gd-2.0.22, I configured the mapserver by typing:
$ ./configure --with-gd=/usr/local --with-proj=/usr/local --with-gdal=/usr/loca
l/bin/gdal-config --with-freetype=/usr/local/bin/freetype-config --with-postgis
=yes --with-ogr=/usr/local/bin/gdal-config --with-curl-config=/bin/curl-config
--with-wmsclient 
 
but I realized that configuration can not find xpm library. :
checking where libXpm is installed...
checking for XpmFreeXpmImage in -lXpm... no
        XPM (libXpm) library cannot be found, possibly needed for GD...
 
After that, I have installed the xpm library by downloading xpm-3.4k.tar file..
and then, I tried to configure the mapserver this time by giving a path,where I installed the xpm libarary, for xpm library:
 
$ ./configure --with-gd=/usr/local --with-proj=/usr/local --with-gdal=/usr/loca
l/bin/gdal-config --with-freetype=/usr/local/bin/freetype-config --with-postgis
=yes --with-ogr=/usr/local/bin/gdal-config --with-curl-config=/bin/curl-config
--with-wmsclient --with-xpm=/usr/src/projects/mapservCA/xpm-3.4k/lib 
 
and then I got this Error:
checking where libXpm is installed...
        using libXpm from -L/usr/src/projects/mapservCA/xpm-3.4k/lib -lXpm -lX11
checking where libiconv is installed...
        using libiconv from -L/lib -liconv
checking for GD 2.0.12 or higher...
checking for gdImageSetAntiAliased in -lgd... no
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 su
re GD 2.0.12 or higher is compiled before calling configure.
 
any help will be appreciated..thanks alot in advance...
 
--teoman


---------------------------------
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
--0-1264155061-1076089262=:68592
Content-Type: text/html; charset=us-ascii

<DIV>Hi everybody,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have successfully installed the mapserver but I could not set up the TrueFont Support. When I installed the gd-2.0.22, it found the XPM library automatically..(I did not install any xpm library)</DIV>
<DIV>After installing gd-2.0.22, I configured the mapserver by typing:</DIV>
<DIV>$ ./configure --with-gd=/usr/local --with-proj=/usr/local --with-gdal=/usr/loca<BR>l/bin/gdal-config --with-freetype=/usr/local/bin/freetype-config --with-postgis<BR>=yes --with-ogr=/usr/local/bin/gdal-config --with-curl-config=/bin/curl-config<BR>--with-wmsclient </DIV>
<DIV>&nbsp;</DIV>
<DIV>but I realized that configuration can not find xpm library. :</DIV>
<DIV>checking where libXpm is installed...<BR>checking for XpmFreeXpmImage in -lXpm... no<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XPM (libXpm) library cannot be found, possibly needed for GD...</DIV>
<DIV>&nbsp;</DIV>
<DIV>After that, I have <STRONG>installed the xpm library</STRONG> by downloading&nbsp;xpm-3.4k.tar file..</DIV>
<DIV>and then, I tried to configure the mapserver this time by giving a path,where I installed the xpm libarary,&nbsp;for xpm library:</DIV>
<DIV>&nbsp;</DIV>
<DIV>$ ./configure --with-gd=/usr/local --with-proj=/usr/local --with-gdal=/usr/loca<BR>l/bin/gdal-config --with-freetype=/usr/local/bin/freetype-config --with-postgis<BR>=yes --with-ogr=/usr/local/bin/gdal-config --with-curl-config=/bin/curl-config<BR>--with-wmsclient --with-xpm=/usr/src/projects/mapservCA/xpm-3.4k/lib </DIV>
<DIV>&nbsp;</DIV>
<DIV>and then I got this Error:</DIV>
<DIV><STRONG>checking where libXpm is installed...<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libXpm from -L/usr/src/projects/mapservCA/xpm-3.4k/lib -lXpm -lX11</STRONG></DIV>
<DIV>checking where libiconv is installed...<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libiconv from -L/lib -liconv<BR>checking for GD 2.0.12 or higher...<BR>checking for gdImageSetAntiAliased in -lgd... no<BR>checking whether GD needs libiconv...<BR>checking for gdImageSetAntiAliased in -lgd... no<BR><STRONG>configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/local. Make su<BR>re GD 2.0.12 or higher is compiled before calling configure</STRONG>.</DIV>
<DIV>&nbsp;</DIV>
<DIV>any help will be appreciated..thanks alot in advance...</DIV>
<DIV>&nbsp;</DIV>
<DIV>--teoman</DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
Yahoo! Finance: <a href="http://us.rd.yahoo.com/evt=22055/*http://taxes.yahoo.com/filing.html">Get your refund fast by filing online</a>
--0-1264155061-1076089262=:68592--



More information about the mapserver-users mailing list