[mapserver-dev] error in php_mapscript_util.c

Ivo Karabojkov karabojkov at kit-bg.com
Sun Jun 17 12:13:00 PDT 2012


Almost same for me. I am trying to compile form PORTS on freeBSD 9.0, PHP
version 5.4.3
Ported version of MapServer is mapserver-6.0.1_5
The error is the same:
...
cc -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -Wall  -DNDEBUG 
-DUSE_PHP_REGEX -DCOMPILE_DL=1  -DUSE_WMS_SVR   -DUSE_POSTGIS
-DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL -DUSE_OGR -DUSE_GEOS   -DUSE_PROJ
-DUSE_AGG_SVG_SYMBOLS    -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR
-DGD_HAS_GETBITMAPFONTS -DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_GIF
-DUSE_PNG -DUSE_ZLIB -DUSE_FREETYPE 
-I/usr/ports/graphics/mapserver/work/mapserver-6.0.1         
-I/usr/local/include -I/usr/local/include -I/usr/local/include 
-I/usr/local/include -Irenderers/agg/include  -Irenderers/agg/include  
-I/usr/local/include  -I/usr/local/include -I/usr/local/include 
-I/usr/local/include/freetype2 -I/usr/local/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 
-I/usr/local/include/php//ext/ereg/ -c -o php_mapscript_util.o
php_mapscript_util.c
php_mapscript_util.c: In function 'mapscript_object_new':
php_mapscript_util.c:45: error: 'zend_class_entry' has no member named
'default_properties'
php_mapscript_util.c: In function 'mapscript_object_new_ex':
php_mapscript_util.c:62: error: 'zend_class_entry' has no member named
'default_properties'
gmake[1]: *** [php_mapscript_util.o] Error 1
...

Is there any way to fix this?

Thanks in advance!


--
View this message in context: http://osgeo-org.1560.n6.nabble.com/error-in-php-mapscript-util-c-tp4654681p4981959.html
Sent from the Mapserver - Dev mailing list archive at Nabble.com.


More information about the mapserver-dev mailing list