pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Error in PG installation
2+ messages / 2 participants
[nested] [flat]

* Error in PG installation
@ 2005-04-14 11:58  Noureddine tezniti <tezniti_n@yahoo.fr>
  0 siblings, 1 reply; 2+ messages in thread

From: Noureddine tezniti @ 2005-04-14 11:58 UTC (permalink / raw)
  To: pgsql-interfaces

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/



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Error in PG installation
@ 2005-04-19 11:20  Greg Sabino Mullane <greg@turnstep.com>
  parent: Noureddine tezniti <tezniti_n@yahoo.fr>
  0 siblings, 0 replies; 2+ messages in thread

From: Greg Sabino Mullane @ 2005-04-19 11:20 UTC (permalink / raw)
  To: pgsql-interfaces


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> And when I try to execute "perl Makefile.PL" i receive
> this message:
> $ perl Makefile.PL
...
> Writing Makefile for Pg
> Unable to open MakeMaker.tmp: Permission denied at
> /usr/local/lib/perl5/5.8.5/ExtUtils/MakeMaker.pm line
> 869.

(Please tell us what version of DBI, PostgreSQL, and DBD::Pg you
are using when reporting problems.) It sounds as though the
ExtUtils::MakeMaker module cannot write to a directory it needs to.
You may have an existing "MakeMaker.tmp" file that is owned by
root, or not have rights to write to the current directory. Try running
"make clean", then checking the ownership of the files in the current
directory, and then running perl Makefile.PL.

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200504190718
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8

-----BEGIN PGP SIGNATURE-----

iD8DBQFCZOl9vJuQZxSWSsgRAuG7AJ9XE2NsOjAPGPdrk9I/BC64+gczpwCg0LS4
XGZ30WPSV4YumH07CduDhH4=
=p6i+
-----END PGP SIGNATURE-----





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-04-19 11:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-04-14 11:58 Error in PG installation Noureddine tezniti <tezniti_n@yahoo.fr>
2005-04-19 11:20 ` Greg Sabino Mullane <greg@turnstep.com>

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