Skip site navigation (1) Skip section navigation (2)

Re: perl installation problem and installation of postgres from rpms

From: "Dax Duskin" <dax(dot)duskin(at)zsassociates(dot)com>
To: "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: perl installation problem and installation of postgres from rpms
Date: 2001-03-13 15:48:30
Message-ID: 86256A0E.0056EC17.00@zsserver3.zsassociates.com (view raw or flat)
Thread:
Lists: pgsql-novice

>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(at)chapelperilous(dot)net> on 03/13/2001 09:37:41 AM

To:   Dax Duskin/Evanston/ZSAssociates(at)ZSAssociates
cc:   pgsql-novice(at)postgresql(dot)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


Attachment: att1.eml
Description: application/octet-stream (1.6 KB)

Responses

pgsql-novice by date

Next:From: Dax DuskinDate: 2001-03-13 15:53:48
Subject: Re: array column problem
Previous:From: Brett W. McCoyDate: 2001-03-13 15:37:41
Subject: Re: perl installation problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group