For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > November 2006 > cant locate Log/Log4perl error @INC









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cant locate Log/Log4perl error @INC
narmadha@iitm.ac.in

2006-11-02, 7:56 am

Hi all,

I am newbie to the perl. I have installed my p5-DBI, p5-log4perl module in
FreeBSD6.0.

I am getting error
Can't locate Log/Log4perl.pm in @INC (@INC contains: ../lib/
/usr/local/lib/perl5/site_perl/5.8.7/mach
/usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.7/BSDPAN /usr/local/lib/perl5/5.8.7/mach
/usr/local/lib/perl5/5.8.7 .) at home.cgi line 100.
BEGIN failed--compilation aborted at home.cgi line 100.

I have searched
my perl5.
@INC:
/usr/local/lib/perl5/site_perl/5.8.7/mach
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.7/BSDPAN
/usr/local/lib/perl5/5.8.7/mach
/usr/local/lib/perl5/5.8.7

But i have installed my modules in below path
/usr/local/lib/perl5/site_perl/5.005

This path is refleting in @INC variable.

I have included below lines in my home.cgi .
#!/usr/bin/perl5 -I
/usr/local/lib/perl5/site_perl/5.005:/usr/local/lib/perl5/site_perl/5.005/i386-freebsd


I am using apache web server.

I need you folks help

Narmadha

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com