DBI-1.14
am 10.05.2006 16:46:50 von Jon.Baldassari
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:
root@gmd-qa-app1-># 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:
root@gmd-qa-app1-># 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
jon.baldassari@prnewswire.com | jbaldassari@mycingular.blackberry.net | 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.
RE: DBI-1.14
am 10.05.2006 17:21:47 von Ron.Reidy
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:Jon.Baldassari@prnewswire.com]=20
Sent: Wednesday, May 10, 2006 8:47 AM
To: dbi-users@perl.org
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:
root@gmd-qa-app1-># 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/D river.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=3D\"1.14\" -DXS_VERSION=3D\"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=3D\"1.14\" -DXS_VERSION=3D\"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:
root@gmd-qa-app1-># perl -V Makefile.PL
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=3Dsolaris, osvers=3D2.8, archname=3Dsun4-solaris
uname=3D'sunos gmd-qa-app1 5.8 generic_108528-26 sun4u sparc
sunw,ultra-60 '
hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
usethreads=3Dundef useperlio=3Dundef d_sfio=3Dundef
Compiler:
cc=3D'gcc -B/usr/ccs/bin/', optimize=3D'-O', gccversion=3D2.95.2 =
19991024
(release)
cppflags=3D'-I/usr/local/include'
ccflags =3D'-I/usr/local/include'
stdchar=3D'char', d_stdstdio=3Ddefine, usevfork=3Dfalse
intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8
d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, =
longdblsize=3D16
alignbytes=3D8, usemymalloc=3Dy, prototype=3Ddefine
Linker and Libraries:
ld=3D'gcc -B/usr/ccs/bin/', ldflags =3D' -L/usr/local/lib'
libpth=3D/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=3D-lsocket -lnsl -ldl -lm -lc -lcrypt
libc=3D/lib/libc.so, so=3Dso, useshrplib=3Dfalse, =
libperl=3Dlibperl.a
Dynamic Linking:
dlsrc=3Ddl_dlopen.xs, dlext=3Dso, d_dlsymun=3Dundef, ccdlflags=3D' '
cccdlflags=3D'-fPIC', lddlflags=3D'-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
jon.baldassari@prnewswire.com | jbaldassari@mycingular.blackberry.net |
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=20
to be for the use of the individual or entity named above. If you are =
not the=20
intended recipient, please be aware that any disclosure, copying, =
distribution=20
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.
Re: DBI-1.14
am 11.05.2006 15:28:59 von matthew.persico
On 5/10/06, Jon Baldassari wrote:
> I recompiled PERL from source, to have it use gcc. The installation went =
fine. I installed the following PERL Modules:
> DBD-1.28
DBD What? DBD-Oracle? DBD-Sybase?
> 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 w=
hen trying install the PERL Module DBI-1.14 while running make:
>
> root@gmd-qa-app1-># 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
Running make for DBI-1.14 AFAIK should NOT result in DBD/Oracle directories=
..
Try this:
1) Whatever that DBD-1.28 is, uninstall it from your perl tree. Just
delete the files directly if need be (please tell me this is a
DEVELOPMENT machine you are testing all this on!)
2)Pull down DBI-1.TheLatestVersion. Its probably 1.14. Put it in a
brand new directory with nothing else in it.
3) Build JUST DBI-1.14 with the typical
perl Makefile.PL
make
make test
make install
sequence.
If that works, then go pull down whatever DBD you need and then build that.
HTH
--=20
Matthew O. Persico