[Mapserver-users] mapserver compilation issues w/PHP
Daniel Morissette
morissette at dmsolutions.ca
Wed Aug 13 11:14:06 PDT 2003
Nick Petersen-Bergeron wrote:
> 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'
>
If I remember well this is fixed in the latest 3.6.x ... upgrade to 3.6.6.
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list