[mapserver-users] oraclespatial query through CGI

Yu-Hsin Chen ychen at yorktel.com
Sun Apr 21 14:53:10 PDT 2002


PK:

I'm using mapscript with Perl because I'm having trouble with my PHP.  Given a little more time I'll try to resolve my PHP and Oracle issue (not related with Mapserver).  Sorry can't be any assistance right now.

Yu-Hsin Chen


-----Original Message-----
From:	Puneet Kishor [mailto:pkishor at GeoAnalytics.com]
Sent:	Sun 4/21/2002 1:31 AM
To:	mapserver-users at lists.gis.umn.edu
Cc:	
Subject:	Re: [mapserver-users] oraclespatial query through CGI

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