Re: DBD::Pg without Postgresql installed - Mailing list pgsql-interfaces

From Michael Fuhr
Subject Re: DBD::Pg without Postgresql installed
Date
Msg-id 20050616120236.GA65359@winnie.fuhr.org
Whole thread Raw
In response to DBD::Pg without Postgresql installed  (Sean Davis <sdavis2@mail.nih.gov>)
Responses Re: DBD::Pg without Postgresql installed  (Sean Davis <sdavis2@mail.nih.gov>)
List pgsql-interfaces
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/


pgsql-interfaces by date:

Previous
From: Sean Davis
Date:
Subject: DBD::Pg without Postgresql installed
Next
From: Sean Davis
Date:
Subject: Re: DBD::Pg without Postgresql installed