[Mapserver-users] Please help again

Steffen Gebhardt steffen.gebhardt at informus.de
Fri Aug 22 08:43:19 EDT 2003


Still I'm trying to install Mapserver 4.0 on Suse Linux 7.3

I Installed all required libraries and now want to install the Mapserver 
finally. This is the conifugration.

./configure --with-gd=/tmp/unpacked/gd-2.0.15 
--with-proj=/tmp/unpacked/proj-4.4.7 
--with-postgis=/usr/src/postgresql-7.1.3/src/postgis-0.6.2 
--with-gdal=/usr/local/bin/gdal-config


Maybe it will be helpfull for you to look at the output. I will attach it at 
the end of the message.

Then I've done: make

make
gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ 
-DUSE_PROJ_API_H -DUSE_WMS_SVR      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG 
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_PDF   -DUSE_GDAL -DUSE_POSTGIS  
  -I/tmp/unpacked/gd-2.0.15  -I/tmp/unpacked/proj-4.4.7/src        
-I/usr/local/include -I     maphash.c -o maphash.o
gcc: No input files
make: *** [maphash.o] Error 1


Steffen Macke told me that the -l requires a parameter, and suggested to 
replace it by:
gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ 
-DUSE_PROJ_API_H -DUSE_WMS_SVR      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG 
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_PDF   -DUSE_GDAL -DUSE_POSTGIS  
  -I/tmp/unpacked/gd-2.0.15  -I/tmp/unpacked/proj-4.4.7/src        
-I/usr/local/include -I  .   maphash.c -o maphash.o

This is running, but make install doesn't create the mapserv file. So after 
configuring again and trying make, the error message comes again, but this 
time the next .o object is missing.

What does all that mean? And what do I have to do? Please, please Help Me.

Steffen




Configure output.
mfa1:/tmp/unpacked/mapserver-4.0 # ./configure 
--with-gd=/tmp/unpacked/gd-2.0.15 --with-proj=/tmp/unpacked/proj-4.4.7 
--with-postgis=/usr/src/postgresql-7.1.3/src/postgis-0.6.2 
--with-gdal=/usr/local/bin/gdal-config
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... no
checking for byacc... no
checking if compiler supports -R... (cached) no
checking if compiler supports -Wl,-rpath,... (cached) yes
checking for exp in -lm... (cached) yes
checking for __gxx_personality_v0 in -lstdc++... (cached) no
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 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
        using libgd 2.0.12 (or higher) from -L/tmp/unpacked/gd-2.0.15/.libs 
-lgd -ljpeg -lfreetype -lpng -lz
checking for gdImageGif in -lc... no
checking for gdImagePng in -lc... yes
checking for gdImageJpeg in -lc... yes
checking for gdImageWBMP in -lc... yes
checking for gdImageStringFT in -lc... yes
checking for gdImageGifPtr in -lc... no
        using GD ( -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT) from 
/tmp/unpacked/gd-2.0.15.
checking whether we should include PDF support...
checking for PDF_setlinewidth in -lpdf... yes
checking for PDF_setrgbcolor in -lpdf... yes
checking for PDF_moveto in -lpdf... yes
checking for PDF_curveto in -lpdf... yes
checking for PDF_show_xy in -lpdf... yes
        using libpdf from system libs.
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_transform in -lproj... yes
checking for pj_latlong_from_proj in -lproj... yes
        using PROJ.4 from /tmp/unpacked/proj-4.4.7.
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...
        OGR support not requested.
checking if GDAL support requested... yes, user supplied gdal-config 
(/usr/local/bin/gdal-config)
checking if PostGIS support requested... yes, user supplied pg_config
./configure: /usr/src/postgresql-7.1.3/src/postgis-0.6.2: is a directory
./configure: /usr/src/postgresql-7.1.3/src/postgis-0.6.2: is a directory
checking if MyGIS support requested... no
checking if OracleSpatial support requested... no
checking if MING/Flash support requested... no
checking whether we should include WMS Server support...
        OGC WMS compatibility enabled (-DUSE_WMS_SVR).
checking whether we should include WFS Server support...
        OGC WFS Server support not requested.
checking whether we should include WMS Client Connections support...
checking whether we should include WFS Client Connections support...
        OGC WFS Client Connections not enabled (PROJ.4, libcurl and OGR 
required).
checking for curl-config
Compiling with -DIGNORE_MISSING_DATA.
checking whether we should enable debug features...
checking for PHP/MapScript module options...
        PHP/MapScript module not configured.
updating cache ./config.cache
creating ./config.status
creating Makefile



More information about the mapserver-users mailing list