[Koha] Koha 2.2.8 Win32 bulkmarcimport.pl Error

Joe Atzberger ohiocore at gmail.com
Thu Oct 18 16:26:37 NZDT 2007


Try this:
set PERL5LIB=c:\usr\lib\perl\5.8

Perl is not finding the module you should have installed already, and it
looks like @INC doesn't have the usual base perl directory in it.

Without it, you should expect this command to fail likewise:
perl -e "use MARC::Charset;"

--joe atzberger

On 10/17/07, Amaravati <ray.penkeyman at gmail.com> wrote:
>
>
> Hi I'm a new user trying to migrate from Book Collection to Koha under
> windows.
>
> My problem is in trying to bulk import records into Koha using the perl
> script "bulkmarcimport.pl"
> #set up enviroment vars
> set KOHA_CONF=c:\etc\koha.conf
> set PERL5LIB=c:\usr\koha228\intranet\modules
>
> #from cmd window runnning
> C:\usr\koha228\scripts\misc\migration_tools>bulkmarcimport.pl -c MARC21
> -file somemarc.mrc
>
> #I get the following error message
>
> Can't locate MARC/Charset.pm in @INC (@INC contains:
> c:\usr\koha228\intranet\modules C:/usr/site/lib C:/usr/lib .)
> at C:\usr\koha228\scripts\misc\migration_tools\bulkmarcimport.pl line 14.
>
> BEGIN failed--compilation aborted at
> C:\usr\koha228\scripts\misc\migration_tools\bulkmarcimport.pl line 14.
>
> #Running perl -V gives values for @inc
>
> @INC:
> c:\usr\koha228\intranet\modules
> C:/usr/site/lib
> C:/usr/lib
> .
>
> It doesn't work either when I also tried
> c:\usr\koha228\intranet\modules\C4
> I've also run the latest ActivePerl 5.8.x Modules for Koha from
> http://www.koha.rwjr.com/
>
> What am I doing wrong?
>
> Koha version: 2.2.8 (Win32)
> OS version Microsoft Windows XP [Version 5.1.2600]
> Perl version: 5.008008
> MySQL version: mysql Ver 14.7 Distrib 4.1.22, for Win32 (ia32)
> Apache 2.2.4 (Win32)
>
> Thanks in advance
>
> ray
>
> --
> View this message in context:
> http://www.nabble.com/Koha-2.2.8-Win32-bulkmarcimport.pl-Error-tf4643497.html#a13263507
> Sent from the Koha - Discuss mailing list archive at Nabble.com.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20071017/7caf0a7d/attachment.html


More information about the Koha mailing list