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

2015-01-14 Thread h
On Sun, 11 Jan 2015 17:34:57 +1100
h  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@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
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


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

2015-01-14 Thread Otto Dassau


Am Wed, 14 Jan 2015 20:19:47 +1100
schrieb h :

> On Sun, 11 Jan 2015 17:34:57 +1100
> h  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@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

Hi,

the POSTGRES_LIBRARY path to libpq.so is /usr/lib64/libpq.so. You need to
adapt that.

Regards
Otto
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer