Installing DBI-1.53 on Solaris
am 29.11.2006 12:16:47 von slyHello
I am having problems installing DBI.
# perl Makefile.PL runs ok but the when I enter # make I get the
following:
gcc -c -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.53\"
-DXS_VERSION=\"1.53\" -fPIC
"-I/usr/local/ActivePerl-5.8/lib/5.8.0/sun4-solaris-thread-m ulti/CORE"
-W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment
-Wno-sign-compare -Wno-cast-qual Perl.c
cc1: Invalid option `-fno-strict-aliasing'
Perl.c: In function `XS_DBD__Perl__dr_data_sources':
Perl.c:89: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db__login':
Perl.c:125: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_selectall_arrayref':
Perl.c:160: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_do':
Perl.c:283: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_last_insert_id':
Perl.c:321: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_commit':
Perl.c:351: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_rollback':
Perl.c:369: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_disconnect':
Perl.c:387: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_STORE':
Perl.c:421: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_FETCH':
Perl.c:444: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_DESTROY':
Perl.c:464: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_take_imp_data':
Perl.c:531: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st__prepare':
Perl.c:595: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_bind_col':
Perl.c:649: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_bind_param':
Perl.c:701: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_bind_param_inout':
Perl.c:744: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_execute':
Perl.c:793: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_execute_for_fetch':
Perl.c:828: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_fetchall_arrayref':
Perl.c:904: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_finish':
Perl.c:938: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_blob_read':
Perl.c:969: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_STORE':
Perl.c:1008: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_DESTROY':
Perl.c:1054: warning: unused parameter `cv'
Perl.c: In function `boot_DBD__Perl':
Perl.c:1106: warning: unused parameter `cv'
*** Error code 1
make: Fatal error: Command failed for target `Perl.o'
Have checked the complier that installed Perl and it is gcc which I am
using above, here is the output:
# perl -V
Summary of my perl5 (revision 5.0
version 8 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.6, archname=sun4-solaris-thread-multi
uname='sunos sparky 5.6 generic_105181-26 sun4u sparc
sunw,ultra-5_10 '
config_args='-des -Dcc=gcc -Dcf_by=ActiveState
-Dcf_email=ActivePerl@ActiveState.com -Uinstallusrbinperl -Ud_sigsetjmp
-Dusethreads -Duseithreads -Ulocincpth= -Uloclibpth=
-Dprefix=/usr/local/ActivePerl-5.8 -Duselargefiles'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-fno-strict-aliasing'
ccversion='', gccversion='2.95.2 19991024 (release)',
gccosandvers='solaris2.6'
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', ldflags =' '
libpth=/usr/lib /usr/ccs/lib /usr/local/lib
libs=-lsocket -lnsl -ldl -lm -lposix4 -lpthread -lc
perllibs=-lsocket -lnsl -ldl -lm -lposix4 -lpthread -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'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Locally applied patches:
ActivePerl Build 806
Built under solaris
Compiled at Mar 31 2003 00:43:00
@INC:
/usr/local/ActivePerl-5.8/lib/5.8.0/sun4-solaris-thread-mult i
/usr/local/ActivePerl-5.8/lib/5.8.0
/usr/local/ActivePerl-5.8/lib/site_perl/5.8.0/sun4-solaris-t hread-multi
/usr/local/ActivePerl-5.8/lib/site_perl/5.8.0
/usr/local/ActivePerl-5.8/lib/site_perl
Can anyone suggest where I might be going wrong or what I can try?
Can't seem to use the CPAN module either as I am on a network!
Thanks
p.s sorry for the long details of the message but thought it was better
to include them from the off.