[Mapserver-users] mapserver compilation issues w/PHP
Nick Petersen-Bergeron
bergeron at zedxinc.com
Wed Aug 13 07:07:46 PDT 2003
I'm trying to get mapserver-3.6.1 compiled with PHP 4.3.2. PHP is compiled
and is working fine with the following configuration options
'./configure' '--with-mysql' '--with-dbase' '--with-regex=system'
'--with-gd' '--with-zlib' (without the quotes, obviously)
Here's my mapserver configuration line:
./configure --without-tiff --with-proj --with-gdal --with-ogr --with-jpeg
--with-php=/usr/local/src/php-4.3.2
The configuration runs fine, but the make produces the following error:
Entering directory `/usr/local/src/mapserver-3.6.1/mapscript/php3'
gcc gcc -I. -I.. -fPIC -O2 -Wall -DCOMPILE_DL=1 -DPHP4
-DUSE_WMS -DUSE_GDAL -DUSE_OGR -DUSE_PROJ -DUSE_PROJ_API_H
-DUSE_EPPL -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DUSE_JPEG -I/usr/local/src/mapserver-3.6.1 -I/usr/local/include
-I/usr/local/include -I/usr/include -I/usr/local/src/php-4.3.2
-I/usr/local/src/php-4.3.2/dl -I/usr/local/src/php-4.3.2/main
-I/usr/local/src/php-4.3.2/Zend -I/usr/local/src/php-4.3.2/include
-I/usr/local/src/php-4.3.2/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/src/mapserver-3.6.1/mapscript/php3'
Any ideas?
Nick Petersen-Bergeron
System Administrator
ZedX Inc.
369 Rolling Ridge Drive
Bellefonte, PA. 16823
More information about the MapServer-users
mailing list