All,

I posted this from my newsreader, but it didn't seem to appear.  My 
apologies in advance if this is a duplicate.

I've been attempting to build Inline::Java under AIX 4.3.3 (32-bit mode) 
and not having a great deal of success:

(Edited for readibility)


Script started on Fri Feb 27 14:45:16 2004@/home/hirschs/.cpan/build/Inline-Java-0.46
$ make test
gmake[1]: Entering directory `/home/hirschs/.cpan/build/Inline-Java-0.46/Java'
gmake[2]: Entering directory `/home/hirschs/.cpan/build/Inline-Java-0.46/Java/Natives'
gmake[2]: Leaving directory `/home/hirschs/.cpan/build/Inline-Java-0.46/Java/Natives'
gmake[1]: Leaving directory `/home/hirschs/.cpan/build/Inline-Java-0.46/Java'
PERL_DL_NONLAZY=1 /afs/btv.ibm.com/u4/hirschs/local/bin/perl "-MExtUtils::Command::MM" 
\
             "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01_init..............
Perl version is 5.008
Inline version is 0.44
Inline::Java version is 0.46
J2SDK version is 1.3.1, from /usr/java131
CLASSPATH is <empty>
t/01_init..............ok
t/02_primitives........
  Method _byte for class types2 with signature (byte) not found at (eval 8) line 652
    at t/02_primitives.t line 25
t/02_primitives........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-99
        Failed 99/99 tests, 0.00% okay
t/03_objects...........ok 1/16
   Method _obj1 for class types3 with signature (obj13) not found at (eval 12) line 77
     at t/03_objects.t line 25
t/03_objects...........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-16
        Failed 15/16 tests, 6.25% okay
t/04_members...........ok 18/28
   Method get_data for class obj14 with signature () not found at (eval 8) line 192
     at t/04_members.t line 67
t/04_members...........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 19-28
        Failed 10/28 tests, 64.29% okay
