[Mapserver-users] mapserver build on redhat 9 problems
Steve Lime
steve.lime at dnr.state.mn.us
Mon Nov 3 15:11:08 PST 2003
Redhat likely has a version of GD already installed on the system, check
in /usr/lib.
Steve
>>> Enils Bashi <EBashi at chesapeakebay.net> 11/3/2003 3:27:07 PM >>>
Hi all,
Here is a directory view of the packages I have build from source.
[root at nutria mapserver]# ls
freetype-2.1.4 jpeg-6b mapserver-4.0.1 proj-4.4.7
xpm-3.4k-linux
gd-2.0.15 libpng-1.2.5 ming-0.2a tiff-v3.5.6-beta
zlib-1.1.4
When I try to specifiy the path of the required packages, here is what
I
get:
[root at nutria mapserver-4.0.1]# ./configure
--with-apxs=/usr/local/apache2/bin/apxs
--with-freetype=/noaa/mapserver/freetype-2.1.4/
--with-gd=/noaa/mapserver/gd-2.0.15/
--with-jpeg=/noaa/mapserver/jpeg-6b/
--with-libiconv=/noaa/mapserver/libiconv-1.9.1/
--with-libpng=/noaa/mapserver/libpng-1.2.5/
--with-ming=/noaa/mapserver/ming-0.2a/
--with-xpm=/noaa/mapserver/xpm-3.4k-linux/
--with-prog=/noaa/mapserver/proj-4.4.7/
--with-tiff=/noaa/mapserver/tiff-v3.5.6-beta/
--with-zlib=/noaa/mapserver/zlib-1.1.4/
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++... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strdup... yes
checking whether we should include JPEG support...
Could not find jpeglib.h or libjpeg.a/libjpeg.so in
/noaa/mapserver/jpeg-6b/.
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...
using libz from -L/noaa/mapserver/zlib-1.1.4/ -lz
checking where PNG is installed...
checking for png_init_io in -lpng... yes
using libpng from system libs.
checking where libXpm is installed...
using libXpm from -L/noaa/mapserver/xpm-3.4k-linux//lib -lXpm
-lX11
checking where libiconv is installed...
checking for libiconv_open in -liconv... yes
using libiconv from system libs.
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
/noaa/mapserver/gd-2.0.15/. Make sure GD 2.0.12 or higher is compiled
before
calling configure.
---------------------
The files it is complaining about are in /noaa/mapserver/gd-2.0.15.
[root at nutria gd-2.0.15]# find . -name "gd.h"
./gd.h
[root at nutria gd-2.0.15]# find . -name "libgd.a"
./.libs/libgd.a
[root at nutria gd-2.0.15]# find . -name "libgd.so"
./.libs/libgd.so
--- Is this weird or what?
If I run configure with no options it runs ok, but the mapserv binary
does
not work with
apache2 ( and the permissions are set right)
Does anyone have a clue of what's happening here?
---
Enils
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list