[Qgis-developer] cannot compile qgis on opensuse 13.2 (64 bit) **newbie** **Fixed

h hdixon at bigpond.net.au
Wed Jan 14 01:19:47 PST 2015


On Sun, 11 Jan 2015 17:34:57 +1100
h <hdixon at bigpond.net.au> wrote:

> Hi,
> I have previously done compiles of qgis by following instructions
> similar to
> https://raw.githubusercontent.com/qgis/QGIS/master/INSTALL, with only
> minor trouble. I now have a new PC and new version opensuse - and I
> cannot work out why it is not compiling.
> 
> The error I get is:
> 
> make[2]: *** No rule to make target
> '/usr/lib/postgresql93/lib64/libpq.so', needed by
> 'output/lib/qgis/plugins/libpostgresprovider.so'.  Stop.
> CMakeFiles/Makefile2:1978: recipe for target
> 'src/providers/postgres/CMakeFiles/postgresprovider.dir/all' failed
> make[1]: ***
> [src/providers/postgres/CMakeFiles/postgresprovider.dir/all] Error 2
> 
> 
> My understanding is that libpq.so is part of postgres, and should not
> need to be built.
> In my install libpg.so is in /usr/lib64.
> 
> I have tried a number of different values for the POSTGRESQL_PREFIX
> value in ccmake, without any success.
> 
> Could someone please give me an idea how to get libpostgresprovider.so
> to build.
> 
> I do have an active postgres database which I have used to provide
> data to an installed version of qgis.
> 
> With thanks,
> H
> 
> 
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

A did a fetch on qgis, and had an update of my distro and now have a
completed build.

H


More information about the Qgis-developer mailing list