<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hi,<br>
    I'm having trouble with:<br>
    ./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/<br>
    .<br>
    .<br>
    .<br>
    checking for png_read_image in -lpng... yes<br>
    checking whether to use PostgreSQL... yes<br>
    checking for location of PostgreSQL includes...
    /home/zls/dev/postgresql-13.3/src/interfaces/libpq/<br>
    checking for libpq-fe.h... no<br>
    <b>configure: error: *** Unable to locate PostgreSQL includes.</b><br>
    <br>
    I tried various folders and then downloaded/unzipped
    <a class="moz-txt-link-freetext" href="https://www.postgresql.org/ftp/source/v13.3/">https://www.postgresql.org/ftp/source/v13.3/</a> <b>postgresql-13.3.tar.bz2</b><br>
    into my dev folder - but still get the above 'includes' error.<br>
    <br>
    I'm working on Ubuntu 20.04 and downloaded GRASS src as follows: <br>
    <br>
    zls@ZolAW17ubuntu:~/dev$ git clone
    <a class="moz-txt-link-freetext" href="https://github.com/OSGeo/grass.git">https://github.com/OSGeo/grass.git</a> grass-latest_20210619.git<br>
    then cd grass-latest_20210619.git and ./configure (as above)<br>
    <br>
    Thanks in advance,<br>
    Zoltan<br>
    <p><br>
    </p>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 

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

Cape Town, South Africa.

Mobile: +27-83-6004028 (Signal, not WhatsApp)
<a class="moz-txt-link-abbreviated" href="http://www.geograph.co.za">www.geograph.co.za</a>
=============================================
</pre>
  </body>
</html>