Hi Pierre, Try running: [root@koha misc]# perl -I /path/to/modules bulkmarcimport.pl -file ...etc where /path/to/modules is the path to your Koha modules directory--probably /usr/local/koha/intranet/modules (the directory with the C4 directory in it). Let us know if it doesn't work. Good luck! Joshua On Fri, Nov 05, 2004 at 10:02:13AM -0800, pierre pierre wrote:
Dear all,
I am trying as well to import the data kindly offered by David Bigwood. I would like to keep on evaluating koha before migrating my data from CDS/ISIS.
Unfortunately I have the following message:
[root@koha misc]# pwd /usr/local/koha/intranet/scripts/misc [root@koha misc]# ./bulkmarcimport.pl -file /root/lpi.mrc -n 1 Can't locate C4/Context.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at ./bulkmarcimport.pl line 10. BEGIN failed--compilation aborted at ./bulkmarcimport.pl line 10.
I am new to PERL, so it's certainly a very basic trouble. I guess I miss a couple of libraries because the INC variable is not properly defined. But the question is: how can I define it properly?
Thanks for any advice.
Pierre
__________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha