From: | Neil Conway <nconway(at)klamath(dot)dyndns(dot)org> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: DBD::Pg installation |
Date: | 2000-09-25 22:16:14 |
Message-ID: | 20000925181614.A10239@klamath.dyndns.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, Sep 25, 2000 at 05:51:57PM -0400, Michelle Murrain wrote:
> I'm trying to get DBD::Pg installed (I've tried directly and through
> CPAN) - and I get the following error: please set environment
> variables POSTGRES_INCLUDE and POSTGRES_LIB!
>
> I looked then at the source tree - found the README, then looked at
> the makefile. The variables POSTGRES_INCLUDE and POSTGRES_LIB need
> the variable POSTGRES_HOME.
You don't actually need to define POSTGRES_HOME (or at least, I've
never done it and I've installed DBD::Pg numerous times).
The following should work:
sh
export POSTGRES_INCLUDE=/usr/local/pgsql/include
export POSTGRES_LIB=/usr/local/pgsql/lib
perl Makefile.PL
# continue with installation from here
Assuming you've installed PgSQL in /usr/local/pgsql . Once you've
done the above, follow the rest of the steps in the README
(make; su; make install).
If you're running csh and don't want to change to Bourne, just
replace 'export' with 'setenv' (and don't use '=').
HTH,
Neil
--
Neil Conway <neilconway(at)home(dot)com>
Get my GnuPG key from: http://klamath.dyndns.org/mykey.asc
Encrypted mail welcomed
People of privilege will always risk their complete destruction
rather than surrender any material part of their advantage.
-- John Kenneth Galbraith
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2000-09-25 22:20:47 | Re: querying table structure/definition |
Previous Message | Alfred Perlstein | 2000-09-25 22:08:32 | Re: more or less spontaneous reboots with Suse 6.4 / Postgresql 7.0.2 |