public inbox for [email protected]
help / color / mirror / Atom feedFrom: Moazzum Ali <[email protected]>
To: [email protected]
Subject: Psqlodbc build fails on linux
Date: Thu, 31 Aug 2023 06:28:06 +0500
Message-ID: <[email protected]> (raw)
Hi,
I am trying to build psqlodbc 15.00.0000 with PostgreSQL 16. Here are my commands:
./configure --with-libpq=/usr/pgsql-16/ --with-unixodbc=/usr/bin/odbc_config LD_LIBRARY_PATH=/usr/pgsql-16/lib/ --prefix=$PWD/out
make
make command fails with the following error:
In file included from connection.h:14,
from info.c:34:
/usr/pgsql-16/include/internal/pqexpbuffer.h:168:8: error: unknown type name 'bool'
extern bool appendPQExpBufferVA(PQExpBuffer str, const char *fmt, va_list args) pg_attribute_printf(2, 0);
One way to fix the error is to include the following line before #include "pqexpbuffer.h" in connection.h and statement.h
#include <stdbool.h>
Regards,
Moazzum
view thread (9+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: Psqlodbc build fails on linux
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox