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

h hdixon at bigpond.net.au
Sat Jan 10 22:34:57 PST 2015


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





More information about the Qgis-developer mailing list