[mapserver-users] compiling mapscript error
Paul Spencer
pagameba at magma.ca
Wed Aug 21 08:55:03 PDT 2002
David, check the makefile in mapscript/php3 and look for a gcc line that
has two gcc's:
gcc gcc .....
if you see this, remove one of the gcc. There was an error in the
configure script that is fixed in cvs.
Cheers,
Paul
--
Paul Spencer
Applications and Software Development
DM Solutions Group
David Armstrong wrote:
> ok i hold my hand up !
> can someone point out my possible error here
> compiling new install under redhat 7.3
> the only switches i used are --with-proj --with-php=/usr/include/php
>
> snip>>
> cd mapscript/php3; make; cd ../..
> make[1]: Entering directory `/usr/local/mapserver-3.6.1/mapscript/php3'
> gcc gcc -I. -I.. -fPIC -O2 -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_WMS
> -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_EPPL -DUSE_TIFF -DUSE_GD_PNG
> -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_JPEG
> -I/usr/local/mapserver-3.6.1 -I/usr/include -I/usr/include/php/
> -I/usr/include/php//dl -I/usr/include/php//main -I/usr/include/php//Zend
> -I/usr/include/php//include -I/usr/include/php//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/mapserver-3.6.1/mapscript/php3'
> [root at localhost mapserver-3.6.1]#
>
>
> regards
> Richard
>
>
>
More information about the MapServer-users
mailing list