t/05_arrays............
   Method _byte for class types5 with signature ([B) not found at (eval 8) line 652
     at t/05_arrays.t line 19
t/05_arrays............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-55
        Failed 55/55 tests, 0.00% okay
t/06_static............
t/06_static............ok 1/10
   Constructor p06.types6 for class p06.types6 with signature 
      (java.lang.String,java.lang.String) not found at 
         /home/hirschs/.cpan/build/Inline-Java-0.46/blib/lib/Inline/Java/Object.pm 
line 48
 at t/06_static.t line 19
 at t/06_static.t line 19
t/06_static............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-10
        Failed 9/10 tests, 10.00% okay
t/07_polymorph.........
    Method func for class types7 with signature (int) not found at (eval 10) line 146
      at t/07_polymorph.t line 24
t/07_polymorph.........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-22
        Failed 22/22 tests, 0.00% okay
t/08_study.............ok
t/09_usages............ok
t/10_1_shared_alone....ok
t/10_2_shared_start....ok
t/10_3_shared_use......ok
t/10_4_shared_stop.....ok
t/10_5_shared_fork.....ok 1/8
   Method incr for class t10 with signature () not found at (eval 8) line 57
    at t/10_5_shared_fork.t line 67
   Method incr for class t10 with signature () not found at (eval 8) line 57
    at t/10_5_shared_fork.t line 67
   Method incr for class t10 with signature () not found at (eval 8) line 57
    at t/10_5_shared_fork.t line 67
   Method incr for class t10 with signature () not found at (eval 8) line 57
    at t/10_5_shared_fork.t line 67
   Method incr for class t10 with signature () not found at (eval 8) line 57
    at t/10_5_shared_fork.t line 67
t/10_5_shared_fork.....ok 5/8
   # Test 6 got: '0' (t/10_5_shared_fork.t at line 53)
   #   Expected: '15'
t/10_5_shared_fork.....NOK 6
t/10_5_shared_fork.....FAILED test 6
        Failed 1/8 tests, 87.50% okay
t/10_6_shared_sim......ok
t/11_exceptions........
   Method f for class t9 with signature () not found at (eval 8) line 261
    at t/11_exceptions.t line 26
t/11_exceptions........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
        Failed 8/8 tests, 0.00% okay
t/12_1_callbacks.......
     Method add for class t15 with signature (int,int) not found at (eval 8) line 169
       at t/12_1_callbacks.t line 28
t/12_1_callbacks.......dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-23
        Failed 23/23 tests, 0.00% okay
t/12_2_perl_natives....
Note: PerlNatives is still experimental and errors here can safely
be ignored if you don't plan on using this feature. However, the
author would appreciate if errors encountered here were reported
to the mailing list ([EMAIL PROTECTED]) along with your hardware/OS
detail. Thank you.
skipped
        all skipped: no reason given
t/13_end...............ok

Failed Test          Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/02_primitives.t     255 65280    99   99 100.00%  1-99
t/03_objects.t        255 65280    16   15  93.75%  2-16
t/04_members.t        255 65280    28   10  35.71%  19-28
t/05_arrays.t         255 65280    55   55 100.00%  1-55
t/06_static.t         255 65280    10    9  90.00%  2-10
t/07_polymorph.t      255 65280    22   22 100.00%  1-22
t/10_5_shared_fork.t                8    1  12.50%  6
t/11_exceptions.t     255 65280     8    8 100.00%  1-8
t/12_1_callbacks.t    255 65280    23   23 100.00%  1-23
1 test skipped.
Failed 9/19 test scripts, 52.63% okay. 242/305 subtests failed, 20.66% okay.
gmake: *** [test_dynamic] Error 2
@/home/hirschs/.cpan/build/Inline-Java-0.46
$ exit

script done on Fri Feb 27 14:48:08 2004


This is a bit disappointing, as it works wonderfully under x86 Linux.

Can I provide any further information to assist in a diagnosis?

Here's the scoop on my environment:

AIX 4.3.3
xlc/xlC compiler suite 5.0.2.0
perl 5.8.0:

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=aix, osvers=4.3.3.0, archname=aix
    uname='aix stargate 3 4 0006944f4c00 '

    config_args='-Dinstallusrbinperl=no
-Dprefix=/afs/btv/u/hirschs/local
-Dbin=/afs/btv/u/hirschs/local/bin32-5.8.0
-Dsitebin=/afs/btv/u/hirschs/local/bin32-5.8.0 -Duselargefiles=no
-Duse64bitint=no -Duse64bitall=no -Ud_flock -Dccversion=5.0.2.0
-Dcc=cc_r -Dccname=cc_r -Doptimize=-O -Dldflags=-bnoipath
-bmaxdata:0x40000000 [EMAIL PROTECTED] -des'

    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc_r', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN',

    optimize=' ',
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN'
    ccversion='3.6.6.0', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld', ldflags ='-bnoipath -bmaxdata:0x40000000 -brtl -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lbind -lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW
    perllibs=-lbind -lnsl -ldl -lld -lm -lc -lcrypt -lbsd -lPW
    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:/afs/.btv/u/hirschs/local/lib/perl5/5.8.0/aix/CORE/perl.exp'
    cccdlflags=' ', lddlflags=' -bhalt:4 -bM:SRE
-bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -bnoentry -lc
-L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options:
  Built under aix
  Compiled at Feb 27 2004 10:11:33
  @INC:
    /afs/btv/u/hirschs/local/lib/perl5/5.8.0/aix
    /afs/btv/u/hirschs/local/lib/perl5/5.8.0
    /afs/btv/u/hirschs/local/lib/perl5/site_perl/5.8.0/aix
    /afs/btv/u/hirschs/local/lib/perl5/site_perl/5.8.0
    /afs/btv/u/hirschs/local/lib/perl5/site_perl
    .

Please let me know if more information is needed? I'm not seeing any core 
dumps, FWIW.

Steve


-- 
----------------------------------------------------------------
Steven N. Hirsch       tie-line: 446-6557     ext: 802-769-6557

Staff Engineer                     Methodology Integration Team
ASIC Product Development           IBM Microelectronics
----------------------------------------------------------------

Reply via email to