pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gregory Stark <stark@enterprisedb.com>
To: Ben Sabadus <Ben.Sabadus@upsnap.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: installation DBD::Pg
Date: Wed, 13 Feb 2008 01:34:54 +0000
Message-ID: <87ejbhabb5.fsf@oxford.xeocode.com> (raw)
In-Reply-To: <3403.10891202840353.mail1.upsnap.com@MHS>
References: <3403.10891202840353.mail1.upsnap.com@MHS>


"Ben Sabadus" <Ben.Sabadus@upsnap.com> 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!



view thread (2+ messages)

Message-ID: <87ejbhabb5.fsf@oxford.xeocode.com>
Permalink:  ../87ejbhabb5.fsf@oxford.xeocode.com/
Also on:    postgresql.org/message-id/87ejbhabb5.fsf@oxford.xeocode.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: stark@enterprisedb.com, Ben.Sabadus@upsnap.com
  Subject: Re: installation DBD::Pg
  In-Reply-To: <87ejbhabb5.fsf@oxford.xeocode.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox