pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
to recompile or not recompile postgres
2+ messages / 2 participants
[nested] [flat]

* to recompile or not recompile postgres
@ 2002-06-21 21:20  Mark Tessier <mt@open2web.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Mark Tessier @ 2002-06-21 21:20 UTC (permalink / raw)
  To: pgsql-admin

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. My question is: do I need to recompile postgres to create the /usr/include/pgsql directory and all its contents, and if yes, is it possible to do it without losing what I've done so far--ie., dbs, users I've already created.

-- 
Thanks,

Mark



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: to recompile or not recompile postgres
@ 2002-06-22 21:34  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Mark Tessier <mt@open2web.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2002-06-22 21:34 UTC (permalink / raw)
  To: Mark Tessier <mt@open2web.com>; +Cc: 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-06-22 21:34 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-06-21 21:20 to recompile or not recompile postgres Mark Tessier <mt@open2web.com>
2002-06-22 21:34 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox