From: Michael Fuhr <mike@fuhr.org>
To: Sean Davis <sdavis2@mail.nih.gov>
Cc: pgsql-interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: DBD::Pg without Postgresql installed
Date: Thu, 16 Jun 2005 06:02:36 -0600
Message-ID: <20050616120236.GA65359@winnie.fuhr.org> (raw)
In-Reply-To: <f948bbe1ae89116347431fac5edf5f21@mail.nih.gov>
References: <f948bbe1ae89116347431fac5edf5f21@mail.nih.gov>
On Thu, Jun 16, 2005 at 07:36:56AM -0400, Sean Davis wrote:
>
> I should know the answer to this, but I don't--Is it possible to
> install DBD::Pg without Postgresql being installed? Trying from CPAN
> seems to imply not (pg_config needed). Just wanted confirmation....
DBD::Pg links against libpq, so to build it you need that library
and header files like libpq-fe.h; as you've discovered, the module
uses pg_config to learn about where things are installed. At runtime
you'll probably need at least the libpq.so shared library. You
shouldn't need to have a server running or even installed, but
you'll need at least some kind of client installation.
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
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: pgsql-interfaces@postgresql.org
Cc: mike@fuhr.org, sdavis2@mail.nih.gov
Subject: Re: DBD::Pg without Postgresql installed
In-Reply-To: <20050616120236.GA65359@winnie.fuhr.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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