Received: from cr833060-a.shprd1.on.wave.home.com (cr833060-a.shprd1.on.wave.home.com [24.42.91.39]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f05Jqe730825 for ; Fri, 5 Jan 2001 14:52:40 -0500 (EST) (envelope-from frederick_opp@hotmail.com) Received: from hotmail.com (IDENT:root@localhost [127.0.0.1]) by cr833060-a.shprd1.on.wave.home.com (8.11.0/8.11.0) with ESMTP id f05Jrli01328 for ; Fri, 5 Jan 2001 14:53:47 -0500 Message-ID: <3A562645.6501129@hotmail.com> Date: Fri, 05 Jan 2001 14:53:41 -0500 From: frederick X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: installing pgsql_perl5-1.9.0 Content-Type: multipart/alternative; boundary="------------52F0CAF8F4A3C11824AC1BCE" X-Archive-Number: 200101/51 X-Sequence-Number: 660 --------------52F0CAF8F4A3C11824AC1BCE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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@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 --------------52F0CAF8F4A3C11824AC1BCE Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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@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
 
 
 
 
  --------------52F0CAF8F4A3C11824AC1BCE--