Compiling the latest DBI on my HP-UX 64BIT machine with HP's ANSI C
Compiler.  I have been having problems getting DBD to work.  In
troubleshooting, I went back to make sure DBI was working correctly.
Perhaps not.  When I do the make test with the VERBOSE on, I get this.
Please note the failures way down in this email (they are hard to see but
they are there).  Any clue what is going on?  My perl build information
follows between the "=======".  Thank you all,

NOTE: I have followed Lincoln's Excellent README.hpux.


Mike


=====================================================

PERL -V OUTPUT

=====================================================

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=hpux, osvers=11.00, archname=PA-RISC2.0
    uname='hp-ux magneto b.11.00 u 9000800 1692319303 unlimited-user license
'
    config_args='-Ubincompat5005'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='cc', ccflags =' +z -D_HPUX_SOURCE -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -Ae',
    optimize='-O',
    cppflags='+z -D_HPUX_SOURCE -Aa -I/usr/local/include'
    ccversion='B.11.11.02', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -Wl,+vnocompatwarnings -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lcl -lpthread -lnsl -lnm -lndbm -ldld -lm -lc -lndir -lcrypt -lsec
    perllibs=-lcl -lpthread -lnsl -lnm -ldld -lm -lc -lndir -lcrypt -lsec
    libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-B,deferred '
    cccdlflags='+z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under hpux
  Compiled at Oct 10 2001 15:28:49
  @INC:
    /opt/perl5/lib/5.6.1/PA-RISC2.0
    /opt/perl5/lib/5.6.1
    /opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0
    /opt/perl5/lib/site_perl/5.6.1
    /opt/perl5/lib/site_perl
    .

========================================================

DBI WITH VERBOSE OUTPUT


========================================================

 make test TEST_VERBOSE=1
        /opt/perl5/bin/perl -I/opt/perl5/lib/5.6.1/PA-RISC2.0
-I/opt/perl5/lib/5.6.1 /opt/perl5/lib/5.6.1/ExtUtils/xsubpp  -typemap
/opt/perl5/lib/5.6.1/ExtUtils/typemap Perl.xs > Perl.xsc && mv Perl.xsc
Perl.c
        cc -c  +z -D_HPUX_SOURCE -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Ae -O    -DVERSION=\"1.20\"  -DXS_VERSION=\"1.20\"
+z -I/opt/perl5/lib/5.6.1/PA-RISC2.0/CORE -DDBI_NO_THREADS Perl.c
        /opt/perl5/bin/perl -I/opt/perl5/lib/5.6.1/PA-RISC2.0
-I/opt/perl5/lib/5.6.1 /opt/perl5/lib/5.6.1/ExtUtils/xsubpp  -typemap
/opt/perl5/lib/5.6.1/ExtUtils/typemap DBI.xs > DBI.xsc && mv DBI.xsc DBI.c
        cc -c  +z -D_HPUX_SOURCE -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Ae -O    -DVERSION=\"1.20\"  -DXS_VERSION=\"1.20\"
+z -I/opt/perl5/lib/5.6.1/PA-RISC2.0/CORE -DDBI_NO_THREADS DBI.c
        rm -f blib/arch/auto/DBI/DBI.sl
        LD_RUN_PATH="" ld  -b +vnocompatwarnings -L/usr/local/lib DBI.o  -o
blib/arch/auto/DBI/DBI.sl     
        chmod 755 blib/arch/auto/DBI/DBI.sl
        cp DBI.bs blib/arch/auto/DBI/DBI.bs
        chmod 644 blib/arch/auto/DBI/DBI.bs
        cp dbish blib/script/dbish
        /opt/perl5/bin/perl -I/opt/perl5/lib/5.6.1/PA-RISC2.0
-I/opt/perl5/lib/5.6.1 -MExtUtils::MakeMaker  -e "MY->fixin(shift)"
blib/script/dbish
        PERL_DL_NONLAZY=1 /opt/perl5/bin/perl -Iblib/arch -Iblib/lib
