X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1CED0528C1 for ; Thu, 16 Jun 2005 09:09:18 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 28739-04 for ; Thu, 16 Jun 2005 12:09:09 +0000 (GMT) Received: from mx5.net.nih.gov (mailfwd.nih.gov [165.112.130.36]) by svr1.postgresql.org (Postfix) with ESMTP id F237E528AD for ; Thu, 16 Jun 2005 09:09:07 -0300 (ADT) Received: from mx5.net.nih.gov (localhost [127.0.0.1]) by mx5.net.nih.gov (8.12.10/8.11.6) with ESMTP id j5GC9BW8030134 for ; Thu, 16 Jun 2005 08:09:11 -0400 Received: from [128.231.145.14] (holmes.nhgri.nih.gov [128.231.145.14]) by mx5.net.nih.gov (8.12.10/8.11.6) with ESMTP id j5GC9BYk030131; Thu, 16 Jun 2005 08:09:11 -0400 In-Reply-To: <20050616120236.GA65359@winnie.fuhr.org> References: <20050616120236.GA65359@winnie.fuhr.org> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <56fc236492b8934eed3eb6c76dfb0978@mail.nih.gov> Content-Transfer-Encoding: 7bit Cc: pgsql-interfaces From: Sean Davis Subject: Re: DBD::Pg without Postgresql installed Date: Thu, 16 Jun 2005 08:09:11 -0400 To: Michael Fuhr X-Mailer: Apple Mail (2.622) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/49 X-Sequence-Number: 5617 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