On Thu, 25 Jul 2002 [EMAIL PROTECTED] wrote:
> i am trying to install DBD for postgres
>
> Problem 1
>
> The README file stated to run Makefile, make, and make
> test as normal user and I guss make install as root ??

If you want to install to a system-wide directory.

> The downloaded file have an owner of 1000
>
> should i change all the files like "chown -r xxx.xxx"
> from the DBD-Pg-1.13 directory??

Go for it!

> Problem 2
>
> cpan downloaded the needed files but could not install
>
> when i run perl Makefile.Pl i get the following message
>
> please set environment variables POSTGRES_INCLUDE and
> POSTGRES_LIB which is the error message from the die
> function in the Makefile.PL
>
> Not sure how to do this and what user enviroment
>
> Added the following line in the /etc/profile file
> POSTGRES_INCLUDE="/usr/include/"
> POSTGRES_LIB="/usr/lib/"

You probably have to export them also. Put

    export POSTGRES_INCLUDE POSTGRES_LIB

after those. Also you need to source the file (. /etc/profile).

Reply via email to