Hello together,
I tried to reinstall gdal with grass-support.
Because I am using gdal also for other purposes, I need to get it to work with xerces-c.
When I do it like this:
./configure --prefix=/usr --with-libtiff=yes --with-geotiff=yes --with-png=internal --with-jpgeg=internal --with-grass=/usr/grass-5.7.0 --with-xerces --with-xerces-inc=/usr/include/xercesc --with-xerces-lib="-L/usr/lib -lxerces-c -lpthread"
Following error occurs:
------------------------------------------
...
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgrass5
collect2: ld returned 1 exit status
configure: error: Please correct Xerces options, or don't enable Xerces.
------------------------------------------
So to give it a chance I tried to install it without xerces and also with and without the patches
http://qgis.org/gdal_grass_patch.tar.gz
Both compilations finish with errors.
So after that I additionally added libgrass5 to my libs (http://gdal.velocet.ca/projects/grass/)
and now the compilation ends up successfully - also within xerces-c!
My question is: Is it dangerous to use librass5 with grass-5.7.0? Are there changes, that might corrupt my data?
greetings
Martin