Skip site navigation (1) Skip section navigation (2)

Re: DBD::Pg without Postgresql installed

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>
Cc: pgsql-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: DBD::Pg without Postgresql installed
Date: 2005-06-16 12:02:36
Message-ID: 20050616120236.GA65359@winnie.fuhr.org (view raw or flat)
Thread:
Lists: 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/

In response to

Responses

pgsql-interfaces by date

Next:From: Sean DavisDate: 2005-06-16 12:09:11
Subject: Re: DBD::Pg without Postgresql installed
Previous:From: Sean DavisDate: 2005-06-16 11:36:56
Subject: DBD::Pg without Postgresql installed

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group