File Charset.pm not found
Dear All, Yesterday when I was running the script "bulkmarcimport.pl" it was running without giving errors. But today when I'm using the script "bulkmarcimport.pl" it is giving the error C:\usr\koha227\scripts\misc\migration_tools>bulkmarcimport.pl -h -file t.mrc Can't locate MARC/Charset.pm in @INC (@INC contains: c:\usr\koha227\intranet\mod ules C:/usr/site/lib C:/usr/lib .) at C:\usr\koha227\scripts\misc\migration_tool s\bulkmarcimport.pl line 14. BEGIN failed--compilation aborted at C:\usr\koha227\scripts\misc\migration_tools \bulkmarcimport.pl line 14. Koha is running in my system but I cannot run the script from the command prompt. Could any body help me. With Regards Arnab -- View this message in context: http://www.nabble.com/File-Charset.pm-not-found-tf2884852.html#a8060017 Sent from the Koha - Discuss mailing list archive at Nabble.com.
arnab wrote:
Dear All,
Yesterday when I was running the script "bulkmarcimport.pl" it was running without giving errors. But today when I'm using the script "bulkmarcimport.pl" it is giving the error
C:\usr\koha227\scripts\misc\migration_tools>bulkmarcimport.pl -h -file t.mrc Can't locate MARC/Charset.pm in @INC (@INC contains: c:\usr\koha227\intranet\mod ules C:/usr/site/lib C:/usr/lib .) at C:\usr\koha227\scripts\misc\migration_tool s\bulkmarcimport.pl line 14. BEGIN failed--compilation aborted at C:\usr\koha227\scripts\misc\migration_tools \bulkmarcimport.pl line 14.
Luckily that error tells you everything you need to know. You are missing a perl module, specifically MARC::Charset You need to install that Chris
Hi Chris, I've installed the MARC module. I'm using Perl 5.8.8 on windows platform. Now when I'm going to install MARC::Charset it is telling to first install DB_File module. I've downloaded DB_File-1.814 but when going to install it is giving error. When giving the command "perl Makefile.pl" it is showing C:\usr\DB_File-1.814>perl Makefile.pl Parsing config.in... Looks Good. Note (probably harmless): No library found for -llibdb Note (probably harmless): No library found for oldnames.lib Note (probably harmless): No library found for kernel32.lib Note (probably harmless): No library found for user32.lib Note (probably harmless): No library found for gdi32.lib Note (probably harmless): No library found for winspool.lib Note (probably harmless): No library found for comdlg32.lib Note (probably harmless): No library found for advapi32.lib Note (probably harmless): No library found for shell32.lib Note (probably harmless): No library found for ole32.lib Note (probably harmless): No library found for oleaut32.lib Note (probably harmless): No library found for netapi32.lib Note (probably harmless): No library found for uuid.lib Note (probably harmless): No library found for ws2_32.lib Note (probably harmless): No library found for mpr.lib Note (probably harmless): No library found for winmm.lib Note (probably harmless): No library found for version.lib Note (probably harmless): No library found for odbc32.lib Note (probably harmless): No library found for odbccp32.lib Note (probably harmless): No library found for msvcrt.lib Writing Makefile for DB_File C:\usr\DB_File-1.814> Could you please tell what to do next. With Regards Arnab Chris Cormack wrote:
arnab wrote:
Dear All,
Yesterday when I was running the script "bulkmarcimport.pl" it was running without giving errors. But today when I'm using the script "bulkmarcimport.pl" it is giving the error
C:\usr\koha227\scripts\misc\migration_tools>bulkmarcimport.pl -h -file t.mrc Can't locate MARC/Charset.pm in @INC (@INC contains: c:\usr\koha227\intranet\mod ules C:/usr/site/lib C:/usr/lib .) at C:\usr\koha227\scripts\misc\migration_tool s\bulkmarcimport.pl line 14. BEGIN failed--compilation aborted at C:\usr\koha227\scripts\misc\migration_tools \bulkmarcimport.pl line 14.
Luckily that error tells you everything you need to know. You are missing a perl module, specifically MARC::Charset You need to install that
Chris _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- View this message in context: http://www.nabble.com/File-Charset.pm-not-found-tf2884852.html#a8060749 Sent from the Koha - Discuss mailing list archive at Nabble.com.
Hi Arnab, You should not have to do a make or nmake to install modules on the windows platform. The ActiveState repositories have pre-compiled packages for almost all of the modules. Your system should have a ppm utility that you can use to search for and install needed modules. If you have perl 5.8.8 build 817 or earlier, open a dos window and run ppm from there. Type help to get the command syntax. If you have build 818 or later, there is a gui interface that you can run from your start menu. Let me know if you need more detailed instructions. Or if you still have trouble, I just added MARC-Charset to the win32 package of perl modules for koha available at http://koha.rwjr.com/ If all else fails, download and run that and it should fix you up. Rob arnab wrote:
Hi Chris,
I've installed the MARC module. I'm using Perl 5.8.8 on windows platform. Now when I'm going to install MARC::Charset it is telling to first install DB_File module. I've downloaded DB_File-1.814 but when going to install it is giving error. When giving the command "perl Makefile.pl" it is showing
C:\usr\DB_File-1.814>perl Makefile.pl Parsing config.in... Looks Good. Note (probably harmless): No library found for......
participants (3)
-
arnab -
Chris Cormack -
Rob Weir