[mapserver-users] 3.5 compile error with phpmapscript
Tri Agus Prayitno
milis at wakwaw.f2s.com
Fri Dec 21 23:35:35 PST 2001
Hi listers!
I've tried to compile mapserver 3.5 with Linux Mandrake 8.1 on Celeron 300,
128 MB RAM.
The Apache and php installed from rpm (Mandrake 8.1 default, also the
development package).
I have proj4 installed and want to have phpmapscript, so I do this to
compile:
#./configure --with-proj --with-php=/usr/include/php/main
--with-apache=/usr/include/apache
and I got this error message:
make[1]: Entering directory `/home/acuss/tmp/mapserver_3.5/mapscript/php3'
cc cc -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/home/acuss/tmp/mapserver_3.5 -I/usr/include
-I/usr/include/php/main -I/usr/include/php/main/dl
-I/usr/include/php/main/main -I/usr/include/php/main/Zend
-I/usr/include/php/main/include -I/usr/include/php/main/TSRM
-I/usr/include/apache -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/acuss/tmp/mapserver_3.5/mapscript/php3'
can anybody tell me what's wrong and what should I do.
thx
Tri Agus Prayitno
More information about the MapServer-users
mailing list