[mapserver-users] Instalation problems...

Jim Burnett r00t at ntelos.net
Mon Nov 4 10:21:03 EST 2002


Which version of GD do you have?
What linux distro?
-jim

----- Original Message ----- 
From: "Dragos Lipan" <dlipan at pcrai.ro>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Monday, November 04, 2002 5:36 AM
Subject: [mapserver-users] Instalation problems...


> When trying to install mapserver 3.6.1,
> after all necesary  prerequisites,
> I found for
> ./configure --with-gd=/usr --with-postgis --with-gdal --with-proj \
>     --with-ogr --with-wmsclient
> the following
> 
> 
> 
> loading cache ./config.cache
> checking for gcc... (cached) 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... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for c++... (cached) 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++... (cached) yes
> checking whether c++ accepts -g... (cached) yes
> checking for ranlib... (cached) ranlib
> checking for flex... (cached) flex
> checking for yywrap in -lfl... (cached) yes
> checking for bison... (cached) bison -y
> checking if compiler supports -R... (cached) no
> checking if compiler supports -Wl,-rpath,... (cached) yes
> checking for exp in -lm... (cached) yes
> checking how to run the C preprocessor... (cached) gcc -E
> checking for ANSI C header files... (cached) yes
> checking for strcasecmp... (cached) yes
> checking for strncasecmp... (cached) yes
> checking for strdup... (cached) yes
> checking whether we should include JPEG support...
> checking for jpeg_read_header in -ljpeg... yes
>         using libjpeg from system libs.
> checking which version of GD to use...
>         using libgd from -L/usr/lib -lgd
> checking where FreeType 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 for gdImageGif in -lc... no
> checking for gdImagePng in -lc... no
> checking for gdImageJpeg in -lc... no
> checking for gdImageWBMP in -lc... no
> checking for gdImageStringFT in -lc... no
> checking for gdImageStringTTF in -lc... no
> checking for gdImageString16 in -lc... no
> checking for gdImageGifPtr in -lc... no
>         using GD ( -DUSE_GD_SWAP_XY) from /usr.
> checking whether we should include PDF support...
> checking for PDF_setlinewidth in -lpdf... no
> checking for PDF_setrgbcolor in -lpdf... no
> checking for PDF_moveto in -lpdf... no
> checking for PDF_curveto in -lpdf... no
> checking for PDF_show_xy in -lpdf... (cached) no
>         libpdf not found... PDF support not included.
> checking whether we should include TIFF support...
> checking for TIFFOpen in -ltiff... yes
>         using libtiff from system libs.
> checking whether we should include EPPL7 support...
>         including EPPL7 support.
> checking whether we should include PROJ.4 support...
> checking for pj_init in -lproj... yes
> checking for pj_transform in -lproj... yes
> checking for pj_latlong_from_proj in -lproj... yes
>         using PROJ.4 from system libs.
> checking whether we should include thread safe support...
>         thread safe support disabled.
> checking whether we should include ESRI SDE support...
>         ESRI SDE support not requested.
> checking whether we should compile in MPATROL support...
>         MPATROL support not requested.
> checking whether we should include OGR support...
> checking for gdal-config... (cached) /usr/local/bin/gdal-config
> checking for OGRRegisterAll in -lgdal.1.1... (cached) yes
>         using OGR from system libs.
> checking if GDAL support requested... yes
> checking if PostGIS support requested... yes
> checking for pg_config... (cached) /usr/local/pgsql/bin/pg_config
> yes, user supplied pg_config
> checking if OracleSpatial support requested... no
> checking whether we should include WMS support...
>         OGC WMS compatibility enabled (-DUSE_WMS).
> checking whether we should include WMS Client Connections support...
> checking for libwww-config... (cached) /usr/local/bin/libwww-config
>         found libwww version 5.4.0
>         OGC WMS Client Connections enabled (-DUSE_WMS_LYR).
> checking for potential conflict between system regex and rxposix...
> checking for regexec in -lrx... (cached) no
> Compiling with -DIGNORE_MISSING_DATA.
> checking whether we should enable debug features...
> checking for PHP/MapScript module options...
>         PHP/MapScript module not configured.
> creating ./config.status
> creating Makefile
> 
> 
> 
> but make ... resulsts as
> 
> gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ 
> -DUSE_PROJ_API_H -DUSE_WMS -DUSE_WMS_LYR  -DUSE_TIFF -DUSE_JPEG 
> -DUSE_GD_SWAP_XY   -DUSE_OGR -DUSE_GDAL -DUSE_POSTGIS   
> -I/usr/include         -I/usr/local/include -I/usr/local/include 
> -I/usr/local/pgsql/include -I/usr/local/include 
> -I/usr/local/include/w3c-libwww -DHAVE_CONFIG_H  shp2img.o  -L. -lmap 
> -L/usr/lib -lgd -ljpeg -lfreetype -lpng -lz  -ltiff -ljpeg -lfreetype 
> -lpng -lz -lproj -ljpeg   -L/usr/local/lib -lgdal.1.1  
> -L/usr/local/pgsql/lib -lpq -L/usr/local/lib -lwwwxml -lxmltok 
> -lxmlparse -lwwwinit -lwwwapp -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp 
> -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream 
> -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl    -lm   -o shp2img
> 
> 
> /usr/lib/libwwwapp.so: undefined reference to `HTZLib_inflate'
> /usr/lib/libgd.so: undefined reference to `XpmReadFileToXpmImage'
> collect2: ld returned 1 exit status
> make: *** [shp2img] Error 1
> 
> HTZLib_inflate I can avoid,
> but I really can't do anything with libgd.so ..
> 
> Any ideas?
> 
> TIA
> 
> 
> -- 
> ----------------------------
> Dragos Lipan
> TI
> Parcul National Piatra Craiului
> 2223 Zarnesti
> Str. Raului. 27
> Tel/fax (04)(068)223008
> dlipan at pcrai.ro
> 
> 
> 



More information about the mapserver-users mailing list