Had just yesterday the same problem. Did not get DBD::Pg
working using it with  Suse Linux 7.0 Postgres RPM
Distribution.

It might be easier to use Postgres source distribution
instead of using a RPM distribution. After compiling
Postgres as described in the INSTALL file i had to set the
environment variables as follows:

export POSTGRES_INCLUDE=/usr/local/pgsql/include
export POSTGRES_LIB=/usr/local/pgsql/lib

In the same terminal session you should run the installation
process of DBD::Pg.

Good Luck!

Ulle

----- Original Message -----
From: Geraint Jones <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 3:08 PM
Subject: PostgreSQL DBD setup


> I've just spent a frustrating few hours looking for the
answer to my problem
> and have decided to give up and ask you guys. The docs for
the Perl module
> "DBD-Pg-1.00" say I should set the following environment
variables:
> POSTGRES_INCLUDE and POSTGRES_LIB. The problem is, being a
Linux newbie I
> don't know where environment variables are stored.
>
> Geraint.
>

Reply via email to