-I/opt/perl5/lib/5.6.1/PA-RISC2.0 -I/opt/perl5/lib/5.6.1 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/basics............1..31
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok
t/dbidrv............1..17
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok
t/examp.............1..175
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok 46
Taint attribute tests skipped
ok 47
ok 48
ok 49
ok 50
ok 51
ok 52
ok 53
ok 54
fetchrow_hashref('NAME_uc')
ok 55
ok 56
ok 57
ok 58
ok 59
FetchHashKeyName
ok 60
ok 61
ok 62
ok 63
ok 64
ok 65
fetchall_arrayref
ok 66
ok 67
ok 68
ok 69
ok 70
ok 71
fetchall_arrayref array slice
ok 72
ok 73
ok 74
ok 75
fetchall_arrayref hash slice
ok 76
ok 77
ok 78
ok 79
fetchall_arrayref hash
ok 80
ok 81
ok 82
ok 83
ok 84
ok 85
selectrow_array
ok 86
ok 87
selectrow_hashref
ok 88
ok 89
ok 90
ok 91
selectall_arrayref
ok 92
ok 93
ok 94
ok 95
selectall_arrayref Slice array slice
ok 96
ok 97
ok 98
ok 99
selectall_arrayref Columns array slice
ok 100
ok 101
ok 102
ok 103
selectall_arrayref hash slice
ok 104
ok 105
ok 106
ok 107
ok 108
ok 109
ok 110
selectall_hashref
ok 111
ok 112
ok 113
ok 114
selectall_hashref by column number
ok 115
ok 116
selectcol_arrayref
ok 117
ok 118
ok 119
selectcol_arrayref column slice
ok 120
ok 121
ok 122
ok 123
begin_work...
ok 124
ok 125
ok 126
ok 127
ok 128
ok 129
ok 130
ok 131
ok 132
ok 133
others...
ok 134
ok 135
RaiseError & PrintError & ShowErrorStatement
ok 136
ok 137
ok 138
ok 139
ok 140
ok 141
ok 142
ok 143
ok 144
ok 145
ok 146
ok 147
ok 148
ok 149
ok 150
ok 151
dump_results
ok 152
ok 153
ok 154
ok 155
table_info
ok 156
ok 157
ok 158
ok 159
ok 160
ok 161
Testing the fake directories (0).
ok 162
ok 163
ok 164
ok 165
Testing the fake directories (100).
ok 166
ok 167
ok 168
ok 169
Testing the fake directories (200).
ok 170
ok 171
ok 172
ok 173
ok 174
Testing $dbh->func().
ok 175
ok
t/meta..............1..6
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok
t/preparse..........1..2
ok 1
ok 2
ok
t/proxy.............1..0
Can't locate RPC/PlClient.pm in @INC (@INC contains: blib/arch blib/lib
/opt/perl5/lib/5.6.1/PA-RISC2.0 /opt/perl5/lib/5.6.1/PA-RISC2.0
/opt/perl5/lib/5.6.1/PA-RISC2.0 /opt/perl5/lib/5.6.1
/opt/perl5/lib/5.6.1/PA-RISC2.0 /opt/perl5/lib/5.6.1/PA-RISC2.0
/opt/perl5/lib/5.6.1 /opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0
/opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0 /opt/perl5/lib/site_perl/5.6.1
/opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0 /opt/perl5/lib/site_perl/5.6.1
/opt/perl5/lib/site_perl . /opt/perl5/lib/5.6.1/PA-RISC2.0
/opt/perl5/lib/5.6.1 /opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0
/opt/perl5/lib/site_perl/5.6.1 /opt/perl5/lib/site_perl .) at
blib/lib/DBD/Proxy.pm line 28.
BEGIN failed--compilation aborted at blib/lib/DBD/Proxy.pm line 28.
Compilation failed in require at t/proxy.t line 26.
skipped test on this platform
t/shell.............1..3
ok 1
Use of uninitialized value in concatenation (.) or string at
blib/lib/DBI/Shell.pm line 264.
Use of uninitialized value in pattern match (m//) at
/opt/perl5/lib/5.6.1/Term/Cap.pm line 284.
Use of uninitialized value in pattern match (m//) at
/opt/perl5/lib/5.6.1/Term/Cap.pm line 284.
DBI::Shell 11.02 using DBI 1.20 
ok 2
ok 3
ok
t/subclass..........1..6
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok
All tests successful, 1 test skipped.
Files=8, Tests=240,  1 wallclock secs ( 0.76 cusr +  0.17 csys =  0.93 CPU)
        PERL_DL_NONLAZY=1 /opt/perl5/bin/perl -Iblib/arch -Iblib/lib
-I/opt/perl5/lib/5.6.1/PA-RISC2.0 -I/opt/perl5/lib/5.6.1 test.pl
test.pl 
DBI test application $Revision: 11.2 $
Using /u01/DBI_src/DBI-1.20/blib
Switch: DBI 1.20 by Tim Bunce, 1.20
Available Drivers: ExampleP, Oracle, Proxy
dbi:ExampleP:: testing 5 sets of 20 connections:
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 
Disconnecting...
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 
Disconnecting...
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 
Disconnecting...
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 
Disconnecting...
Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 
Disconnecting...
Made 100 connections in  0 wallclock secs ( 0.02 usr +  0.00 sys =  0.02
CPU)

Testing handle creation speed...
5000 NullP statement handles cycled in 0.6 cpu+sys seconds (8196 per sec)

test.pl done

Reply via email to