[mapserver-users] php mapscript installer error 'zend_class_entry' has no member named 'default_properties'

Jeff McKenna jmckenna at gatewaygeomatics.com
Thu Jun 28 10:15:24 PDT 2012


On 12-06-28 1:54 PM, Ben Madin wrote:
> G'day all,
> 
> I'm building (or not) MapServer 6.0.1 on FreeBSD 8.2-RELEASE-p4 (amd64). php version is 5.4.4.
> 
> without php mapscript it builds fine, but with it enabled I get :
> 
> gmake[1]: Entering directory `/usr/ports/graphics/mapserver/work/mapserver-6.0.1/mapscript/php'
> cc -fPIC -pipe -g -fPIC -Wall   -DUSE_PHP_REGEX -DCOMPILE_DL=1  -DUSE_WMS_LYR -DUSE_WFS_LYR  -DUSE_LIBXML2 -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH   -DUSE_WFS_SVR -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/libxml2 -I/usr/local/include -I/usr/local/include   -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/loc
>  al/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
> gmake[1]: Leaving directory `/usr/ports/graphics/mapserver/work/mapserver-6.0.1/mapscript/php'
> 
> 
> I was wondering if anyone had any clues what it means, or better, how to get around it?
> 
> cheers

PHP MapScript support for PHP 5.4.x is fixed for the next release, but
you can manually make the changes (I did so for MS4W a month ago),
follow the changes in https://github.com/mapserver/mapserver/issues/4309

-jeff




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






More information about the mapserver-users mailing list