Re: PostgreSQL DBD setup

2001-06-27 Thread Geraint Jones

On Wednesday 27 June 2001  2:08 pm, Geraint Jones wrote:
 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.

No worries, just found out! That's my headache gone : )
# export POSTGRES_INCLUDE=path

Geraint.



Re: PostgreSQL DBD setup

2001-06-27 Thread Ulle Siedentop

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.