[mapserver-users] compiling mapscript error

woodbri at swoodbridge.com woodbri at swoodbridge.com
Wed Aug 21 11:10:20 EDT 2002


On 21 Aug 2002 at 15:50, David Armstrong wrote:

> ok i hold my hand up ! 
> can someone point out my possible error here 
> compiling new install under redhat 7.3 
> the only switches i used are --with-proj --with-php=/usr/include/php
> 
> snip>>
> cd mapscript/php3; make; cd ../..
> make[1]: Entering directory `/usr/local/mapserver-3.6.1/mapscript/php3'
> gcc  gcc -I. -I.. -fPIC -O2  -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_WMS  

   ^^^^^^^^^^  NOTICE double gcc gcc edit Makefile and remove one of 
these. This is a known problem, HOPEFULLY it will be fixed on the 
next release.
     
> -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_EPPL -DUSE_TIFF   -DUSE_GD_PNG 
> -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_JPEG  
> -I/usr/local/mapserver-3.6.1          -I/usr/include   -I/usr/include/php/ 
> -I/usr/include/php//dl -I/usr/include/php//main -I/usr/include/php//Zend 
> -I/usr/include/php//include -I/usr/include/php//TSRM  -c -o 
> php_mapscript_util.o php_mapscript_util.c
> gcc: cannot specify -o with -c or -S and multiple compilations
> make[1]: *** [php_mapscript_util.o] Error 1
> make[1]: Leaving directory `/usr/local/mapserver-3.6.1/mapscript/php3'
> [root at localhost mapserver-3.6.1]#
> 
> 
> regards
> Richard 
> 
> 
> 





More information about the mapserver-users mailing list