From: Lee G. <LGo...@UK...> - 2007-05-04 14:01:29
|
Looks like you don't have Log4perl installed, and I am unfamiliar with your installation - Active State Perl on Windows usually installs Log::Log4perl only on demand, and then puts it into a directory that ends with the path site/lib, not just lib. Can you do a system-wide search on your machine for the file Log4per.pm? =20 If you do not find it, you need to install it --- at a cmd prompt type the word "cpan", without quotes, and then at the resulting prompt, type "install Log::Log4perl" without quotes. =20 If you do find it, make a note of the directory that in which it was found, which should be something like =20 C:\weridpath\site\lib\Log\ =20 Take all but the last directory (ie. C:\perl\site\lib), and put it at the top of your script, before use Log::Log4perl, in quotes after the words "use lib": =20 use lib "C:\ weridpath\site\lib"; use Log::Log4perl; =20 If that doesn't help, you can reach me on this address on Tuesday. =20 Lee =20 ________________________________ From: log...@li... [mailto:log...@li...] On Behalf Of Hussainsab, Babu Sent: 04 May 2007 11:00 To: log...@li... Cc: bab...@ya... Subject: [log4perl-devel] Error While Executing log4perl programs =20 Hi, All Am getting the following error while executing the log4perl program while executing through perl express editor. =20 "Can't locate Log/Log4perl.pm in @INC (@INC contains: D:/Projects/PerlExecPath/ActivePerl-5.8/perl/site/lib D:/Projects/PerlExecPath/ActivePerl-5.8/perl/lib .) at OTEC_logger.pl line 3. BEGIN failed--compilation aborted at OTEC_logger.pl line 3. " Plz help me to resolve this. =20 Regards & Thanks Babu H.M =20 |