[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building PostgreSQL support
From: |
Sergey Poznyakoff |
Subject: |
Re: Building PostgreSQL support |
Date: |
Tue, 09 Feb 2021 19:08:36 +0200 |
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