IITDBGroup / gprom

GProM is a middleware that adds support for provenance to database backends.
http://www.cs.iit.edu/%7edbgroup/research/gprom.php
Apache License 2.0
8 stars 5 forks source link

problem in configure #61

Closed xiaoyingz closed 3 years ago

xiaoyingz commented 3 years ago

I'm trying to install gprom with option of postgresql backend. I've installed all dependencies including libpq-dev. But after I ran command ./configure --with-libpq=/usr/include/postgresql --disable-oracle, I got error saying Unable to find PostgreSQL libpq-fe.h, but there is a libpq-fe.h in the directory.

Screen Shot 2020-08-03 at 6 31 15 PM

Does any one know how to solve this problem?

lordpretzel commented 3 years ago

Hi,

can you try telling GProM where the Postgres headers are by adding the following option to configure:

./configure --with-libpq=/usr/include/postgresql --disable-oracle --with-libpq-headers=THE_LOCATION_OF_POSTGRES_HEADERS
lordpretzel commented 3 years ago

BTW, --with-libpq should point to the directory with libpq.so not the directory with the headers

xiaoyingz commented 3 years ago

Thanks for your help! But I received a BUILD FAILED error, is the website for receiving the request still available?

Screen Shot 2020-08-03 at 9 31 00 PM
lordpretzel commented 3 years ago

oh, we were aware of this bug (this is for GProM's java bindings. Should be an easy fix, just have to get around to get it done. Until then, if you do not need the Java bindings, add the following to configure

--disable-java