[Koha-devel] Barcodes Barcodes

Joshua Ferraro jmf at liblime.com
Sun Jun 19 16:27:09 CEST 2005


Hi all,

I attempted to get the barcode generation going this afternoon
and failed. My problems started with the error everyone else
has reported:
Can't locate PDF/API2/PDF/Utils.pm in @INC

I found that Fedora was having trouble installing PDF::API2 (but
it was not giving any useful errors). So I installed the Fedora
package for PDF::API2's one major dependency: Compress::Zlib (the
package name is perl-Compress-Zlib). After that installed I was
able to install PDF::API2. But I still got the same error and I
noticed the following:

/usr/lib/perl5/site_perl/5.8.5/PDF/API2/Basic/PDF/Utils.pm

I replaced use PDF::API2::PDF::Utils; with PDF::API2::Basic::PDF::Utils;
in barcodesGenerator.pl and printerConfig.pl.

Now I'm getting:
Can't locate object method "barcode" via package "PDF::API2" at /home/koha001/koha/intranet/cgi-bin/barcodes/barcodesGenerator.pl line 239

I don't see a barcode method anywhere on CPAN for the PDF::API2
modules. Is there another library that has this method?

Has anyone use the barcode generation successfully? Any tips for
getting it going?

Thanks,

-- 
Joshua Ferraro               VENDOR SERVICES FOR OPEN-SOURCE SOFTWARE
President, Technology       migration, training, maintenance, support
LibLime                  Koha ILS, Mambo Intranet, DiscrimiNet Filter
jmf at liblime.com |  Full Demos at http://liblime.com  |  1(888)KohaILS




More information about the Koha-devel mailing list