Missing?: DBIx/DBIx-SearchBuilder/SearchBuilder/Handle/mysql.pm


#1

When trying to bring RT2 up for the first time, I get the following in
my web logs (NB. $RT::DatabaseType == ‘mysql’):

[Mon Sep 11 11:14:33 2000] [error] Can’t locate object method “new” via package “RT::Handle” at /home/rt-install/bin/webmux.pl line 72.

Going back to the CLI, I get the same error:

[mbrader@fettuccine rt]$ /home/rt-install/bin/rtq
Can’t locate object method “new” via package “RT::Handle” at /home/rt-install/bin/rtq line 27.

Sticking in an error check for the eval statement in RT/Handle.pm:

$@ && die “eval failed: [code:$evalString][error:$@]”;

I get:

[mbrader@fettuccine rt]$ /home/rt-install/bin/rtq
eval failed: [code:use DBIx::SearchBuilder::Handle::mysql;

@ISA= qw(DBIx::SearchBuilder::Handle::mysql);][error:Can’t locate DBIx/SearchBuilder/Handle/mysql.pm in @INC (@INC contains: /home/rt-install/etc /home/rt-install/lib /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) at (eval 2) line 1.
BEGIN failed–compilation aborted at (eval 2) line 1.
] at /home/rt-install/lib/RT/Handle.pm line 12.
BEGIN failed–compilation aborted at /home/rt-install/bin/rtq line 26.

Neither the DBIx 0_0_2 tarball or the CVS contain this file, only the
Oracle file.

Any ideas?

Michael Brader mbrader@e-smith.com
Short term developer e-smith, inc. Ottawa, Canada
http://www.e-smith.org (development) http://www.e-smith.com (corporate)
…tongue tied and twisted, just an earth-bound misfit, I…


#2

The latest tarball should be in sync with what’s in the DBIx module in
RT cvs.
But wait. CVS is missing mysql.pm.

sigh

Thanks for catching that. I’ve added the module to CVS. For now,
try checking out and installing SearchBuilder from CVS? If it looks
ok, I’ll roll 0.03On Mon, Sep 11, 2000 at 12:19:31PM -0400, Michael Brader wrote:

When trying to bring RT2 up for the first time, I get the following in
my web logs (NB. $RT::DatabaseType == ‘mysql’):

[Mon Sep 11 11:14:33 2000] [error] Can’t locate object method “new” via package “RT::Handle” at /home/rt-install/bin/webmux.pl line 72.

Going back to the CLI, I get the same error:

[mbrader@fettuccine rt]$ /home/rt-install/bin/rtq
Can’t locate object method “new” via package “RT::Handle” at /home/rt-install/bin/rtq line 27.

Sticking in an error check for the eval statement in RT/Handle.pm:

$@ && die “eval failed: [code:$evalString][error:$@]”;

I get:

[mbrader@fettuccine rt]$ /home/rt-install/bin/rtq
eval failed: [code:use DBIx::SearchBuilder::Handle::mysql;

@ISA= qw(DBIx::SearchBuilder::Handle::mysql);][error:Can’t locate DBIx/SearchBuilder/Handle/mysql.pm in @INC (@INC contains: /home/rt-install/etc /home/rt-install/lib /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) at (eval 2) line 1.
BEGIN failed–compilation aborted at (eval 2) line 1.
] at /home/rt-install/lib/RT/Handle.pm line 12.
BEGIN failed–compilation aborted at /home/rt-install/bin/rtq line 26.

Neither the DBIx 0_0_2 tarball or the CVS contain this file, only the
Oracle file.

Any ideas?


Michael Brader mbrader@e-smith.com
Short term developer e-smith, inc. Ottawa, Canada
http://www.e-smith.org (development) http://www.e-smith.com (corporate)
…tongue tied and twisted, just an earth-bound misfit, I…


Rt-devel mailing list
Rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

jesse reed vincent — root@eruditorum.orgjesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
After all, it’s not every day you meet up with an evil power
-M. Bulgakov


#3

FYI, i ran into the same problem the other day.
I DO have DBIx::SearchBuilder installed though.

_Michael.

And so i says to him|her…
When trying to bring RT2 up for the first time, I get the following in
my web logs (NB. $RT::DatabaseType == ‘mysql’):

[Mon Sep 11 11:14:33 2000] [error] Can’t locate object method “new” via package “RT::Handle” at /home/rt-install/bin/webmux.pl line 72.

Going back to the CLI, I get the same error:

[mbrader@fettuccine rt]$ /home/rt-install/bin/rtq
Can’t locate object method “new” via package “RT::Handle” at /home/rt-install/bin/rtq line 27.

Sticking in an error check for the eval statement in RT/Handle.pm:

$@ && die “eval failed: [code:$evalString][error:$@]”;

I get:

[mbrader@fettuccine rt]$ /home/rt-install/bin/rtq
eval failed: [code:use DBIx::SearchBuilder::Handle::mysql;

@ISA= qw(DBIx::SearchBuilder::Handle::mysql);][error:Can’t locate DBIx/SearchBuilder/Handle/mysql.pm in @INC (@INC contains: /home/rt-install/etc /home/rt-install/lib /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) at (eval 2) line 1.
BEGIN failed–compilation aborted at (eval 2) line 1.
] at /home/rt-install/lib/RT/Handle.pm line 12.
BEGIN failed–compilation aborted at /home/rt-install/bin/rtq line 26.

Neither the DBIx 0_0_2 tarball or the CVS contain this file, only the
Oracle file.

Any ideas?


Michael Brader mbrader@e-smith.com
Short term developer e-smith, inc. Ottawa, Canada
http://www.e-smith.org (development) http://www.e-smith.com (corporate)
…tongue tied and twisted, just an earth-bound misfit, I…


Rt-devel mailing list
Rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

Michael Jastremski Chief Pickle
Keeper of Systems. Megaglobal Corp
Liquidation.com http://megaglobal.com
http://liquidation.com http://westphila.net/mike