Re: Building PostgreSQL support
Sergey Poznyakoff <[email protected]> Tue, 09 Feb 2021 19:08:36 +0200
| Newsgroups | gmane.comp.gnu.mailutils.bugs |
|---|---|
| Organization | GNU.org.ua |
| Message-ID | <[email protected]> |
Hi Jordi,
> "fatal error: libpq-fe.h: No such file or directory"
>
> Does anyone else compile PostgreSQL support in?
Yes, of course
> I find that this trivial patch fixes it, but I am puzzled that nobody
> else has stumbled upon this until now.
Probably because they read the README file, which says (lines 109-125):
--with-mysql
Equivalent to --with-sql=mysql
Note that depending on how your MySQL system is installed, this
may require adding appropriate directories to the library and
include paths, e.g.:
./configure LDFLAGS='-L/usr/local/mysql/lib' \
CPPFLAGS='-I/usr/local/mysql/include' --with-mysql
--with-postgres
Equivalent to --with-sql=postgres
You may have to explicitly specify LIBS and CPPFLAGS (see
above).
(end of quote)
Regards,
Sergey