[Koha] Koha 2.2.8 Win32 bulkmarcimport.pl Error

Amaravati ray.penkeyman at gmail.com
Thu Oct 18 21:58:19 NZDT 2007


Thanks that's a starter for 10 anyway. I may have to try a re-install of PERL
as I don't have that path you quoted I only have c:/usr/lib/...

ray


Joe Atzberger wrote:
> 
> 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.
>>
> 
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
> 
> 

-- 
View this message in context: http://www.nabble.com/Koha-2.2.8-Win32-bulkmarcimport.pl-Error-tf4643497.html#a13270479
Sent from the Koha - Discuss mailing list archive at Nabble.com.



More information about the Koha mailing list