Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 3F8152E00D2 for ; Tue, 12 Feb 2008 21:34:59 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 39302-09 for ; Tue, 12 Feb 2008 21:34:56 -0400 (AST) Received: from oxford.xeocode.com (unknown [87.127.95.196]) by postgresql.org (Postfix) with ESMTP id C6EC12E00D5 for ; Tue, 12 Feb 2008 21:34:56 -0400 (AST) Received: from localhost ([127.0.0.1] helo=oxford.xeocode.com) by oxford.xeocode.com with esmtp (Exim 4.69) (envelope-from ) id 1JP6WU-0001XO-8C; Wed, 13 Feb 2008 01:34:54 +0000 To: "Ben Sabadus" Cc: Subject: Re: installation DBD::Pg In-Reply-To: <3403.10891202840353.mail1.upsnap.com@MHS> (Ben Sabadus's message of "Tue\, 12 Feb 2008 13\:19\:14 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Draft-From: ("nnimap+mail01.enterprisedb.com:INBOX.interfaces" 196) References: <3403.10891202840353.mail1.upsnap.com@MHS> From: Gregory Stark Organization: EnterpriseDB Date: Wed, 13 Feb 2008 01:34:54 +0000 Message-ID: <87ejbhabb5.fsf@oxford.xeocode.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/5 X-Sequence-Number: 6703 "Ben Sabadus" writes: > Can you help me w/ this? I am trying to run 'install DBD::Pg' using CPAN and > it is asking me for the "Path to pg_config". > > Is there some other way I can install DBD:Pg without having to install a > full version of Postgre on my machine? I would think I wouldn't have to > have Postgre on my local machine to connect to another Postgre DB on an > external machine. Well CPAN is trying to compile DBD::Pg from source. You don't even need a complete Postgres install for that, just the development libraries. You don't explain what operating system you're using but for example most Linux distributions have a separate package for the development libraries. Alternatively if your operating system has it you could install a precompiled DBD::Pg packages instead of compiling from source. On Debian it's called libdbd-pg-perl for example. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com Ask me about EnterpriseDB's PostGIS support!