Compile error
Vito De Toma - CED-
vito.detoma at COMUNE.BIELLA.IT
Wed Jul 20 03:15:28 PDT 2005
I'm trying to compile mapserver 4.6.0 but i've an error when i type
make.The error is
"php_mapscript.c: In function `php3_ms_img_saveImage':
php_mapscript.c:6007: error: too many arguments to function `php_header'
make[1]: *** [php_mapscript.o] Error 1
make[1]: Leaving directory `/root/mapserver-4.6.0/mapscript/php3'"
Can anyone help me????
My linuxbox is a debian stable with kernel 2.6.8.2.
I compile php4 with : "./configure --prefix=/usr --with-gd --with-mysql
--enable-ftp --enable-force-cgi-redirect --with-ttf --with-jpeg
--with-png --enable-gd-native-ttf --enable-dbase --enable-dba
--with-dbase --with-zlib --with-freetype --enable-cli
--with-apxs2=/usr/bin/apxs2 --with-config-file-path=/etc/php4/apache2
--enable-memory-limit --disable-debug --with-regex=php --disable-rpath
--disable-static --with-pic --with-layout=GNU --with-pear=/usr/share/php
--enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg
--enable-track-vars --enable-trans-sid --enable-bcmath --with-bz2
--enable-ctype --with-db4 --with-iconv --enable-exif --enable-filepro
--with-gettex --enable-mbstring --with-pcre-regex=/usr --enable-shmop
--enable-sockets --enable-wddx --disable-xml --with-expath-dir=/usr
--with-xmlrpc --enable-yp --with-pgsql --with-kerberos=/usr
--with-openssl=/usr --with-zip=/usr --enable-dbx
--with-mime-magic=/usr/share/misc/file/magic.mime
--with-exec-dir=/usr/lib/php4/libexec --with-t1lib=shared,/usr
--with-freetype-dir=shared,/usr --without-mm --without-sybase-ct" and
i've got no error...
I compile mapserver with:"./configure --with-gd --with-jpeg --with-png
--with-php=/root/php-4.4.0/ --with-tiff --with-freetype --with-postgis
--with-proj --with-ogr --with-gdal" with no error but when i make i've
the error...
Sorry for my english, but i'm italian :):)
More information about the MapServer-users
mailing list