<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hi Devs,<br>
    Sorted!<br>
    <br>
    The correct folder(s) were:  -with-postgres-includes=<b>/usr/include/postgresql</b>
    --with-freetype-includes=<b>/usr/include/freetype2</b><br>
    (Had to add the freetype include folder as well)<br>
    <br>
    Apologies for the 'noise'.<br>
    <br>
    Regards,<br>
    Zoltan<br>
    <p><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 2021/06/19 11:32, Zoltan wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:7d203ba3-eae2-5c1e-9f26-4d9cbb07861c@geograph.co.za">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      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/"
        moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">www.geograph.co.za</a>
=============================================
</pre>
    </blockquote>
    <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>