Hello All-
        I am trying to install DBI 1.21 on 2 machines with Perl 5.6.0 and Solaris 2.6. 
I have read the README.
        /usr/local/ is a symlink to /export/home/local (for reasons I prefer not to 
discuss :) with perl residing in /export/home/local/bin. I'm wondering is this is at 
all part of my compialtion problem, despite the fact that perl scripts that start with 
#!/usr/local/bin/perl work just fine.
        On one machine I get a Segmentation Fault when running "perl Makefile.PL" 
right after:

    Remember to actually *read* the README file!
    Use  'make' to build the software (dmake or nmake on Windows).
    Then 'make test' to execute self tests.
    Then 'make install' to install the DBI and then delete this working
    directory before unpacking and building any DBD::* drivers.
        
<segfault here>

        On the second machine the same command exits without error, make succeeds, but 
then make test returns the following:

Failed Test  Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------
t/basics.t         0    11    36    0   0.00%  ??
t/dbidrv.t         0    11    17    0   0.00%  ??
t/examp.t          0    11   201  200  99.50%  2-201
t/meta.t           0    11     6    0   0.00%  ??
t/preparse.t       0    11    23    0   0.00%  ??
t/proxy.t          0    11    ??   ??       %  ??
t/shell.t          0    11     3    0   0.00%  ??
t/subclass.t       0    11    15    0   0.00%  ??
Failed 8/8 test scripts, 0.00% okay. 200/301 subtests failed, 33.55% okay.
make: *** [test_dynamic] Error 2
  /usr/local/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

        There is a lot more output from make test with TEST_VERBOSE=1, but most of it 
is related to optioanl modules that I do not have installed, i.e. they are not fatal 
errors.
        I have looked for  *** [test_dynamic] Error 2 at lots of mailing list archives 
and although I get plenty of results returned, none of them address my problem 
directly. I have attached the complet output of "make test TEST_VERBOSE=1" for those 
of you who may care to look.
        Any help would be appreciated. thanks, robert    
        
-- 
Robert Lattanzi
UNIX Administrator
USA Cable
212.413.5188
cp Changes blib/lib/DBI/Changes.pm
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 -e 'use 
Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/basics............1..36
ok 1 at line 30
ok 2 at line 31
ok 3 at line 36
ok 4 at line 39
ok 5 at line 40
ok 6 at line 46
ok 7 at line 47
ok 8 at line 48
ok 9 at line 51
ok 10 at line 54
ok 11 at line 56
ok 12 at line 57
ok 13 at line 59
ok 14 at line 60
ok 15 at line 61
ok 16 at line 62
ok 17 at line 64
ok 18 at line 65
ok 19 at line 66
ok 20 at line 71
ok 21 at line 72
ok 22 at line 73
ok 23 at line 74
ok 24 at line 75
ok 25 at line 76
ok 26 at line 79
ok 27 at line 80
ok 28 at line 81
ok 29 at line 82
ok 30 at line 83
ok 31 at line 84
ok 32 at line 86
ok 33 at line 87
ok 34 at line 88
ok 35 at line 89
ok 36 at line 90
dubious
        Test returned status 0 (wstat 11, 0xb)
        after all the subtests completed successfully
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
dubious
        Test returned status 0 (wstat 11, 0xb)
        after all the subtests completed successfully
t/examp.............1..201
ok 1 at line 32
dubious
        Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-201
        Failed 200/201 tests, 0.50% okay
t/meta..............1..6
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
dubious
        Test returned status 0 (wstat 11, 0xb)
        after all the subtests completed successfully
t/preparse..........1..23
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
dubious
        Test returned status 0 (wstat 11, 0xb)
        after all the subtests completed successfully
t/proxy.............1..0
Can't locate RPC/PlClient.pm in @INC (@INC contains: blib/arch blib/lib 
/usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1/sun4-solaris 
/usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 
/usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1/sun4-solaris 
/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris 
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 
/usr/local/lib/perl5/site_perl . /usr/local/lib/perl5/5.6.1/sun4-solaris 
/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris 
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/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 28.
dubious
        Test returned status 0 (wstat 11, 0xb)
t/shell.............1..3
ok 1
DBI::Shell 11.02 using DBI 1.21 
ok 2
ok 3
dubious
        Test returned status 0 (wstat 11, 0xb)
        after all the subtests completed successfully
t/subclass..........1..15
ok 1 at 86
ok 2 at 99
ok 3 at 100
ok 4 at 103
ok 5 at 104
ok 6 at 107
ok 7 at 108
ok 8 at 110
ok 9 at 112
ok 10 at 113
ok 11 at 119
ok 12 at 120
ok 13 at 121
ok 14 at 122
ok 15 at 123
dubious
        Test returned status 0 (wstat 11, 0xb)
        after all the subtests completed successfully
Failed Test  Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------
t/basics.t         0    11    36    0   0.00%  ??
t/dbidrv.t         0    11    17    0   0.00%  ??
t/examp.t          0    11   201  200  99.50%  2-201
t/meta.t           0    11     6    0   0.00%  ??
t/preparse.t       0    11    23    0   0.00%  ??
t/proxy.t          0    11    ??   ??       %  ??
t/shell.t          0    11     3    0   0.00%  ??
t/subclass.t       0    11    15    0   0.00%  ??

Reply via email to