[gdal-dev] GDAl no more compiling on Ubunut 12.0.4

Eli Adam eadam at co.lincoln.or.us
Fri Oct 10 09:32:57 PDT 2014


> It compiled GDAL on Ubuntu 12.0.4 LTS about 6 months ago.
> Today I updated the git sources,
> a new error at the very beginning of compilation stops everything
>
> "Configure" seems to have changed a lot.
> Any suggestions?

I can compile svn trunk on 12.04 as of today.  I started with a make
clean and then this is my configure:

./configure --with-poppler --with-spatialite=yes --with-java=yes
--with-mdb=yes --with-python --with-curl --with-expat --with-libkml

make clean might help.  There are a lot of different libraries which
can be internal or external and many combinations to test so not sure
how similar my setup is to yours.

Best regards, Eli


> Cheers,
> Rémi-C
>
> //////////error//////////
> In file included from cpl_conv.h:35:0,
>                  from cpl_conv.cpp:33:
> cpl_port.h:89:2: error: #error "Unexpected value for SIZEOF_INT"
> cpl_port.h:93:2: error: #error "Unexpected value for SIZEOF_UNSIGNED_LONG"
> cpl_port.h:97:2: error: #error "Unexpected value for SIZEOF_VOIDP"
> ////////////
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list