Re: to recompile or not recompile postgres - Mailing list pgsql-admin

From Tom Lane
Subject Re: to recompile or not recompile postgres
Date
Msg-id 4685.1024781677@sss.pgh.pa.us
Whole thread Raw
In response to to recompile or not recompile postgres  (Mark Tessier <mt@open2web.com>)
List pgsql-admin
Mark Tessier <mt@open2web.com> writes:
> I just realized, after trying to compile a C++ script, that I forgot
> to compile the C++ interface library during the installation of
> postgres. At least I'm assuming this to be the case as
> /usr/include/pgsql -lpq++ doesn't exist.

The library file wouldn't be in /usr/include in any case; more likely
under /usr/lib or /usr/local/lib.

But in any case, you should be able to reconfigure with --with-CXX added
to whatever configure options you used before, rebuild, and then do
"make install" in just src/interfaces/libpq++ not the whole tree.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Robson Martins"
Date:
Subject: Restor only date
Next
From: "Peter Arzamendi"
Date:
Subject: Password recover