make problem mapscript

joerg p superbla3000 at GMX.NET
Fri Sep 10 15:31:50 EDT 2004


It's not so easy getting it to work on linux.....

I have compiled mapserver with mapscript. First irritating thing when I
compile:
checking whether we have PHP3 or PHP4... -DPHP4
checking whether we should use PHP's regex... no
        PHP/MapScript module configured.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mapscript/php3/Makefile

So it says it finds PHP4 but creates directory php3.hmmm...????

And then, when I make mapserver:

make[1]: Entering directory `/home/JP/sw/mapserver-4.2.2/mapscript/php3'
gcc -fPIC -O2  -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_WMS_SVR
-DUSE_POSTGIS  -DUSE_GDAL     -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_EPPL
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-I/home/JP/sw/mapserver-4.2.2     -I/usr/include/pgsql  -I/usr/include
-I/usr/include  -I/usr/local/include/php/ -I/usr/local/include/php//dl
-I/usr/local/include/php//main -I/usr/local/include/php//Zend
-I/usr/local/include/php//include -I/usr/local/include/php//TSRM  -c -o
php_mapscript_util.o php_mapscript_util.c
php_mapscript_util.c: In function `_phpms_fetch_handle2':
php_mapscript_util.c:153: warning: dereferencing type-punned pointer
will break strict-aliasing rules
php_mapscript_util.c: In function `_phpms_fetch_property_handle2':
php_mapscript_util.c:205: warning: dereferencing type-punned pointer
will break strict-aliasing rules
php_mapscript_util.c: In function `_phpms_fetch_property_string':
php_mapscript_util.c:252: warning: dereferencing type-punned pointer
will break strict-aliasing rules
php_mapscript_util.c: In function `_phpms_fetch_property_long':
php_mapscript_util.c:278: warning: dereferencing type-punned pointer
will break strict-aliasing rules
php_mapscript_util.c: In function `_phpms_fetch_property_double':
php_mapscript_util.c:311: warning: dereferencing type-punned pointer
will break strict-aliasing rules
php_mapscript_util.c: In function `_phpms_fetch_property_resource':

And so on......

What does this mean?

Thanks
Joerg



More information about the mapserver-users mailing list