[rt-users] Postgres Users: DBIx::SearchBuilder 1.00_06

Jussi Hamalainen count at theblah.fi
Thu Jul 8 01:08:36 EDT 2004


On Fri, 25 Jun 2004, Jesse Vincent wrote:

> That looks somewhat surprising.  in your lib/RT/Handle.pm, can you
> alter the code at the beginning to read:
>
> eval "use DBIx::SearchBuilder::Handle::$RT::DatabaseType;
> \@ISA= qw(DBIx::SearchBuilder::Handle::$RT::DatabaseType);";
>
> if ($@) {
>     die "Unable to load DBIx::SearchBuilder database handle for
> '$RT::DatabaseType'.".
>         "\n".
>         "Perhaps you've picked an invalid database type or spelled it
> incorrectly.".
>         "\n". $@;
> }

I finally got around to testing this. Looks like I'm missing a perl
module or something:

[Thu Jul  8 08:05:55 2004] [error] Unable to load DBIx::SearchBuilder
database handle for'Pg'.\nPerhaps you've picked an invalid database
type or spelled itincorrectly.\nCan't locate Want.pm in @INC (@INC
contains: /opt/RT/local/lib /opt/RT/lib
/opt/lang/lib/perl5/5.8.4/i686-linux /opt/lang/lib/perl5/5.8.4
/opt/lang/lib/perl5/site_perl/5.8.4/i686-linux
/opt/lang/lib/perl5/site_perl/5.8.4 /opt/lang/lib/perl5/site_perl .
/opt/apache/ /opt/apache/lib/perl) at
/opt/lang/lib/perl5/site_perl/5.8.4/DBIx/SearchBuilder/Handle/Pg.pm
line 9.\nBEGIN failed--compilation aborted at
/opt/lang/lib/perl5/site_perl/5.8.4/DBIx/SearchBuilder/Handle/Pg.pm
line 9.\nCompilation failed in require at (eval 354) line 1.\nBEGIN
failed--compilation aborted at (eval 354) line 1.\nCompilation failed
in require at /opt/RT/lib/RT.pm line 145.\n

What is this Want.pm?

-- 
-=[ Count Zero / TBH - Jussi Hämäläinen - email count at theblah.fi ]=-



More information about the rt-users mailing list