[Gdal-dev] build problems in ubuntu

Frank Warmerdam warmerdam at pobox.com
Mon Jul 10 13:36:35 EDT 2006


Ken-ichi Ueda wrote:
> Hi all,
> 
> I've been trying to get GDAL compiled in Ubuntu (Dapper) without much 
> success.  Here's what I've been getting with the CVS version from 7.10.06:
...
> [does alright, then tons of errors with gdal_wrap.cpp, ending in]
> 
> gdal_wrap.cpp:8726: error: expected primary-expression before ')' token
...
> I'm not really sure what's going on here, especially with Python not 
> working.  I have Python 2.4.3 and Ruby 1.8.4 installed.  I don't know if 
> anyone can explain what's going on, but I figured I'd document these 
> issues.

Ken-ichi,


Generally speaking it is the first error that matters most.  I *suspect*
it will be a report about Python.h not being found.  Is it possible that
you don't have a python-dev package installed?  The python include files
are required to build GDAL's Python bindings.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the Gdal-dev mailing list