[GRASS-dev] compilation error gdal-grass plugin
Paulo van Breugel
p.vanbreugel at gmail.com
Thu Dec 26 07:42:38 PST 2019
Hi devs,
I just compiled grass 7.8.3dev (on Ubuntu 18.04) and am now trying to
compile the gdal-grass plugin (gdal-grass-2.4.3).
I am, however, getting the following error message:
```
paulo at Z600:~/Software/Linux/gdal-grass-2.4.3$ make
g++ -Wall -fPIC -DUSE_CPL
-DGRASS_GISBASE=\"/usr/local/grass78/grass78\" -I/usr/include/gdal
-I/usr/local/grass78/grass78/include -O2 -c -o ogrgrassdriver.o
ogrgrassdriver.cpp
In file included from /usr/local/grass78/grass78/include/grass/vect/digit.h:3:0,
from /usr/local/grass78/grass78/include/grass/vector.h:4,
from ogrgrass.h:41,
from ogrgrassdriver.cpp:29:
/usr/local/grass78/grass78/include/grass/vect/dig_structs.h:31:10:
fatal error: libpq-fe.h: No such file or directory
#include <libpq-fe.h>
^~~~~~~~~~~~
compilation terminated.
Makefile:43: recipe for target 'ogrgrassdriver.o' failed
make: *** [ogrgrassdriver.o] Error 1
paulo at Z600:~/Software/Linux/gdal-grass-2.4.3$
```
Looking for a solution, I find the suggestion to install libpq-dev,
but that library is installed already. Any suggestions what I may do
next?
Regards,
Paulo
More information about the grass-dev
mailing list