[rt-users] Apache::DBI module installation fails.

Luc Violaté lvi at oleane.net
Wed Apr 16 04:14:27 EDT 2003


Hello Camron,

I got to the same problem (exact same output to make test), and I
couldn't got Apache::DBI 0.91 to work.
I've even recompiled modperl with the appropriate option but it didn't
worked.

(from man Apache::DBI

PREREQUISITES
        Note that this module needs mod_perl-1.08 or higher,
apache_1.3.0 or higher and that mod_perl needs to be configured with the
appropriate call-back hooks:

          PERL_CHILD_INIT=1 PERL_STACKED_HANDLERS=1.
)

I've tried to install an older version of Apache::DBI (0.88), which was
ok, but then when I used RT, it was leaving all the mysql connection
open until I got an apache internal process error.

I would say it is something on which Apache::DBI rely that is not working.

As I couldn't find any solution, I've switched back to RT2

Good luck

           Luc


here is some verbose for the make test:

> make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 -e 'use Test::Harness
qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/10mysql....1..7
ok 1 - use Apache::DBI;
ok 2 - DBD::mysql loaded
28402 Apache::DBI             need ping: yes
28402 Apache::DBI             new connect to
'testAutoCommit=1PrintError=1RaiseError=1'
not ok 3 - Connected 1
#     Failed test (t/10mysql.t at line 23)
28402 Apache::DBI             need ping: no
28402 Apache::DBI             already connected to
'testAutoCommit=1PrintError=1RaiseError=1'
not ok 4 - Connected 2
#     Failed test (t/10mysql.t at line 26)
ok 5 - got the same connection both times
28402 Apache::DBI             need ping: no
28402 Apache::DBI             already connected to
'testAutoCommit=1PrintError=1RaiseError=1'
not ok 6 - Connected 3
#     Failed test (t/10mysql.t at line 31)
not ok 7 - got different connection from different attributes
#     Failed test (t/10mysql.t at line 33)
#     'ne'
#
#     undef
# Looks like you failed 4 tests of 7.
dubious
         Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 3-4, 6-7
         Failed 4/7 tests, 42.86% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/10mysql.t    4  1024     7    4  57.14%  3-4 6-7
Failed 1/1 test scripts, 0.00% okay. 4/7 subtests failed, 42.86% okay.
make: *** [test_dynamic] Error 2

Camron W. Fox wrote:
> Alle,
> 
> 	When I ran perl
> sbin/rt-test-dependencies --with-mysql --with-modperl1 --install, everything
> worked properly except the Apache::DBI installation. perl
> sbin/rt-test-dependencies --with-mysql --with-modperl1 shows:
> 
> <SNIP>
> ...
> MODPERL1 dependencies:
> 	CGI ...found
> 	Apache::Request ...found
> 	Apache::DBI ...MISSING
> ...
> 
> 	But a double check of installed modules shows:
> 
> [root at hilo rt-3-0-0]# /usr/local/bin/check_perl_mods | grep Apache::DBI
> Apache::DBI -- 0.88
> [root at hilo rt-3-0-0]#
> 
> 	CPAN tries to install the current Apache-DBI-0.91 but I get the following
> error:
> 
> <SNIP>
> ...
> Running make test
> PERL_DL_NONLAZY=1
> /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/i386-linux -I/us
> r/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0;
> runtests @ARGV;' t/*.t
> t/10mysql....ok 2/7#     Failed test (t/10mysql.t at line 23)
> #     Failed test (t/10mysql.t at line 26)
> t/10mysql....ok 5/7#     Failed test (t/10mysql.t at line 31)
> #     Failed test (t/10mysql.t at line 33)
> #     'ne'
> #
> #     undef
> # Looks like you failed 4 tests of 7.
> t/10mysql....dubious
> 	Test returned status 4 (wstat 1024, 0x400)
> DIED. FAILED tests 3-4, 6-7
> 	Failed 4/7 tests, 42.86% okay
> Failed Test Stat Wstat Total Fail  Failed  List of Failed
> ----------------------------------------------------------------------------
> ---
> t/10mysql.t    4  1024     7    4  57.14%  3-4 6-7
> Failed 1/1 test scripts, 0.00% okay. 4/7 subtests failed, 42.86% okay.
> make: *** [test_dynamic] Error 2
>   /usr/bin/make test -- NOT OK
> Running make install
>   make test had returned bad status, won't install without force
> ...
> 
> 	I have also tried doing it by hand with no joy. Can anyone offer some
> advice?
> 
> Best Regards,
> Camron
> 
> Camron W. Fox
> Hilo Office
> High Performance Computing Group
> Fujitsu America, INC.
> E-mail:		cwfox at fujitsu.com
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm






More information about the rt-users mailing list