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

2014-10-13 Thread Rémi Cura
Hey,
Thanks for the help !

I started from a fresh git clone,
it compiled fine using the regular autotools.
Again from fresh git clone, cmake works fine.
It seems the bug is produced by
_ mixing autotools and cmake
_using a virtual box shared folder filesystem

So anybody using virtualbox shared file system must be careful (performance
hit is about 2 time also).

Cheers,
Rémi-C

2014-10-10 18:32 GMT+02:00 Eli Adam ea...@co.lincoln.or.us:

  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@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/gdal-dev

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

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

2014-10-10 Thread Rémi Cura
Hello everybody.

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?
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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

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

2014-10-10 Thread Eli Adam
 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@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/gdal-dev
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev