Re: [QGIS-Developer] QGIS build error in Ubuntu 18.04

2020-03-31 Thread Samweli
Stephen, thanks again, I was able to compile QGIS successfully after building libspatialite from source as you indicated. Many thanks, I truly appreciate your help in this!! -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] QGIS build error in Ubuntu 18.04

2020-03-31 Thread Sebastiaan Couwenberg
On 3/31/20 3:11 PM, Stephen Knox wrote: > 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

Re: [QGIS-Developer] QGIS build error in Ubuntu 18.04

2020-03-31 Thread Stephen Knox
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

Re: [QGIS-Developer] QGIS build error in Ubuntu 18.04

2020-03-31 Thread Stephen Knox
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

Re: [QGIS-Developer] QGIS build error in Ubuntu 18.04

2020-03-31 Thread Samweli
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.

Re: [QGIS-Developer] QGIS build error in Ubuntu 18.04

2020-03-30 Thread Stephen Knox
Hi Samweli, I had the same issue. I was also using PROJ 7, and getting an identical error. It looks like this issue might be related to this one: https://github.com/qgis/QGIS/issues/35195, so this looks unlikely to be an isolated issue. I was able to resolve by downgrading to PROJ 6.3.1, but

[QGIS-Developer] QGIS build error in Ubuntu 18.04

2020-03-30 Thread Samweli
Hi, Recently when I build QGIS from ubuntu 18.04 after an update on gdal libraries from ubuntu repositories, I get this error [ 67%] Running crssync free(): invalid pointer Aborted src/crssync/CMakeFiles/synccrsdb.dir/build.make:57: recipe for target 'src/crssync/CMakeFiles/synccrsdb' failed