pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noureddine tezniti <tezniti_n@yahoo.fr>
To: pgsql-interfaces@postgresql.org
Subject: Error in PG installation
Date: Thu, 14 Apr 2005 13:58:42 +0200 (CEST)
Message-ID: <20050414115842.12167.qmail@web26801.mail.ukl.yahoo.com> (raw)

Hello,

I have a problme with the installtion of perl PG
module on SOLARIS8.

root@myhost# perl -v

This is perl, v5.8.5 built for sun4-solaris

Copyright 1987-2004, Larry Wall

Perl may be copied only under the terms of either the
Artistic License or the
GNU General Public License, which may be found in the
Perl 5 source kit.

Complete documentation for Perl, including FAQ lists,
should be found on
this system using `man perl' or `perldoc perl'.  If
you have access to the
Internet, point your browser at http://www.perl.com/,
the Perl Home Page.

root@myhost# perl -V
Summary of my perl5 (revision 5 version 8 subversion
5) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris
    uname='sunos 5.8 generic_108528-11 sun4u sparc
sunw,ultra-5_10 '
    config_args='-Dcc=gcc -B/usr/ccs/bin/'
    hint=recommended, useposix=true,
d_sigaction=define
    usethreads=undef use5005threads=undef
useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define
usesocks=undef
    use64bitint=undef use64bitall=undef
uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc -B/usr/ccs/bin/', ccflags
='-fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-fno-strict-aliasing -pipe
-I/usr/local/include'
    ccversion='', gccversion='3.3.2',
gccosandvers='solaris2.8'
    intsize=4, longsize=4, ptrsize=4, doublesize=8,
byteorder=4321
    d_longlong=define, longlongsize=8,
d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double',
nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc -B/usr/ccs/bin/', ldflags ='
-L/usr/local/lib '
    libpth=/usr/local/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=false,
libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G
-L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under solaris
  Compiled at Jul 26 2004 05:02:51
  @INC:
    /usr/local/lib/perl5/5.8.5/sun4-solaris
    /usr/local/lib/perl5/5.8.5
    /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.8.5
    /usr/local/lib/perl5/site_perl
    .

$ pkginfo -l SMCpgsql
   PKGINST:  SMCpgsql
      NAME:  postgresql
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  8.0.1
   BASEDIR:  /usr/local/pgsql
    VENDOR:  The Postgress Group
    PSTAMP:  Steve Christensen
  INSTDATE:  Apr 12 2005 17:55
     EMAIL:  steve@smc.vnet.net
    STATUS:  completely installed
     FILES:     1824 installed pathnames
                 142 linked files
                  63 directories
                  53 executables
               35973 blocks used (approx)

When I try to execute "make test" by root i receive
the error message:
root@myhost# perl Makefile.PL
Configuring Pg
Remember to actually read the README file !
OS: solaris
Writing Makefile for Pg

root@myhost# make
gcc -B/usr/ccs/bin/ -c  -I/usr/local/pgsql/include
-fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O  
-DVERSION=\"1.9.0\" -DXS_VERSION=\"1.9.0\" -fPIC
"-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE"  
Pg.c
Running Mkbootstrap for Pg ()
chmod 644 Pg.bs
rm -f blib/arch/auto/Pg/Pg.so
LD_RUN_PATH="/usr/local/pgsql/lib" gcc -B/usr/ccs/bin/
 -G -L/usr/local/lib Pg.o  -o blib/arch/auto/Pg/Pg.so 
 -L/usr/local/pgsql/lib -lpq
chmod 755 blib/arch/auto/Pg/Pg.so
cp Pg.bs blib/arch/auto/Pg/Pg.bs
chmod 644 blib/arch/auto/Pg/Pg.bs
Manifying blib/man3/Pg.3

root@myhost# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib"
"-Iblib/arch" test.pl
Backslash found where operator expected at test.pl
line 99, near ")\"
        (Missing operator before \?)
Backslash found where operator expected at test.pl
line 100, near ""Pg::conndefaults ........ ok\n"\"
        (Missing operator before \?)
syntax error at test.pl line 99, near ")\"
Execution of test.pl aborted due to compilation
errors.
test failed
make: *** [test_dynamic] Error 2

And when I try to execute "perl Makefile.PL" i receive
this message:
$ perl Makefile.PL
Configuring Pg
Remember to actually read the README file !
OS: solaris
Writing Makefile for Pg
Unable to open MakeMaker.tmp: Permission denied at
/usr/local/lib/perl5/5.8.5/ExtUtils/MakeMaker.pm line
869.


Do you any idea to resolve this problme ???

Thanks a lot



	

	
		
__________________________________________________________________
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/



view thread (2+ messages)  latest in thread

Message-ID: <20050414115842.12167.qmail@web26801.mail.ukl.yahoo.com>
Permalink:  ../20050414115842.12167.qmail@web26801.mail.ukl.yahoo.com/
Also on:    postgresql.org/message-id/20050414115842.12167.qmail@web26801.mail.ukl.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tezniti_n@yahoo.fr
  Subject: Re: Error in PG installation
  In-Reply-To: <20050414115842.12167.qmail@web26801.mail.ukl.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox