[mapserver-users] Fwd: php mapscript compile error
Stephen Woodbridge
woodbri at swoodbridge.com
Thu Mar 21 04:40:03 PST 2002
Vincent,
Notice the "cc cc -I" below, this is a know bug, you need to edit you
Makefile and remove the extra "cc"
Also mapscript does NOT compile and work with PHP-4.1.1 you must use
4.0.6 until DM Solutions release an updated version.
-Steve W.
Vincent Schut wrote:
>
> 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