>Did you install the Perl module that is in src/interfaces/perl? You need
>to be root to install that. It doesn't get installed if you are not root.
>I usually build the Perl module separately from the main build.
I tried making from /src/interfaces/perl5 but I received some access errors when
I tried to make it as the postgres user. The README file said to run the first
three steps not as root. I also tried looking up the files that were causing
the boo boos and chown-ing them to the postgres user and it still didn't work.
I'm thinking of doing a reinstall from the rpms at this point.
Here's another question:
if I do an install from the rpms, which i hate to do, the rpm stuffs everything
in /var/somedirectory/pgsql. Why does it do that and what steps do I need to
take in installing the thing at that point?
I assume that I use /pathtoinitdb/initdb --pgdata /pathtopgdata/data --pglib
/usr/lib/pgsql/somethingorother/
and then run postmaster. I have seen a variety of different postings on the
subject. It would be nice if someone would compose a FAQ for the rpm install.
Right now I don't think that there are any good instructions on how to do it.
It seems alot easier to me to build postgres yourself with the instructions
provided. Not that installing postgres is simple as far as building stuff goes.
As soon as I learn how to do all of this stuff I'd like to build a website
dedicated to postgres morons like myself. Like a guide to using perl interface
for postgres. By the way, I was sure to use the statement "use Pg;" instead of
"use pg;" or "use PG;", which is an answer I saw in someone else's post.
"Brett W. McCoy" <bmccoy@chapelperilous.net> on 03/13/2001 09:37:41 AM
To: Dax Duskin/Evanston/ZSAssociates@ZSAssociates
cc: pgsql-novice@postgresql.org
Subject: Re: [NOVICE] perl installation problem
On Tue, 13 Mar 2001, Dax Duskin wrote:
> I am having trouble getting my perl installation to work properly.
>
> when i originally built postgres i used the "--with-perl" option at the
> configure step.
Did you install the Perl module that is in src/interfaces/perl? You need
to be root to install that. It doesn't get installed if you are not root.
I usually build the Perl module separately from the main build.
-- Brett
http://www.chapelperilous.net/~bmccoy/
------------------------------------------------------------------------
One expresses well the love he does not feel.
-- J.A. Karr