[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 
> -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 McKenna
MapServer Consulting and Training Services

More information about the mapserver-dev mailing list