[gdal-dev] Error building gdal_wrap.cpp / GDAL 1.5.3
Eduardo Kanegae
ekanegae at gmail.com
Wed Nov 5 19:06:29 EST 2008
Hi folks,
during the "make" process of building GDAL 1.5.3 under CentOS 5 I´m
getting the following error:
-------------
[2]: Entering directory `/usr/src/mypacks/gdal-1.5.3/swig/php'
swig -Wall -I../include -I../include/php -I../include/php/docs
-I/usr/src/mypacks/gdal-1.5.3 -c++ -php -o gdal_wrap.cpp gdal.i
../include/Band.i:140: Warning(453): Can't apply
(IF_ERROR_RETURN_NONE). No typemaps are defined.
g++ -I../../port -I../../gcore -I../../alg -I../../ogr `php-config
--includes` -fpic -c gdal_wrap.cpp
gdal_wrap.cpp:1051: error: âzend_property_referenceâ was not declared
in this scope
gdal_wrap.cpp:1051: error: âproperty_referenceâ was not declared in this scope
gdal_wrap.cpp:1051: error: expected primary-expression before â*â token
gdal_wrap.cpp:1051: error: âvalueâ was not declared in this scope
----- [ lot of error lines ] ------
gdal_wrap.cpp:1053: error: âpval _wrap_propget_MajorObjectâ previously
declared here
gdal_wrap.cpp:3143: error: âzend_property_referenceâ was not declared
in this scope
gdal_wrap.cpp:3143: error: âproperty_referenceâ was not declared in this scope
make[2]: *** [gdal_wrap.o] Error 1
make[2]: Leaving directory `/usr/src/mypacks/gdal-1.5.3/swig/php'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/mypacks/gdal-1.5.3/swig'
-------
My configure script was ( using OpenMPI 1.2.8 compilers):
CC=/usr/local/bin/mpicc CXX=/usr/local/bin/mpicxx ./configure
--with-threads --with-libz=internal --with-pg=/usr/bin/pg_config
--with-pcraster=internal --with-netcdf=/usr --with-png=internal
--with-libtiff=internal --with-geotiff=internal --with-jpeg=internal
--with-gif=internal --with-ogdi=/usr --with-hdf5=/usr
--with-jasper=/usr --with-ecw=/usr/local --with-ogr
--with-mysql=/usr/bin/mysql_config --with-xerces=yes
--with-xerces-inc=/usr/local/include/xercesc --with-xerces-lib=/usr
--with-expat=yes --with-expat-inc=/usr --with-expat-lib=/lib
--with-odbc=/usr --with-curl=/usr/bin/curl-config --with-sqlite3=yes
--with-geos=/usr/local/bin/geos-config --with-perl --with-php
--without-ruby --with-python 2>&1 | tee configure.log
Does anybody has any suggestion?
best regards.
--
Eduardo Kanegae
http://anthologis.com
More information about the gdal-dev
mailing list