[mapserver-users] mapserver 3.6 compile error

Topan topan at 3wsi.com
Sat Jun 15 16:46:52 EDT 2002


need help on compiling mapserver 3.6
when i compile mapserver its always return error :

cd mapscript/php3; make; cd ../..
make[1]: Entering directory `/usr/local/src/mapserver-3.6.0/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/usr/local/src/mapserver-3.6.0       -I/usr/include -I/usr/include  
-I/usr/include -I/usr/include  -I/usr/local/src/mapserver-3.6.0/../php-4.2.0/ 
-I/usr/local/src/mapserver-3.6.0/../php-4.2.0//dl 
-I/usr/local/src/mapserver-3.6.0/../php-4.2.0//main 
-I/usr/local/src/mapserver-3.6.0/../php-4.2.0//Zend 
-I/usr/local/src/mapserver-3.6.0/../php-4.2.0//include 
-I/usr/local/src/mapserver-3.6.0/../php-4.2.0//TSRM -I/usr/include/apache-1.3 
-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 `/usr/local/src/mapserver-3.6.0/mapscript/php3'

i use debian  2.4.12-686 , php-4.2.0, apache 1.3.24. 

php configured with :
./configure --prefix=/usr --with-apxs=/usr/bin/apxs --with-regex=system 
--with-config-file-path=/etc/php4/apache --enable-dbase --with-png-dir=/usr 
--with-pgsql=/usr/local/pgsql --with-gd=/usr --with-freetype-dir=/usr 
--enable-gd-native-ttf --with-zlib-dir=/usr/lib --with-jpeg-dir=/usr 
--with-system-regex

mapserver-3.6 configured with :
./configure --with-tiff=/usr --with-jpeg=/usr --with-ttf=/usr 
--with-php=../php-4.2.0/ --with-apxs=/usr/bin/apxs --with-gd=/usr 
--with-zlib=/usr --with-png=/usr --with-proj=/usr --with-postgis=yes

before this installation i was use php-4.0.6 and mapserver 3.5.


topan



More information about the mapserver-users mailing list