@inc


#1

Hello.

Having some issues:

the version of RT you are running

  • 1.0.2
    a description of the system you are running RT on
  • 2.2.12 kernel redhat 6.1
    the version of Perl you are using
  • 5.5.3

It seems like the problem is with installing the mysql support for perl.

mysql-modules-1.2213

on makefile.pl:
warning: prerequisite data::ShowTable not found…

and so on make test it fails 2 tests 44 and 23…has anyone else seen this?

already read the FAQ (Q2.4) and I did answer yes to enable MysqlPerl
emulation as well as installed all the mysql modules.

error message from apache:

[Tue May 9 18:16:22 2000] [error] [client 206.19.148.33] Premature end of
script headers: /usr/local/rt/bin/cgi/admin-webrt.cgi
Can’t locate Mysql.pm in @INC (@INC contains:
/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005
/usr/local/rt/lib) at /usr/local/rt/lib/rt/database.pm line 8.
BEGIN failed–compilation aborted at /usr/local/rt/lib/rt/database.pm line
8.
[Tue May 9 18:16:32 2000] [error] [client 206.19.148.33] Premature end of
script headers: /usr/local/rt/bin/cgi/webrt.cgi
Can’t locate Mysql.pm in @INC (@INC contains:
/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005
/usr/local/rt/lib) at /usr/local/rt/lib/rt/database.pm line 8.
BEGIN failed–compilation aborted at /usr/local/rt/lib/rt/database.pm line
8.
[Tue May 9 18:16:34 2000] [error] [client 206.19.148.33] Premature end of
script headers: /usr/local/rt/bin/cgi/webrt.cgi
Can’t locate Mysql.pm in @INC (@INC contains:
/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005
/usr/local/rt/lib) at /usr/local/rt/lib/rt/database.pm line 8.
BEGIN failed–compilation aborted at /usr/local/rt/lib/rt/database.pm line
8.
[Tue May 9 18:16:35 2000] [error] [client 206.19.148.33] Premature end of
script headers: /usr/local/rt/bin/cgi/webrt.cgi

TIA

Brad Jannenga


#2

It seems like the problem is with installing the mysql support for perl.

mysql-modules-1.2213

on makefile.pl:
warning: prerequisite data::ShowTable not found…

and so on make test it fails 2 tests 44 and 23…has anyone else seen this?

No. Try to install Data::ShowTable from CPAN?

If it doesn’t help, I’d daresay this is a mysql-modules problem, try to
ask at that mailinglist.

tobix@fsck.com


#3

and the winner is…Tobis!

Data:showtable was not installed, (it should be listed as a prerequisite
module…it is needed by msql modules)…perhaps it’s
implied…hmmm…anyway, the test suite does not work for Data:Showtable,
which slowed debugging things down a bit more. seems it
installs okay, just the test suite is broken.

please stop by the front desk to pick up your free log of Velveeta.

THX

Brad-----Original Message-----
From: Tobias Brox [mailto:tobiasb@tobiasb.funcom.com]
Sent: Wednesday, May 10, 2000 12:03 PM
To: Brad Jannenga
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] @INC

It seems like the problem is with installing the mysql support for perl.

mysql-modules-1.2213

on makefile.pl:
warning: prerequisite data::ShowTable not found…

and so on make test it fails 2 tests 44 and 23…has anyone else seen this?

No. Try to install Data::ShowTable from CPAN?

If it doesn’t help, I’d daresay this is a mysql-modules problem, try to
ask at that mailinglist.

tobix@fsck.com


#4

and the winner is…Tobis!

Firstly I think I was the only contestor, and secondly I’m always right :wink:

Data:showtable was not installed, (it should be listed as a prerequisite
module…it is needed by msql modules)…

I’ve never seen this problem before. It seems like most systems already
have Data::ShowTable installed. I must confess that I don’t have a faint
clue about what the module actually is useful for (though a quick look at
the documentation reveals everything about it). I don’t think RT uses the
functionality in it, so it’s maybe stupid that mysql-modules can’t work
without it.

tobix@fsck.com