Sorry, sent too quickly. I was going to say I'm not sure why I had to set the flag for spatialite, as https://www.gaia-gis.it/fossil/libspatialite/wiki?name=PROJ.6 implies that it is no longer required. But I was definitely getting an error on a checkout from the fossil build from one of the files in the gaiageo directory, so it's possible this support is not complete yet. Spatialite being a bit of a perennial laggard in terms of updates recently.
On Tue, Mar 31, 2020 at 2:06 PM Stephen Knox <[email protected]> wrote: > Hi Samweli, > > I was able to fix it last night with Proj 7 by doing the following (I have > a custom build of gdal, spatialite, qgis and proj): > > - purge all libproj < 19 from /usr/local/lib or wherever your custom files > are kept > - Compile and install proj 7 > - Recompile libspatialite against proj 7 (to do that I not only had to > specify the location for proj as above, but also set the > CFLAGS"-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1" in configure > - Recompile gdal against new libspatialite and proj7 > - Finally recompile QGIS > > On Tue, Mar 31, 2020 at 12:49 PM Samweli <[email protected]> wrote: > >> Hi Stephen, >> >> Thanks a lot for your help, I have downgraded to PROJ 6.3.1 by installing >> it >> from source. Now I get this error >> >> [ 39%] Built target pyqtcompat >> make[2]: *** No rule to make target >> '/usr/lib/x86_64-linux-gnu/libspatialite.so', needed by >> 'output/lib/libqgis_core.so.3.13.0'. Stop. >> CMakeFiles/Makefile2:1320: recipe for target >> 'src/core/CMakeFiles/qgis_core.dir/all' failed >> make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2 >> Makefile:162: recipe for target 'all' failed >> make: *** [all] Error 2 >> >> When I try to install libspatialite, it also installs PROJ 7, causing to >> revert to the previous "invalid pointer" error!! >> >> >> >> >> >> -- >> Sent from: >> http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html >> _______________________________________________ >> QGIS-Developer mailing list >> [email protected] >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer > >
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
