Thanks for the tip. I download a marc record from the LOC catalog and try to load in Koha for testing. Have some error messages. Bad command or file name C:\usr\koha200pre2\intranet\scripts\misc>perl bulkmarcimport.pl Can't locate C4/Context.pm in @INC (@INC contains: C:/usr/lib C at bulkmarcimport.pl line 10. BEGIN failed--compilation aborted at bulkmarcimport.pl line 10. LIC. FELIPE ADALID ORTIZ ANZALDO Area de Medios Electrónicos Biblioteca Loyola http://www.loyola.tij.uia.mx UNIVERSIDAD IBEROAMERICANA TIJUANA Ave. Centro Universitario 2501 Playas de Tijuana Tijuana, B.C., México 22200 Tel. 664 630-1577 Ext. 623 Fax 664 630-1591 eMail adalid@tij.uia.mx "No sobreviven los más fuertes, ni los más inteligentes, sino aquellos que tienen una mayor capacidad para adaptarse a los cambios." --Charles Darwin--
Execute the following from your command prompt before running the script: set perl5lib=c:\usr\koha200RC4\intranet\modules That should set the perl5lib environmental variable so the script can find the necessary modules. I am assuming you are testing with RC4. The path will be slightly different for earlier versions. Rob ----- Original Message ----- From: "Adalid Ortiz" <adalid@tij.uia.mx> To: <koha@lists.katipo.co.nz> Sent: Friday, March 12, 2004 4:07 PM Subject: [Koha] IMPORTING MARC RECORDS !!
Thanks for the tip. I download a marc record from the LOC catalog and try to load in Koha for testing. Have some error messages.
Bad command or file name
C:\usr\koha200pre2\intranet\scripts\misc>perl bulkmarcimport.pl Can't locate C4/Context.pm in @INC (@INC contains: C:/usr/lib C at bulkmarcimport.pl line 10. BEGIN failed--compilation aborted at bulkmarcimport.pl line 10.
LIC. FELIPE ADALID ORTIZ ANZALDO
Thanks for the tip. I download a marc record from the LOC catalog and try to load in Koha for testing. Have some error messages.
Bad command or file name
C:\usr\koha200pre2\intranet\scripts\misc>perl bulkmarcimport.pl Can't locate C4/Context.pm in @INC (@INC contains: C:/usr/lib C at bulkmarcimport.pl line 10. BEGIN failed--compilation aborted at bulkmarcimport.pl line 10. Right, this is a pretty common problem. Try running it like this:
On Fri, Mar 12, 2004 at 01:07:21PM -0800, Adalid Ortiz wrote: perl -I /path/to/modules bulkmarcimport.pl plus whatever other parameters you plan to feed bulkmarcimport (like the filename :-) BTW: the path to my modules dir is /usr/local/koha/intranet/modules Let us know if that solved it... Joshua
LIC. FELIPE ADALID ORTIZ ANZALDO Area de Medios Electrónicos Biblioteca Loyola http://www.loyola.tij.uia.mx UNIVERSIDAD IBEROAMERICANA TIJUANA Ave. Centro Universitario 2501 Playas de Tijuana Tijuana, B.C., México 22200
Tel. 664 630-1577 Ext. 623 Fax 664 630-1591 eMail adalid@tij.uia.mx
"No sobreviven los más fuertes, ni los más inteligentes, sino aquellos que tienen una mayor capacidad para adaptarse a los cambios."
--Charles Darwin-- _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (3)
-
Adalid Ortiz -
Joshua Ferraro -
robweir@alum.drexel.edu