[mapserver-users] Fwd: php mapscript compile error

Vincent Schut schut at GisSrv.IenD.wau.nl
Thu Mar 21 01:52:16 PST 2002


On Wed, 2002-03-20 at 18:01, Steve Lime wrote:

> Hello,
> 
> I'm using php 4.1.1 and apache, on linux station.
> When i try to compile mapserver with php mapscript enabled, i've this
> error:
> 
> make[1]: Entering directory
> `/home/mastre/mapserver_dev/mapscript/php3'
> cc  cc -I. -I.. -fPIC -O2  -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_EPPL
> -DUSE_TIFF   -DUSE_GD_GIF -DUSE_JPEG  -I/home/mastre/mapserver_dev
> -I/usr/include   -I/home/mastre/mapserver_dev/../php-4.1.1
> -I/home/mastre/mapserver_dev/../php-4.1.1/dl
> -I/home/mastre/mapserver_dev/../php-4.1.1/main
> -I/home/mastre/mapserver_dev/../php-4.1.1/Zend
> -I/home/mastre/mapserver_dev/../php-4.1.1/include
> -I/home/mastre/mapserver_dev/../php-4.1.1/TSRM  -c -o
> php_mapscript_util.o php_mapscript_util.c
> cc: cannot specify -o with -c or -S and multiple compilations
> make[1]: *** [php_mapscript_util.o] Error 1
> make[1]: Leaving directory `/home/mastre/mapserver_dev/mapscript/php3'
> 
> Do i must use only php 4.0.6 ?
> 
> thanks
> 
> mastre

I get the same error using php 4.0.6, so that can't be the problem...
Anybody has a hint?

Vincent
[mandrake linux 8.1, pentium 4]




More information about the MapServer-users mailing list