[mapserver-users] Compile problem PHP module
Doyon, Jean-Francois
Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Mon Aug 27 13:09:51 PDT 2001
Hello,
I'm trying to compile the very latest CVS mapserver on RedHat 7.1 with PHP
4.0.6 and get the following:
cc cc -I. -I.. -fpic -O2 -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_WMS
-DUSE_PROJ -DUSE_EPPL -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DUSE_JPEG
-I/usr/src/mapserver -I/usr/local/include
-I/usr/src/webserver/php-4.0.6/ -I/usr/src/webserver/php-4.0.6//dl
-I/usr/src/webserver/php-4.0.6//main -I/usr/src/webserver/php-4.0.6//Zend
-I/usr/src/webserver/php-4.0.6//include -I/usr/src/webserver/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: *** [php_mapscript_util.o] Error 1
My configure was this:
./configure --with-proj --with-php=/usr/src/webserver/php-4.0.6/
--with-apxs=/usr/local/apache/bin/apxs
The binary version compiled fine.
Has anyone else experienced this problem? This is kind of urgent :)
Thanks!
Jean-François Doyon
Internet Service Development and Systems Support
GeoAccess Division
Canadian Center for Remote Sensing
Natural Resources Canada
http://atlas.gc.ca
Phone: (613) 992-4902
Fax: (613) 947-2410
More information about the MapServer-users
mailing list