pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
installation DBD::Pg
2+ messages / 2 participants
[nested] [flat]

* installation DBD::Pg
@ 2008-02-12 18:19 Ben Sabadus <Ben.Sabadus@upsnap.com>
  2008-02-13 01:34 ` Re: installation DBD::Pg Gregory Stark <stark@enterprisedb.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Ben Sabadus @ 2008-02-12 18:19 UTC (permalink / raw)
  To: pgsql-interfaces

Hello support,

 

I do not understand why I would need to completely install Postgre on my
server to connect to a remote Postgre server.

 

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.

 

Please help!

 

================

Beniamin Sabadus

Computer Engineer

UpSNAPR

 <http://www.upsnap.com/; www.upsnap.com

Office: 704.895.4121

 

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: installation DBD::Pg
  2008-02-12 18:19 installation DBD::Pg Ben Sabadus <Ben.Sabadus@upsnap.com>
@ 2008-02-13 01:34 ` Gregory Stark <stark@enterprisedb.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Gregory Stark @ 2008-02-13 01:34 UTC (permalink / raw)
  To: Ben Sabadus <Ben.Sabadus@upsnap.com>; +Cc: pgsql-interfaces


"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!



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-02-13 01:34 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-02-12 18:19 installation DBD::Pg Ben Sabadus <Ben.Sabadus@upsnap.com>
2008-02-13 01:34 ` Gregory Stark <stark@enterprisedb.com>

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