Re: DBD::Pg without Postgresql installed

From: Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: DBD::Pg without Postgresql installed
Date: 2005-06-16 12:09:11
Message-ID: 56fc236492b8934eed3eb6c76dfb0978@mail.nih.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


On Jun 16, 2005, at 8:02 AM, Michael Fuhr wrote:

> 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,

Thanks. Just to follow-up, are there sources to build just a client
installation? It looks to me like not. I don't have a problem
building a server on each workstation that will be accessing postgres,
but if there is a way to keep things cleaner and install only the
client (or client libraries), that would be great.

Thanks again,
Sean

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Fuhr 2005-06-16 13:08:46 Re: DBD::Pg without Postgresql installed
Previous Message Michael Fuhr 2005-06-16 12:02:36 Re: DBD::Pg without Postgresql installed