installing pgsql_perl5-1.9.0

From: frederick <frederick_opp(at)hotmail(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: installing pgsql_perl5-1.9.0
Date: 2001-01-05 19:53:41
Message-ID: 3A562645.6501129@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

I am installing 1.9.0 of pgsql_perl5, but when I run "perl Makefile.PL"
as the postgres user, I get the following error :

[postgres(at)cr833060-a pgsql_perl5-1.9.0]$ perl Makefile.PL
Configuring Pg
Remember to actually read the README file !
OS: linux
Checking if your kit is complete...
Looks good
Writing Makefile for Pg
Unable to open MakeMaker.tmp: No such file or directory at
/usr/lib/perl5/5.6.0/ExtUtils/MakeMaker.pm line 756.

I am installing as the postgres user because the README file states that
steps 1-3 should not be done as root and also the user doing the
installation must be able to create databases.

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 some
directories. I have used "chown" to make sure postgres can write to the
installation directory (/var/lib/pgsql/pgsql_perl5-1.9.0) and also the
directory in which perl resides on my system (/usr/lib/perl5). This
fix does not work, I keep getting the same error as before (Unable to
open MakeMaker.tmp...) Can anyone advise me on how to fix this
problem?

Thanks in advance for any help.
Frederick.

Various outputs:

perl -v
This is perl, v5.6.0 built for i386-linux . Copyright 1987-2000,
Larry Wall

perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:

Platform:
osname=linux, osvers=2.2.5-22smp, archname=i386-linux
uname='linux porky.devel.redhat.com 2.2.5-22smp #1 smp wed jun 2
09:11:51 edt 1999 i686 unknown '
config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dcc=gcc
-Dcccdlflags=-fPIC -Dinstallprefix=/us
r -Dprefix=/usr -Darchname=i386-linux -Dd_dosuid -Dd_semctl_semun -Di_db
-Di_ndbm -Di_gdbm -Di_shadow -Di_s
yslog -Dman3ext=3pm -Uuselargefiles'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usesocks=undef
Compiler:
cc='gcc', optimize='-O2 -march=i386 -mcpu=i686', gccversion=2.96
20000731 (experimental)
cppflags='-fno-strict-aliasing'
ccflags ='-fno-strict-aliasing'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lc -lcrypt
libc=/lib/libc-2.1.92.so, so=so, useshrplib=false, libperl=libperl.a

Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'

cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'

Characteristics of this binary (from libperl):
Compile-time options:
Built under linux
Compiled at Aug 7 2000 10:59:51
@INC:
/usr/lib/perl5/5.6.0/i386-linux
/usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl
.

postgreSQL
version 7.0.2

pgsql_perl5
version 1.9.0

OS
RedHat 7.0

Browse pgsql-interfaces by date

  From Date Subject
Next Message frederick 2001-01-05 21:56:24 installing pgsql_perl_perl5-1.9.0
Previous Message Joel Burton 2001-01-05 18:55:41 Re: RE: Using Postgres with Access 2000