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
sun4usparc
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
Jul26 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/