My guess it that you have to build Perl first. Don't rely on a Perl distribution that comes with OS or another package.
Get Perl source and start with making Perl. make sure to use gcc compiler. Then do install of DBI. Then make sure you have Oracle client installed (I'm assuming you plan to use DBD-Oracle). Then do install of DBD-Oracle. HTH, Gerardo -----Original Message----- From: AdmTest [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 8:49 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Problem with installation DBI-1.20 in Solaris8 Hi, please help me, I can not install a DBI-1.20 in the Sun E250 (Solaris 8). Below the logs of commands: perl -V perl Makefile.PL make make test make test TEST_VERBOSE=1 1. perl -V bash-2.03# perl -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4-solaris uname='sunos solaris 5.8 generic sun4u sparc sunw,ultra-5_10 ' config_args='-Dcc=gcc -de' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.95.3 20010315 (release)', 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, usemymalloc=y, prototype=define Linker and Libraries: ld='gcc', 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 Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' 2. perl Makefile.PL bash-2.03# perl Makefile.PL *** 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 http://www.perl.com/CPAN/modules/by-module http://www.perl.org/CPAN/modules/by-module ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module 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. 3. make bash-2.03# /usr/local/bin/make gcc -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\c DBI.xs: In function `dbih_clearcom': DBI.xs:880: warning: unused variable `Perl___notused' DBI.xs: In function `dbih_get_fbav': DBI.xs:1018: warning: unused variable `Perl___notused' DBI.xs: In function `dbih_set_attr_k': DBI.xs:1110: warning: unused variable `Perl___notused' DBI.xs: In function `log_where': DBI.xs:1572: warning: unused variable `Perl___notused' DBI.xs: In function `XS_DBI_dispatch': DBI.xs:2041: warning: unused variable `Perl___notused' DBI.xs: In function `XS_DBD_____st_bind_col': DBI.xs:2731: warning: operation on `PL_na' may be undefined DBI.xs: In function `XS_DBD_____st_bind_columns': DBI.xs:2752: warning: operation on `PL_na' may be undefined /usr/ccs/bin/as: "/var/tmp/ccgBKYhn.s", line 3049: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/ccgBKYhn.s", line 3049: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccgBKYhn.s", line 3067: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/ccgBKYhn.s", line 3067: error: statement syntax make: *** [DBI.o] Error 1 4. make test bash-2.03# /usr/local/bin/make test gcc -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\c DBI.xs: In function `dbih_clearcom': DBI.xs:880: warning: unused variable `Perl___notused' DBI.xs: In function `dbih_get_fbav': DBI.xs:1018: warning: unused variable `Perl___notused' DBI.xs: In function `dbih_set_attr_k': DBI.xs:1110: warning: unused variable `Perl___notused' DBI.xs: In function `log_where': DBI.xs:1572: warning: unused variable `Perl___notused' DBI.xs: In function `XS_DBI_dispatch': DBI.xs:2041: warning: unused variable `Perl___notused' DBI.xs: In function `XS_DBD_____st_bind_col': DBI.xs:2731: warning: operation on `PL_na' may be undefined DBI.xs: In function `XS_DBD_____st_bind_columns': DBI.xs:2752: warning: operation on `PL_na' may be undefined /usr/ccs/bin/as: "/var/tmp/ccF2J2OA.s", line 3049: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/ccF2J2OA.s", line 3049: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccF2J2OA.s", line 3067: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/ccF2J2OA.s", line 3067: error: statement syntax make: *** [DBI.o] Error 1 5. make test TEST_VERBOSE=1 bash-2.03# /usr/local/bin/make test TEST_VERBOSE=1 gcc -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\c DBI.xs: In function `dbih_clearcom': DBI.xs:880: warning: unused variable `Perl___notused' DBI.xs: In function `dbih_get_fbav': DBI.xs:1018: warning: unused variable `Perl___notused' DBI.xs: In function `dbih_set_attr_k': DBI.xs:1110: warning: unused variable `Perl___notused' DBI.xs: In function `log_where': DBI.xs:1572: warning: unused variable `Perl___notused' DBI.xs: In function `XS_DBI_dispatch': DBI.xs:2041: warning: unused variable `Perl___notused' DBI.xs: In function `XS_DBD_____st_bind_col': DBI.xs:2731: warning: operation on `PL_na' may be undefined DBI.xs: In function `XS_DBD_____st_bind_columns': DBI.xs:2752: warning: operation on `PL_na' may be undefined /usr/ccs/bin/as: "/var/tmp/ccrho1q2.s", line 3049: error: unknown opcode ".subsection" /usr/ccs/bin/as: "/var/tmp/ccrho1q2.s", line 3049: error: statement syntax /usr/ccs/bin/as: "/var/tmp/ccrho1q2.s", line 3067: error: unknown opcode ".previous" /usr/ccs/bin/as: "/var/tmp/ccrho1q2.s", line 3067: error: statement syntax make: *** [DBI.o] Error 1 Andrey Pak
