[mapserver-users] Problems with PHP module.

Chris Faulhaber jedgar at fxp.org
Thu Jun 28 06:54:04 EDT 2001


On Wed, Jun 27, 2001 at 09:05:56PM -0700, Beau Gunderson wrote:
> I get the following error:
> 
> gmake[1]: Entering directory `/usr/tmp/mapserver/mapscript/php3'
> cc undef  -I. -I.. -DPIC -fpic -O2  -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_WMS
     ^^^^^
> -DUSE_OGR   -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_EPPL -DUSE_JPEG -DUSE_TIFF
> -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT  -I/usr/tmp/mapserver
> -I/usr/tmp/gdal-1.1.5/ogr/ogrsf_frmts -I/usr/tmp/gdal-1.1.5/ogr
> -I/usr/tmp/gdal-1.1.5/ogr/../port   -I/usr/local/include
> -I/usr/local/include -I/usr/local/include -I/usr/local/include/gd
> -I/usr/tmp/php-4.0.6 -I/usr/tmp/php-4.0.6/dl -I/usr/tmp/php-4.0.6/main
> -I/usr/tmp/php-4.0.6/Zend -I/usr/tmp/php-4.0.6/include
> -I/usr/tmp/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
> gmake[1]: *** [php_mapscript_util.o] Error 1
> gmake[1]: Leaving directory `/usr/tmp/mapserver/mapscript/php3'
> 

Remove the 'undef' from the 'CC' line (configure seems to do odd
things with BSD systems).

-- 
Chris D. Faulhaber - jedgar at fxp.org - jedgar at FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20010628/c383f9ac/attachment.bin


More information about the mapserver-users mailing list