Hi,
I'm having trouble with:
./configure --enable-64bit --enable-largefile --with-libs=/usr/lib64 --with-postgres=yes --with-odbc=yes --with-opencl=yes --with-gdal=/usr/local/bin/gdal-config -with-pdal=/usr/bin/pdal-config --with-postgres-includes=/home/zls/dev/postgresql-13.3/src/interfaces/libpq/
.
.
.
checking for png_read_image in -lpng... yes
checking whether to use PostgreSQL... yes
checking for location of PostgreSQL includes... /home/zls/dev/postgresql-13.3/src/interfaces/libpq/
checking for libpq-fe.h... no
*configure: error: *** Unable to locate PostgreSQL includes.*

I tried various folders and then downloaded/unzipped https://www.postgresql.org/ftp/source/v13.3/ *postgresql-13.3.tar.bz2*
into my dev folder - but still get the above 'includes' error.

I'm working on Ubuntu 20.04 and downloaded GRASS src as follows:

zls@ZolAW17ubuntu:~/dev$ git clone https://github.com/OSGeo/grass.git grass-latest_20210619.git
then cd grass-latest_20210619.git and ./configure (as above)

Thanks in advance,
Zoltan



--

=============================================
Zoltan Szecsei GPrGISc 0031
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

Cape Town, South Africa.

Mobile: +27-83-6004028 (Signal, not WhatsApp)
www.geograph.co.za
=============================================

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to