[mapserver-dev] error in php_mapscript_util.c

Jeff McKenna jmckenna at gatewaygeomatics.com
Mon Jun 18 06:36:10 PDT 2012


On 12-06-17 4:13 PM, Ivo Karabojkov wrote:
> 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!

Actually I fixed this about a month ago, you will have to use MapServer
git-master to get it for now though, as it will be in the upcoming 6.2
release.  If you want to test the changes please do so and provide
feedback at https://github.com/mapserver/mapserver/issues/4309

Thank you.

-jeff



-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




More information about the mapserver-dev mailing list