[rt-users] install problem

Benjamin Herbert herbert at isis.visi.com
Thu May 15 13:34:49 EDT 2003


Hello All,

I am having a problem installing the DBD::mysql perl module, which rt
requires.  I don't know if this is the correct list to email to but
maybe one of you have experienced the same thing when installing rt.
Here is the error I get when I user CPAN to install the module.  It is
in the 'make test' section:

PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00base...........ok
t/10dsnlist........ok
t/20createdrop.....ok
t/30insertfetch....ok
t/40bindparam......ok
t/40blobs..........ok
t/40listfields.....ok
t/40nulls..........ok
t/40numrows........ok
t/50chopblanks.....ok
t/50commit.........ok
t/60leaks..........skipped
	all skipped: no reason given
t/ak-dbd...........ok
t/akmisc...........ok
t/dbdadmin.........NOK 7New DB not in DSN list
t/dbdadmin.........NOK 11DSN testab not in DSN list.
t/dbdadmin.........NOK 15DSN testac not in DSN list.
t/dbdadmin.........FAILED tests 7, 11, 15
	Failed 3/21 tests, 85.71% okay
t/insertid.........ok
t/mysql2...........ok
t/mysql............ok
Failed Test  Stat Wstat Total Fail  Failed  List of Failed
-----------------------------------------------------------------------------
t/dbdadmin.t               21    3  14.29%  7 11 15
1 test skipped.
Failed 1/18 test scripts, 94.44% okay. 3/759 subtests failed, 99.60%
okay.
make: *** [test_dynamic] Error 11


I have seen other threads with this same problem.  The solution was to
execute the 'make test' as root.  Well, I am root when I receive this
error.  I have the dbname, dbpasword, and dbuser all set correct.  For
some reason these three tests fail.  The code in dbdadmin.t that fails
is the same for all three:

Test($state or $accessDenied
  or InDsnList($testdsn, DBI->data_sources($mdriver))
  or InDsnList($testdsn,
               DBI->data_sources($mdriver,
			         {"host" => $test_host,
   		                  "port" => $test_port})))
  or print STDERR ("New DB not in DSN list\n");



Any inof would be appreciated.  Thanks.

-Ben



More information about the rt-users mailing list