[Koha] Can't locate Class/Factory/Util.pm

Luis Rivas lrivas at perimeterinstitute.ca
Sat Apr 19 01:58:18 NZST 2008


Hi,
  Thanks for you help. It installed the util module. 
  I then ran the move_marc_to_biblioitems.pl script again which gave
another error:

Can't locate XML/LibXSLT.pm in @INC (@INC contains: /web/intranet/koha/
/usr/lib/perl5/5.8.6/i486-linux /usr/lib/perl5/5.8.6
/usr/lib/perl5/site_perl/5.8.6/i486-linux /usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl .) at /web/intranet/koha//C4/XSLT.pm line 26.
BEGIN failed--compilation aborted at /web/intranet/koha//C4/XSLT.pm line
26.
Compilation failed in require at /web/intranet/koha//C4/Search.pm line
27.
BEGIN failed--compilation aborted at /web/intranet/koha//C4/Search.pm
line 27.
Compilation failed in require at /web/intranet/koha//C4/Heading.pm line
25.
BEGIN failed--compilation aborted at /web/intranet/koha//C4/Heading.pm
line 25.
Compilation failed in require at /web/intranet/koha//C4/Biblio.pm line
114.
BEGIN failed--compilation aborted at /web/intranet/koha//C4/Biblio.pm
line 114.
Compilation failed in require at
misc/migration_tools/22_to_30/move_marc_to_biblioitems.pl line 12.
BEGIN failed--compilation aborted at
misc/migration_tools/22_to_30/move_marc_to_biblioitems.pl line 12.


  So I tried to install the XML-LibXSLT module using command:

perl -MCPAN -e 'install XML::LibXSLT'

  I got at the end:
...
...
...
XML-LibXSLT-1.66/t/14security.t
XML-LibXSLT-1.66/testcases/
XML-LibXSLT-1.66/testcases/default.conf
XML-LibXSLT-1.66/typemap

  CPAN.pm: Going to build P/PA/PAJAS/XML-LibXSLT-1.66.tar.gz

running xslt-config... failed
XML::LibXSLT needs libxslt version 1.1.18 or higher
make: *** No targets specified and no makefile found.  Stop.
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible


   Then I installed the libxlst library version 1.1.22 but still I get
the same error when I run the command.
   Any ideas?

Thanks

Luis

Hi,

On Thu, Apr 17, 2008 at 3:33 PM, Luis Rivas
<lrivas at perimeterinstitute.ca> wrote:
> Can't locate Class/Factory/Util.pm in @INC (@INC contains:
web/intranet/C4/
> /web/intranet/koha/ /usr/lib/perl5/5.8.6/i486-linux
/usr/lib/perl5/5.8.6
> /usr/lib/perl5/site_perl/5.8.6/i486-linux
/usr/lib/perl5/site_perl/5.8.6
> /usr/lib/perl5/site_perl .) at
/web/intranet/koha//C4/ClassSortRoutine.pm
> line 22.
>
> BEGIN failed--compilation aborted at
> /web/intranet/koha//C4/ClassSortRoutine.pm line 22.

Try running 'sudo cpan Class::Install::Util'.  If that Perl module is
already installed, you may need to set the PERL5LIB environment
variable to point to the directory that contains it.

Regards,

Galen
-- 
Galen Charlton
Koha Application Developer
LibLime
galen.charlton at liblime.com
p: 1-888-564-2457 x709


More information about the Koha mailing list