LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing perl module (https://www.linuxquestions.org/questions/linux-newbie-8/installing-perl-module-233757/)

vickr1z 09-22-2004 04:56 AM

installing perl module
 
good day to all.
im installing dbegine but first i have to install this prerequisites modules:
DBI_Pg, DBD::ProxyServer and the like.

i have problem installing DBI_Pg_1.32 after the make test command, saying:
cannot run test unless DBD_DSN is defined.

and at the readme files i found this:
TESTING:
--------

The tests are designed to connect to a live database. The following
environment variables must be set for the tests to run:

DBI_DSN=dbi:Pg:dbname=<database>
DBI_USER=<username>
DBI_PASS=<password>
---------

in where file iL going to put or define this variables??
can anybody help me??

subhasis_ray 09-22-2004 07:12 AM

Hi,

First of all .... a failed make test does not mean that the module has a problem. But even then if for satisfaction u need to run it, type the following commands on you shell prompt:

# export DBI_DSN=dbi:Pg:dbname=<database>
# export DBI_USER=<username>
# export DBI_PASS=<password>

and then run the make test. Also ensure that the database server is running and accessible.

-Subhasis


All times are GMT -5. The time now is 07:10 PM.