[mapserver-users] Compile errors: mapscript_i.c PHP/Mapscript 3.6, PHP 4.1.2
Antti.Roppola at brs.gov.au
Antti.Roppola at brs.gov.au
Sun Jun 2 23:31:59 PDT 2002
Hi all,
My compile of 3.6 is bailing out when make gets to mapscript_i.c:903
"too few arguments to function msTransformShape". Has anyone struck
this error before and know how to resolve it?
TIA,
Antti
php_mapscript.c:4692: warning: implicit declaration of function `php_header'
cc -O2 -Dbool=char -DHAS_BOOL -D_REENTRANT -DDEBIAN -I/usr/local/include -I. -I.. -fPIC -O2 -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_WMS_LYR -DUSE_WMS -DUSE_GDAL -DUSE_OGR -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_EPPL -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_JPEG -I/usr/src/mapserver_3.6.020528 -I/usr/include/w3c-libwww -I/usr/include/libxml -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/src/php4-4.1.2 -I/usr/src/php4-4.1.2/dl -I/usr/src/php4-4.1.2/main -I/usr/src/php4-4.1.2/Zend -I/usr/src/php4-4.1.2/include -I/usr/src/php4-4.1.2/TSRM -c -o mapscript_i.o mapscript_i.c
mapscript_i.c: In function `shapefileObj_getTransformed':
mapscript_i.c:903: too few arguments to function `msTransformShape'
mapscript_i.c: At top level:
/usr/src/mapserver_3.6.020528/maptemplate.h:16: warning: `inchesPerUnit' defined but not used
make[1]: *** [mapscript_i.o] Error 1
make[1]: Leaving directory `/usr/src/mapserver_3.6.020528/mapscript/php3'
vitric:/usr/src/mapserver_3.6.020528#
PHP 4.1.2 is configured as:
./configure --with-mysql
--with-apxs
--with-regex=system
--with-pdflib
--with-postgresql
I am configuring Mapserver as:
./configure --with-gd
--without-tiff
--with-proj
--withogr
--with-gdal
--with-wmsclient
--with-php=/usr/src/php4-4.1.2
--witout-pdf
More information about the MapServer-users
mailing list