[Mapserver-users] Map Server compile problem

Eric Wright eric.linux at shaw.ca
Wed Feb 25 19:27:26 PST 2004


Thank you for your help Frank, 

Before I looked through the make file I had changed the ./configure to use the --without-tiff parameter, after which, runnning the make worked.

Thanks again, Eric

----- Original Message -----
From: Frank Warmerdam <warmerdam at pobox.com>
Date: Wednesday, February 25, 2004 3:38 pm
Subject: Re: [Mapserver-users] Map Server compile problem

> E Wright wrote:
> > Map Server compile problem.
> > 
> > Good evening, I am trying to install the MapServer using the 
> following 
> > configure:
> > 
> > ./configure --with-gd=/usr/software/mapServer/gd-2.0.21 
> > --with-tiff=/usr/software/mapServer/tiff-v3.6.1 
> > --with-proj=/usr/software/mapServer/proj-4.4.7 
> > --with-ogr=/usr/local/bin/gdal-config 
> > --with-gdal=/usr/local/bin/gdal-config  
> > --with-postgis=/usr/local/pgsql/include/pg_config --with-wfs 
> > --with-curl=/usr/software/mapServer/curl-7.10.8/curl-config
> > 
> > This seems to run fine but when I try to run the make command I 
> get the 
> > following error:
> > 
> > gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ 
> > -DUSE_PROJ_API_H -DUSE_WMS_SVR  -DUSE_WFS_SVR    -DUSE_TIFF -
> DUSE_JPEG 
> > -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT   -DUSE_OGR 
> > -DUSE_GDAL -DUSE_POSTGIS    -I/usr/software/mapServer/gd-2.0.21  
> > -I/usr/software/mapServer/proj-4.4.7/src 
> > -I/usr/software/mapServer/tiff-v3.6.1/libtiff      -
> I/usr/local/include 
> > -I/usr/local/include -I     maptemplate.c -o maptemplate.o
> > gcc: no input files
> > make: *** [maptemplate.o] Error 1
> > 
> > I am fairly new to using Linux so I am not always too sure what 
> > something is trying to tell me.
> > Any help that anyone can provide will be greatly appreciated.
> 
> E,
> 
> I think the problem is that "-I maptemplate.c" is causing the 
> maptemplate.cfilename to be "eaten" as part of the -I directive.   
> Try editing your
> Makefile, and searching for where a -I directive is setup with no 
> argumenttext.  Then remove the -I.
> 
> This shouldn't happen of course.  Your configure line looks ok.  If 
> you can
> report which macro was assigned this value we might be able to make 
> theconfigure more bulletproof.
> 
> PS. There isn't really that much benefit to having TIFF support 
> configuredin directly if you are also using GDAL.  You might want 
> to change
> --with-tiff=/usr/software/mapServer/tiff-v3.6.1 to --without-tiff.  
> TIFFfiles will still be supported, just through GDAL.
> 
> Best regards,
> -- 
> ---------------------------------------+----------------------------
> ----------
> I set the clouds in motion - turn up   | Frank Warmerdam, 
> warmerdam at pobox.comlight and sound - activate the windows | 
> http://pobox.com/~warmerdamand watch the world go round - Rush    | 
> Geospatial Programmer for Rent
> 
> 




More information about the MapServer-users mailing list