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 4A3D252835 for ; Thu, 16 Jun 2005 09:02:49 -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 23879-07 for ; Thu, 16 Jun 2005 12:02:40 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id A8850528BE for ; Thu, 16 Jun 2005 09:02:38 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id j5GC2b8F068460 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Jun 2005 06:02:40 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.3/8.13.3) with ESMTP id j5GC2b2g065495; Thu, 16 Jun 2005 06:02:37 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.3/8.13.3/Submit) id j5GC2aVZ065494; Thu, 16 Jun 2005 06:02:36 -0600 (MDT) (envelope-from mfuhr) Date: Thu, 16 Jun 2005 06:02:36 -0600 From: Michael Fuhr To: Sean Davis Cc: pgsql-interfaces Subject: Re: DBD::Pg without Postgresql installed Message-ID: <20050616120236.GA65359@winnie.fuhr.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/48 X-Sequence-Number: 5616 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/