Hello, this is about a failed installation of DBD-Oracle-1.06 on
Red Hat Linux 6.2, perl 5.005_03, Oracle 8.1.7.0.1 (standard installation).
I say that both DBI-1.15 and Oracle istallation were OK, and the previous problem,
happened with the same environment above,
but with Oracle 8.0.5.
By the way the problem is:
---------------------------------------------------------------
1. after perl Makefile.PL -v
....OK
'-lnls8' found at /u01/app/oracle/product/8.1.7/lib//libnls8.a
'-lcore8' found at /u01/app/oracle/product/8.1.7/lib//libcore8.a
'-lnls8' found at /u01/app/oracle/product/8.1.7/lib//libnls8.a
dl not found in /u01/app/oracle/product/8.1.7/lib/
dl not found in /usr/local/lib
'-ldl' found at /lib/libdl.so.2
m not found in /u01/app/oracle/product/8.1.7/lib/
m not found in /usr/local/lib
'-lm' found at /lib/libm.so.6
pthread not found in /u01/app/oracle/product/8.1.7/lib/
pthread not found in /usr/local/lib
'-lpthread' found at /lib/libpthread.so.0
dl not found in /u01/app/oracle/product/8.1.7/lib/
dl not found in /usr/local/lib
'-ldl' found at /lib/libdl.so.2
m not found in /u01/app/oracle/product/8.1.7/lib/[1;1H[?25h[?25l[H[2J[1;1H'-ldl'
found at /lib/libdl.so.2
m not found in /u01/app/oracle/product/8.1.7/lib/
m not found in /usr/local/lib
'-lm' found at /lib/libm.so.6
Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories from
your 'privlib' and 'archlib' directories and their auto subdirectories.
Using DBD::Oracle 1.06.
Using DBI 1.15 installed in
/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI[13;1HWriting Makefile for
DBD::Oracle
Constant subroutine __stub_lgammal redefined at /usr/lib/perl5/5.00503/i386-linu
[15;1Hx/gnu/stubs.ph line 58.
Constant subroutine __stub_lgammal_r redefined at /usr/lib/perl5/5.00503/i386-li
[17;1Hnux/gnu/stubs.ph line 64.
Constant subroutine __need_size_t undefined at /usr/lib/perl5/5.00503/i386-linux
[19;1H/stddef.ph line 131.
You have a wait.ph file generated by perl h2ph utility.
It does not define a WCOREDUMP function. That's probably an error.
If a DBD::Oracle test fails then you will probably see a message
from Test::Harness about WCOREDUMP being undefined. You can either ignore
it or try to fix your wait.ph file. The message does not reflect the
cause of the test failure, it's just a problem interpreting the failure.
------------------------------------------------------------------------------------------
2. after make test:
...OK
t/plsql.............1..63
...OK
ok 54
dubious
Test returned status 0 (wstat 139, 0x8b)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/lib/perl5/5.00503/Test/Harness.pm line 288.
make: *** [test_dynamic] Error 255
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
perl -V:
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=linux, osvers=2.2.5-22smp, archname=i386-linux
uname='linux porky.devel.redhat.com 2.2.5-22smp #1 smp wed jun 2 09:11:51 edt 1999
i686 unknown '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-O2 -m486 -fno-strength-reduce', gccversion=egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)
cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
stdchar='char', d_stdstdio=undef, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lc -lposix -lcrypt
libc=, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Built under linux
Compiled at Feb 2 2000 15:35:58
@INC:
/usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux
/usr/lib/perl5/site_perl/5.005
.
There are 6 wait.ph files:
------------------------------------------------
wait1(true name is wait.ph) in /usr/lib/perl/5.00503/i386-linux:
require '_h2ph_pre.ph';
require 'sys/wait.ph';
1;
----------------------------------------------------
wait2 in /usr/lib/perl/5.00503/i386-linux/linux:
require '_h2ph_pre.ph';
unless(defined(&_LINUX_WAIT_H)) {
eval 'sub _LINUX_WAIT_H () {1;}' unless defined(&_LINUX_WAIT_H);
eval 'sub WNOHANG () {0x00000001;}' unless defined(&WNOHANG);
eval 'sub WUNTRACED () {0x00000002;}' unless defined(&WUNTRACED);
eval 'sub __WCLONE () {0x80000000;}' unless defined(&__WCLONE);
if(defined(&__KERNEL__)) {
require 'asm/page.ph';
eval 'sub WAIT_QUEUE_HEAD {
local($x) = @_;
eval q(((($x)-1)));
}' unless defined(&WAIT_QUEUE_HEAD);
}
}
1;
-------------------------------------------------------------
wait3 in /usr/lib/perl/5.00503/i386-linux/sys:
require '_h2ph_pre.ph';
unless(defined(&_SYS_WAIT_H)) {
eval 'sub _SYS_WAIT_H () {1;}' unless defined(&_SYS_WAIT_H);
require 'features.ph';
require 'bits/types.ph';
if(defined (defined(&__USE_XOPEN) ? &__USE_XOPEN : 0) && !defined
(defined(&pid_t) ? &pid_t : 0)) {
eval 'sub pid_t () { &pid_t;}' unless defined(&pid_t);
}
require 'bits/waitflags.ph';
if(defined(&__USE_BSD)) {
if(defined (defined(&__GNUC__) ? &__GNUC__ : 0) && !defined (defined(&__cplusplus) ?
&__cplusplus : 0)) {
eval 'sub __WAIT_INT {
local($status) = @_;
eval q(( &__extension__ ({ &union { &__typeof &__in; \'int\' &__i; } &__u;
($__u->{__in}) = ($status); ($__u->{__i}); })));
}' unless defined(&__WAIT_INT);
} else {
eval 'sub __WAIT_INT {
local($status) = @_;
eval q((* ($status)));
}' unless defined(&__WAIT_INT);
}
if(!defined (defined(&__GNUC__) ? &__GNUC__ : 0) || (defined(&__GNUC__) ? &__GNUC__ :
0) < 2|| defined (defined(&__cplusplus) ? &__cplusplus : 0)) {
eval 'sub __WAIT_STATUS () { &__ptr_t;}' unless defined(&__WAIT_STATUS);
eval 'sub __WAIT_STATUS_DEFN () { &__ptr_t;}' unless defined(&__WAIT_STATUS_DEFN);
} else {
eval 'sub __WAIT_STATUS_DEFN () {\'int\' *;}' unless defined(&__WAIT_STATUS_DEFN);
}
} else {
eval 'sub __WAIT_INT {
local($status) = @_;
eval q(($status));
}' unless defined(&__WAIT_INT);
eval 'sub __WAIT_STATUS () {\'int\' *;}' unless defined(&__WAIT_STATUS);
eval 'sub __WAIT_STATUS_DEFN () {\'int\' *;}' unless defined(&__WAIT_STATUS_DEFN);
}
require 'bits/waitstatus.ph';
eval 'sub WEXITSTATUS {
local($status) = @_;
eval q( &__WEXITSTATUS( &__WAIT_INT($status)));
}' unless defined(&WEXITSTATUS);
eval 'sub WTERMSIG {
local($status) = @_;
eval q( &__WTERMSIG( &__WAIT_INT($status)));
}' unless defined(&WTERMSIG);
eval 'sub WSTOPSIG {
local($status) = @_;
eval q( &__WSTOPSIG( &__WAIT_INT($status)));
}' unless defined(&WSTOPSIG);
eval 'sub WIFEXITED {
local($status) = @_;
eval q( &__WIFEXITED( &__WAIT_INT($status)));
}' unless defined(&WIFEXITED);
eval 'sub WIFSIGNALED {
local($status) = @_;
eval q( &__WIFSIGNALED( &__WAIT_INT($status)));
}' unless defined(&WIFSIGNALED);
eval 'sub WIFSTOPPED {
local($status) = @_;
eval q( &__WIFSTOPPED( &__WAIT_INT($status)));
}' unless defined(&WIFSTOPPED);
if(defined(&__USE_BSD)) {
eval 'sub WCOREFLAG () { &__WCOREFLAG;}' unless defined(&WCOREFLAG);
eval 'sub WCOREDUMP {
local($status) = @_;
eval q( &__WCOREDUMP( &__WAIT_INT($status)));
}' unless defined(&WCOREDUMP);
eval 'sub W_EXITCODE {
local($ret, $sig) = @_;
eval q( &__W_EXITCODE($ret, $sig));
}' unless defined(&W_EXITCODE);
eval 'sub W_STOPCODE {
local($sig) = @_;
eval q( &__W_STOPCODE($sig));
}' unless defined(&W_STOPCODE);
}
if(defined (defined(&__USE_SVID) ? &__USE_SVID : 0) || defined
(defined(&__USE_XOPEN) ? &__USE_XOPEN : 0)) {
}
if(defined(&__USE_BSD)) {
eval 'sub WAIT_ANY () {(-1);}' unless defined(&WAIT_ANY);
eval 'sub WAIT_MYPGRP () {0;}' unless defined(&WAIT_MYPGRP);
}
if(defined (defined(&__USE_SVID) ? &__USE_SVID : 0) || defined
(defined(&__USE_XOPEN) ? &__USE_XOPEN : 0)) {
eval 'sub __need_siginfo_t () {1;}' unless defined(&__need_siginfo_t);
require 'bits/siginfo.ph';
}
if(defined (defined(&__USE_BSD) ? &__USE_BSD : 0) || defined
(defined(&__USE_XOPEN_EXTENDED) ? &__USE_XOPEN_EXTENDED : 0)) {
}
if(defined(&__USE_BSD)) {
}
}
1;
------------------------------------------------
and 3 files like wait1-2-3 in ORACLE_HOME
-----------------------------------------------
help me, please
Alberto