Am 2014-06-11 22:41, schrieb David J. Bakeman:
I am running qgis on a Fedora core 18 laptop. I run both the packcaged
qgis 1.8 and I build the development version.  Recently I wanted to use
spatialite version 4.1.1 instead of the 3.1 version packaged with
Fedora.  I successfully built both sqlite 3.8 and Spatialite 4.1.1.  I
built static libraries to avoid accidentally picking up the system
shared libraries. When I tried to configure qgis to use the new
libraries by changing the paths
SPATIALITE_INCLUDE_DIR/SPATIALITE_LIBRARY/SQLITE3_INCLUDE_DIR/SQLITE3_LIBRARY
but this didn't work.  The only way I was able to get it to work was to
modify the FindSPATIALITE.cmake script to the skip the library check and
to add -DSPATIALITE_VERSION_GE_4_0_0 to the CMAKE_CXX_FLAGS.

My question is should I have been able to just adjust the
spatialite/sqlite variables or is the way I did it the only way?


_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user


Fedora 18 is out of maintenance! :)

Fedora 20 has 2.2. Will that do?

Volker
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to