[mapserver-users] oraclespatial query through CGI

Puneet Kishor pkishor at GeoAnalytics.com
Sun Apr 21 01:31:34 EDT 2002


I am trying to build ms_3.5 with PHP 4.0.6. I have Apache 1.3.24 
compiled with apxs. When I `make' it churns for a while and then issues 
the following error...

cd mapscript/php3; make; cd ../..
cc  cc -I. -I..   -O2  -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_WMS     
-DUSE_PROJ -DUSE_PROJ_API_H -DUSE_EPPL    -DUSE_GD_PNG -DUSE_GD_JPEG 
-DUSE_GD_WBMP -DUSE_GD_FT -DUSE_JPEG  
-I/Users/pkishor/Projects/mapserver_3.5         -I/usr/local/include   
-I/Users/pkishor/Projects/php-4.0.6 
-I/Users/pkishor/Projects/php-4.0.6/dl 
-I/Users/pkishor/Projects/php-4.0.6/main 
-I/Users/pkishor/Projects/php-4.0.6/Zend 
-I/Users/pkishor/Projects/php-4.0.6/include 
-I/Users/pkishor/Projects/php-4.0.6/TSRM -I/usr/local/apache/include -c 
-o php_mapscript_util.o php_mapscript_util.c
cc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [php_mapscript_util.o] Error 1




mapserv itself gets compiled and is sitting in the mapserver src 
directory. Here is the version info

[localhost:~/Projects/mapserver_3.5] pkishor% ./mapserv -v
MapServer version 3.5 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ 
SUPPORTS=TTF SUPPORTS=WMS_SERVER INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE

It seems the error is only when building PHP/Mapscript module.

Any help will be much appreciated.

Tia,

pk/




More information about the mapserver-users mailing list