More information that may help. This is a fresh Perl 5.8, DBI 1.37 install.

I have also installed PostgreSQL and MySQL and have successfully logged on
to those database systems without the DBI.

I have also tried to install DBD::MySQL and DBD::Pg and get as far as make
test on both of them and get the near same return as the Oracle make test,
where almost all tests fail, and forcing execution out side of make test
results in coredumps. If run with debug on (-d) the scripts all hang at the
connect.

The only driver I have successfully installed an connected with is
DBD::Teradata so it doesn't seem to be a DBI.pm issue. It's more like a
missing library / Perl5.8.0 thing, but there is no indication this is the
case - at least from messages out of make, etc from any of the installs.

The Oracle, MySQL, and PostgreSQL perl drivers are all failing to connect.
Since this all seems to be related, can anyone point me to the gremlin? What
can I provide that might help?

Thanks,
Mike


"Mike Vanole" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
..
Ok,

Thanks Tim for the oci8.c patch. Make ran great. But now I can't get the
tests to run.

Running Oracle 8.1.6.


>make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base.......dubious
        Test returned status 0 (wstat 139, 0x8b)
t/cursor.....dubious
        Test returned status 0 (wstat 139, 0x8b)
t/general....dubious
        Test returned status 0 (wstat 139, 0x8b)
t/long.......dubious
        Test returned status 0 (wstat 139, 0x8b)
t/meta.......dubious
        Test returned status 0 (wstat 139, 0x8b)
t/ph_type....dubious
        Test returned status 0 (wstat 139, 0x8b)
t/plsql......dubious
        Test returned status 0 (wstat 139, 0x8b)
t/reauth.....skipped
        all skipped: no reason given
t/select.....dubious
        Test returned status 0 (wstat 139, 0x8b)
FAILED--9 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2


I've tried the various ways to logon, as detailed in the POD, to no avail.
If I run test.pl outside of make I get a core dump. If I run my own scripts
I get a core dump. I was able to run base.t w/o error by just running it.

BTW...I also tried installing DBD-Oracle-1.06 into the Perl 5.8.0 tree and
my scripts core dumped also. May be a perl installation problem??


>perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi-64int
    uname='sunos ccdev01 5.8 generic_108528-13 sun4u sparc
sunw,ultra-enterprise '
    config_args='-Dcc=gcc -Duseperlio -Dusethreads'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags
='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.2 19991024 (release)',
gccosandvers='solaris2.8'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, 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 -lrt -lpthread -lc
    perllibs=-lsocket -lnsl -ldl -lm -lrt -lpthread -lc
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  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_64_BIT_INT
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under solaris
  Compiled at Jun 23 2003 21:16:57
  @INC:
    /usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi-64int
    /usr/local/lib/perl5/5.8.0
    /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris-thread-multi-64int
    /usr/local/lib/perl5/site_perl/5.8.0
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl
    .



Thanks again,
Mike



Reply via email to