I think you need to use a lower version of DBI - check the changelogs
and readme docs.

--
Ron Reidy
Lead DBA
Array BioPharma, Inc.

-----Original Message-----
From: Jon Baldassari [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 10, 2006 8:47 AM
To: [email protected]
Subject: DBI-1.14

I recompiled PERL from source, to have it use gcc. The installation went
fine. I installed the following PERL Modules:
DBD-1.28
MIME-Lite-3.01
libnet-1.19

All of the above modules installed fine.

When attempting to install DBI-1.14, I am receiving the following error
when trying install the PERL Module DBI-1.14 while running make:

[EMAIL PROTECTED]># make
mkdir blib
mkdir blib/lib
mkdir blib/lib/DBD
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/DBD
mkdir blib/arch/auto/DBD/Oracle
mkdir blib/lib/auto
mkdir blib/lib/auto/DBD
mkdir blib/lib/auto/DBD/Oracle
mkdir blib/man1
mkdir blib/man3
cp Oraperl.pm blib/lib/Oraperl.pm
cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h
cp Oracle.pm blib/lib/DBD/Oracle.pm
cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h
cp oraperl.ph blib/lib/oraperl.ph
cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm
cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h
/bin/perl -p -e "s/~DRIVER~/Oracle/g" <
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBI/Driver.xst >
Oracle.xsi
/bin/perl -I/usr/local/lib/perl5/5.00503/sun4-solaris
-I/usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/5.00503/ExtUtils/xsubpp  -typemap
/usr/local/lib/perl5/5.00503/ExtUtils/typemap Oracle.xs >xstmp.c && mv
xstmp.c Oracle.c
gcc -B/usr/ccs/bin/ -c -I/oracle/product/1.0.2/6iserver/rdbms/demo
-I/oracle/product/1.0.2/6iserver/rdbms/public
-I/oracle/product/1.0.2/6iserver/plsql/public
-I/oracle/product/1.0.2/6iserver/network/public
-I/oracle/product/1.0.2/6iserver/rdbms/demo
-I/oracle/product/1.0.2/6iserver/rdbms/demo
-I/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBI
-I/usr/local/include -O
-DVERSION=\"1.14\"  -DXS_VERSION=\"1.14\" -fPIC
-I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE  Oracle.c
gcc -B/usr/ccs/bin/ -c -I/oracle/product/1.0.2/6iserver/rdbms/demo
-I/oracle/product/1.0.2/6iserver/rdbms/public
-I/oracle/product/1.0.2/6iserver/plsql/public
-I/oracle/product/1.0.2/6iserver/network/public
-I/oracle/product/1.0.2/6iserver/rdbms/demo
-I/oracle/product/1.0.2/6iserver/rdbms/demo
-I/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBI
-I/usr/local/include -O
-DVERSION=\"1.14\"  -DXS_VERSION=\"1.14\" -fPIC
-I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE  dbdimp.c
dbdimp.c: In function `ora_db_destroy':
dbdimp.c:602: error: `dTHX' undeclared (first use in this function)
dbdimp.c:602: error: (Each undeclared identifier is reported only once
dbdimp.c:602: error: for each function it appears in.)
dbdimp.c: In function `ora_st_destroy':
dbdimp.c:1902: error: `dTHX' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `dbdimp.o'

perl -V Makefile.PL output:
[EMAIL PROTECTED]># perl -V Makefile.PL
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris
    uname='sunos gmd-qa-app1 5.8 generic_108528-26 sun4u sparc
sunw,ultra-60 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc -B/usr/ccs/bin/', optimize='-O', gccversion=2.95.2 19991024
(release)
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    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):
  Built under solaris
  Compiled at May 10 2006 09:54:50
  @INC:
    /usr/local/lib/perl5/5.00503/sun4-solaris
    /usr/local/lib/perl5/5.00503
    /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.005
    .

I am running Solaris 8 and Oracle 8.0.6.

Any help would be greatly appreciated.

Jon Baldassari
Senior System Administrator
PR Newswire LLC

Phone +1 201 369 3462 | Mobile +1 973 493 3508
[EMAIL PROTECTED] | [EMAIL PROTECTED] |
www.prnewswire.com

"We tell your story to the world."


NEWS TARGETING * REGULATORY & GLOBAL NEWS DISTRIBUTION * MULTIMEDIA *
NEWS MONITORING


Any views or opinions are solely those of the author and do not
necessarily represent those of PR Newswire. The contents are intended
only for the
addressee and may contain confidential and/or privileged material. If
you are not the intended recipient, please do not read, copy, use or
disclose
this communication and notify the sender.




This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is 
intended 
to be for the use of the individual or entity named above. If you are not the 
intended recipient, please be aware that any disclosure, copying, distribution 
or use of the contents of this information is prohibited. Please notify the
sender  of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.

Reply via email to