Opened 13 years ago

Closed 13 years ago

#3883 closed defect (fixed)

gdal=1.7.3 gdal_wrap.cpp gives a compile error

Reported by: mapsurfer Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

I create this ticket as a last resort, but (for many hours) I have been trying to compile gdal-1.7.3 on CentOS 5.5 (very similar to Redhat) but I am getting stuck with this error:

gdal_wrap.cpp:867: error: zend_property_reference was not declared in this scope gdal_wrap.cpp:867: error: property_reference was not declared in this scope gdal_wrap.cpp:867: error: expected primary-expression before token gdal_wrap.cpp:867: error: value was not declared in this scope gdal_wrap.cpp:867: error: initializer expression list treated as compound expression

Any ideas? Thanks.

Change History (2)

comment:1 by Even Rouault, 13 years ago

Sounds like it is related to the PHP bindings ? If so, they are indeed quite likely broken as there's no GDAL maintener for them. If you don't need them, don't try building them. I have no more usefull advice.

comment:2 by mapsurfer, 13 years ago

Resolution: fixed
Status: newclosed

Ah yes, that seems to be the problem... removed the php binding and all is good. Thanks for the clue.

Note: See TracTickets for help on using tickets.