[mapserver-users] compiling mapscript error

David Armstrong david.armstrong at ntlworld.com
Wed Aug 21 10:50:09 EDT 2002


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       
-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