Would like suggestions for next steps?
Solaris 8 sparc with Active State perl installed ok.
Trying to install DBI & DBD:Oracle (although can't
make it past DBI currently).
Did read DBI README file.
Included is:
perl Makefile.PL,
perl -V,
gcc -v
& make output.
Same problem trying DBI-1.19 & DBI-1.21.
Thank Much!
--------------------------------------------
perl Makefile.PL
*** You are using a perl with experimental threading enabled!
*** You should be aware that using multiple threads is unstable
*** are should NOT be done in production environments.
DBI thread mutex protection is enabled
*** Note:
The optional PlRPC-modules (RPC::PlServer etc) are not installed.
If you want to use the DBD::Proxy driver and DBI::ProxyServer
modules, then you'll need to install the RPC::PlServer, RPC::PlClient,
Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you.
You can install them any time after installing the DBI.
You do *not* need these modules for typical DBI usage.
Optional modules are available from any CPAN mirror, in particular
Checking if your kit is complete...
Looks good
Writing Makefile for DBI
Remember to actually *read* the README file!
Use 'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this working
directory before unpacking and building any DBD::* drivers.
-----------------------------------------------
# make
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/Format.pm blib/lib/DBI/Format.pm
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm
cp lib/DBD/ADO.pm blib/lib/DBD/ADO.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/DBD/Multiplex.pm blib/lib/DBD/Multiplex.pm
/usr/local/ActivePerl-5.6/bin/perl -p -e "s/~DRIVER~/Perl/g" <
blib/arch/auto/DBI/Driver.xst > Perl.xsi
/usr/local/ActivePerl-5.6/bin/perl
-I/usr/local/ActivePerl-5.6/lib/5.6.1/sun4-solaris-thread-multi
-I/usr/local/ActivePerl-5.6/lib/5.6.1
/usr/local/ActivePerl-5.6/lib/5.6.1/ExtUtils/xsubpp -typemap
/usr/local/ActivePerl-5.6/lib/5.6.1/ExtUtils/typemap Perl.xs > Perl.xsc && mv Perl.xsc
Perl.c
gcc -c -DUSE_REENTRANT_API -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-O -DVERSION=\"1.19\" -DXS_VERSION=\"1.19\" -fPIC
-I/usr/local/ActivePerl-5.6/lib/5.6.1/sun4-solaris-thread-multi/CORE -Wall
-Wno-comment Perl.c
/usr/local/ActivePerl-5.6/bin/perl
-I/usr/local/ActivePerl-5.6/lib/5.6.1/sun4-solaris-thread-multi
-I/usr/local/ActivePerl-5.6/lib/5.6.1
/usr/local/ActivePerl-5.6/lib/5.6.1/ExtUtils/xsubpp -typemap
/usr/local/ActivePerl-5.6/lib/5.6.1/ExtUtils/typemap DBI.xs > DBI.xsc && mv DBI.xsc
DBI.c
gcc -c -DUSE_REENTRANT_API -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-O -DVERSION=\"1.19\" -DXS_VERSION=\"1.19\" -fPIC
-I/usr/local/ActivePerl-5.6/lib/5.6.1/sun4-solaris-thread-multi/CORE -Wall
-Wno-comment DBI.c
DBI.xs: In function `dbih_clearcom':
DBI.xs:878: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_fbav':
DBI.xs:1015: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_set_attr_k':
DBI.xs:1107: warning: unused variable `Perl___notused'
DBI.xs: In function `log_where':
DBI.xs:1551: warning: unused variable `Perl___notused'
DBI.xs: In function `XS_DBI_dispatch':
DBI.xs:2001: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBD_____st_fetchrow_hashref':
DBI.xs:2782: warning: unused variable `PERINTERP'
DBI.c: At top level:
DBIXS.h:406: warning: `get_dbistate' defined but not used
/usr/ccs/bin/as: "/var/tmp/ccnd579D.s", line 4008: error: unknown opcode ".subsection"
/usr/ccs/bin/as: "/var/tmp/ccnd579D.s", line 4008: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccnd579D.s", line 4026: error: unknown opcode ".previous"
/usr/ccs/bin/as: "/var/tmp/ccnd579D.s", line 4026: error: statement syntax
*** Error code 1
make: Fatal error: Command failed for target `DBI.o'
------------------------------------------------
# perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) 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
[EMAIL PROTECTED] -Uinstallusrbinperl -Ud_sigsetjmp -Dusethreads
-Duseithreads -Dinc_version_list=5.6.0/$archname 5.6.0
-Dprefix=/usr/local/ActivePerl-5.6'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='gcc', ccflags ='-DUSE_REENTRANT_API -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-DUSE_REENTRANT_API -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-fno-strict-aliasing -I/usr/local/include'
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, usemymalloc=n, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/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
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: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Locally applied patches:
ActivePerl Build 631
Built under solaris
Compiled at Jan 3 2002 20:33:12
@INC:
/usr/local/ActivePerl-5.6/lib/5.6.1/sun4-solaris-thread-multi
/usr/local/ActivePerl-5.6/lib/5.6.1
/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1/sun4-solaris-thread-multi
/usr/local/ActivePerl-5.6/lib/site_perl/5.6.1
/usr/local/ActivePerl-5.6/lib/site_perl
------------------------------------------------
# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3/specs
Configured with: ../configure --with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld
--enable-libgcj