| Store | Cart

building DBD::Oracle 1.17 with 64 bit perl588 on AIX 5.1

From: John L. Allen <all...@grumman.com>
Wed, 1 Mar 2006 09:59:19 -0500 (EST)
[ I posted this on perl.dbi.users, but have gotten no response yet ]

I've been unable to get through a "make test" of DBD::Oracle 1.17 using
a 64 bit perl588 on AIX 5.1 built with the AIX vac.C 5.0.2.8 compiler.
 It gets stuck here:

t/01base................dubious

        Test returned status -1 (wstat 132, 0x84)
t/10general.............^C  # this one hung and had to be killed

The rest of the tests mostly got the "dubious" status.  Not very
promising.  And it turns out that the 01base test failed with a core
dump.

Now, it turns out that everything works just fine with a 32 bit per588
build.  But I want to use the freakin' 64 bit perl build dag nabbit!

We are using 32 bit Oracle 8.1.7.4 client and server, but I don't see
why it shouldn't be able to be made to work with a 64 bit build of
perl.

And in both the 32 and 64 bit cases, I had to use perl588 Makefile.PL
-p to avoid a linker error.

Any help appreciated,

John.

[ my 64 bit perl -V follows, in case it helps ]
--------------
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=aix, osvers=5.1.0.0, archname=aix-thread-multi-64int-ld
    uname='aix baewi168 1 5 0001542a4c00 '
    config_args='-des -Dprefix=/prod/free/perl588 -Dusemorebits
-Dusethreads -Dcc=xlc -Accflags=-DAPPLLIB_EXP=\"/prod/libperl\"'
    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=define
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc_r', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=-1 -qnoansialias -qlongdouble -DUSE_NATIVE_DLOPEN
-DAPPLLIB_EXP="/prod/libperl" -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES
-qlonglong',
    optimize='-O',
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=-1 -qnoansialias -qlongdouble -DUSE_NATIVE_DLOPEN
-DAPPLLIB_EXP="/prod/libperl" -DNEED_PTHREAD_INIT'
    ccversion='5.0.2.8', gccversion='', gccosandvers=''
    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='long double', nvsize=16,
Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -brtl -bdynamic -bmaxdata:0x80000000 -b32'
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lc128 -lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lpthreads -lc
-lbsd
    perllibs=-lc128 -lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc
-lbsd
    libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-bE:/prod/free/perl588/lib/5.8.8/aix-thread-multi-64int-ld/CORE/perl.exp'
    cccdlflags=' ', lddlflags='-bhalt:4 -bexpall -G -bnoentry -lc128
-lpthreads -lc'

Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
USE_64_BIT_INT
                        USE_ITHREADS USE_LARGE_FILES USE_LONG_DOUBLE
                        USE_PERLIO USE_REENTRANT_API
  Built under aix
  Compiled at Feb 24 2006 14:26:24
  @INC:
    /prod/libperl/5.8.8
    /prod/libperl
    /prod/free/perl588/lib/5.8.8/aix-thread-multi-64int-ld
    /prod/free/perl588/lib/5.8.8
    /prod/free/perl588/lib/site_perl/5.8.8/aix-thread-multi-64int-ld
    /prod/free/perl588/lib/site_perl/5.8.8
    /prod/free/perl588/lib/site_perl

Recent Messages in this Thread
John L. Allen Mar 01, 2006 02:59 pm
H.Merijn Brand Mar 01, 2006 03:06 pm
John L. Allen Mar 01, 2006 04:01 pm
H.Merijn Brand Mar 01, 2006 04:21 pm
Dave Mitchell Mar 01, 2006 04:46 pm
H.Merijn Brand Mar 01, 2006 04:52 pm
John L. Allen Mar 01, 2006 05:09 pm
H.Merijn Brand Mar 01, 2006 05:17 pm
John L. Allen Mar 01, 2006 05:38 pm
John L. Allen Mar 03, 2006 04:45 pm
Alan Olsen Mar 01, 2006 05:19 pm
Messages in this thread