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

getting perl to talk to postgres

From: faroxy <frederick(dot)opp(at)home(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: getting perl to talk to postgres
Date: 2001-01-05 03:46:01
Message-ID: 3A554379.2035F055@home.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
I am trying to get perl to talk to postgres but the installation of DBI
is proving to be a headache.   I am installing DBI-1.14, but when I run
"perl Makefile.PL" as the postgres user, I get the following error :

[postgres(at)cr833060-a DBI-1.14]$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for DBI
Unable to open MakeMaker.tmp: No such file or directory at
/usr/lib/perl5/5.6.0/ExtUtils/MakeMaker.pm line 756.

I read in a previous posting addressing a similar problem that it could
be because the user (postgres) does not have permission to write to the
directory containing the perl source.  I have used "chown" to make sure
postgres can write to that directory but I get the same error.  Can
anyone advise me on how to get the makefile to work?

system specs:  RedHat 7.0;    Postgres 7.0.2;    DBI-1.14;    Perl,
v5.6.0 built for i386-linux .

Thanks in advance for any help.
Frederick.


Responses

pgsql-interfaces by date

Next:From: Tom SamploniusDate: 2001-01-05 05:29:49
Subject: Re: getting perl to talk to postgres
Previous:From: David ZollDate: 2001-01-04 16:52:24
Subject: Password for postdrv.exe

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