Skip site navigation (1) Skip section navigation (2)

Re: Pet Peeves?

From: Greg Stark <stark(at)enterprisedb(dot)com>
To: rhubbell <Rhubbell(at)ihubbell(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Pet Peeves?
Date: 2009-01-31 18:30:48
Message-ID: 4136ffa0901311030l761e240co8b0a828f8d76eb3b@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-general
On Sat, Jan 31, 2009 at 6:10 PM, rhubbell <Rhubbell(at)ihubbell(dot)com> wrote:
> Thanks, using the same apt commands, try to find pg_config

$ apt-file search bin/pg_config
libpq-dev: /usr/bin/pg_config
postgresql-server-dev-8.3: /usr/lib/postgresql/8.3/bin/pg_config

That is confusing actually.

However, the readme for DBD::Pg which cpan gives a convenient
interface has installation instructions which specifically list the
requirements:

cpan[4]> readme DBD::Pg
...[lots of crap about downloading stuff]...

REQUIREMENTS:
-------------

        build, test, and install Perl 5         (at least 5.6.1)
        build, test, and install the DBI module (at least 1.52)
        build, test, and install PostgreSQL     (at least 7.4)
        build, test, and install Test::Simple   (at least 0.47)

DBD::Pg needs to know where to find the libpq libraries: this is usually done
by checking the output of the pg_config executable. If pg_config is
not available,
then you may need to install the development package for PostgreSQL. To do this
on Debian and Ubuntu, use: apt-get install postgresql-dev; on RedHat
and CentOS,
use: yum install postgresql-devel. Note that the development libraries
are needed
even if you already have PostgreSQL up and running.

-- 
greg

In response to

pgsql-general by date

Next:From: Greg StarkDate: 2009-01-31 18:32:10
Subject: Re: Pet Peeves?
Previous:From: Roger LeighDate: 2009-01-31 18:29:09
Subject: Re: Pet Peeves?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group