Well, that did get me past those errors.. Thanks so far ;-)
Now, when I do install DBD::Pg, it goes through the install process and then
returns the following:
============
Running make test
PERL_DL_NONLAZY=1
/usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/i686
-linux -I/usr/local/lib/perl5/5.6.1 test.pl
OS: linux
Use of uninitialized value in join or string at test.pl line 53.
DBI->data_sources .......... not ok:
DBI->connect(dbname=template1) failed: FATAL 1: SetUserId: user 'root' is
not in 'pg_shadow' at test.pl line 59
DBI->connect ............... not ok: FATAL 1: SetUserId: user 'root' is not
in 'pg_shadow' at test.pl line 59.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
=============
----- Original Message -----
From: "Mike Slack" <[EMAIL PROTECTED]>
To: "DBI Users" <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 4:46 PM
Subject: Re: CPAN Errors
You don't have any serious problems. As root run the following commands:
export POSTGRES_INCLUDE=/usr/local/pgsql/include
export POSTGRES_LIB=/usr/local/pgsql/lib
(You may have to put in different paths above to the appropriate include and
lib
directories if you have an RPM, or any other non "standard" installation of
Postgres)
This will set the environment so Perl knows where to look for Postgres
libraries and
sources.
Then (as root) do:
perl -MCPAN -e shell
cpan> install DBD::Pg
This should get you past the error you're getting.
--
Mike Slack
[EMAIL PROTECTED]
http://www.AWorldThatWorks.com/
--
"If we knew what it was we were doing, it wouldn't
be called research, would it?" --Albert Einstein
N@ta$ ([EMAIL PROTECTED]) wrote:
> Ok...I did a ps ax and noticed that I still had processes running from
> prior to my server crashing...so I killed all those processes
>
> Then connected to CPAN and went through the processes I did before:
> install Bundle::CPAN --> already installed
> install Bundle::DBI --> already installed
>
> Then when I got to install DBD::Pg, I keep getting the same error:
> ==============
> Configuring Pg
> Remember to actually read the README file !
> please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !
> Running make test
> Make had some problems, maybe interrupted? Won't test
> Running make install
> Make had some problems, maybe interrupted? Won't install
> ==============
>
> I have read and re-read the readme file and there is nothing in there
> explainging this to me; I cannot run this as non-su - I have to be root
due
> to permissions...I cannot connect to CPAN unless I am root....please
> help....
>
> ;-(
>
> Ronald J Kimball wrote:
>
> > On Mon, Apr 16, 2001 at 12:46:04PM -0500, N@ta$ wrote:
> >
> > > How can I correct this? And do the tests I did above actually install
> > > the modules?
> >
> > No, make test does not install a module. You have to make install.
> >
> > Ronald
>