On 06/11/2014 02:20 PM, Volker Fröhlich wrote: > Am 2014-06-11 23:15, schrieb Volker Fröhlich: >> 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 >>> Qgis-user@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/qgis-user >>> >> >> Fedora 18 is out of maintenance! :) >> >> Fedora 20 has 2.2. Will that do? >> >> Volker > > Wait, Fedora 20 actually has 2.0. I was afraid to push 2.2 because of > some issues when opening 2.0 projects. However, you can install 2.2 in > Fedora 20: yum --enablerepo=updates-testing install qgis-whatever Unfortunately I'm stuck with 18 for awhile anyway. As I said I was able to build but modifying the cmake script seems bad and I assumed there was a better way.
What version of spatialite goes with 20? > > Volker > > _______________________________________________ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-user > _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user