LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2009, 01:29 AM   #1
saran_redhat
Member
 
Registered: May 2009
Location: chennai
Posts: 247

Rep: Reputation: 16
Iwatch problem


dear friends

When i install iwatch for the purpose of automatic email notification for the specific folder for the user. but i am not able to install i am getting like this error

Can't locate Event.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at ./iwatch line 14.
BEGIN failed--compilation aborted at ./iwatch line 14.

give me some solutions.

thanks
 
Old 10-22-2009, 02:03 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
I do not use iwatch but out of curiosity I downloaded it.

The README states, among other things:
Code:
This application is written in Perl and need inotify support in Linux 
kernel >= 2.6.13. And it needs also following third party perl modules:
Linux::Inotify2, Event, Mail::Sendmail and XML::Simple. You can have 
all this modules from cpan as usual.
thus my guess is you are missing a dependency.

Did you install the Event perl module ?
 
Old 10-22-2009, 02:08 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
Can't locate Event.pm in @INC do suggest you are missing out some modules.
 
Old 10-22-2009, 04:20 AM   #4
saran_redhat
Member
 
Registered: May 2009
Location: chennai
Posts: 247

Original Poster
Rep: Reputation: 16
iwatch

Quote:
Originally Posted by Didier Spaier View Post
I do not use iwatch but out of curiosity I downloaded it.

The README states, among other things:
Code:
This application is written in Perl and need inotify support in Linux 
kernel >= 2.6.13. And it needs also following third party perl modules:
Linux::Inotify2, Event, Mail::Sendmail and XML::Simple. You can have 
all this modules from cpan as usual.
thus my guess is you are missing a dependency.

Did you install the Event perl module ?
Dear Friends


I installed perl event module rpm but still i am getting same problem.

Thanks
 
Old 10-22-2009, 04:48 AM   #5
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
Is your Box having these modules?

Code:
Linux::Inotify2, Event, Mail::Sendmail and XML::Simple
Just try to find out if they are present in your box or not.
 
Old 10-22-2009, 05:06 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
For instance issue as root the command
Code:
updatedb
then
Code:
locate Event.pm
and see what you get.
 
Old 10-22-2009, 05:48 AM   #7
saran_redhat
Member
 
Registered: May 2009
Location: chennai
Posts: 247

Original Poster
Rep: Reputation: 16
iwatch

Quote:
Originally Posted by Didier Spaier View Post
For instance issue as root the command
Code:
updatedb
then
Code:
locate Event.pm
and see what you get.
Dear friends


when use updatedb and locate i am getting like this

[root@mail4 ~]# locate Event.pm
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/Event.pm


Thanks
 
Old 10-22-2009, 06:57 AM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
Seems strange then as /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/ seems to be looked at by the iwatch perl script, beeing included in @INC according yo your first post in this thread
 
Old 10-23-2009, 12:06 AM   #9
saran_redhat
Member
 
Registered: May 2009
Location: chennai
Posts: 247

Original Poster
Rep: Reputation: 16
ftp server

Quote:
Originally Posted by Didier Spaier View Post
Seems strange then as /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/ seems to be looked at by the iwatch perl script, beeing included in @INC according yo your first post in this thread
Please its very hard to understand , please explain me . thanks
 
Old 10-23-2009, 02:33 AM   #10
saran_redhat
Member
 
Registered: May 2009
Location: chennai
Posts: 247

Original Poster
Rep: Reputation: 16
ftp server

Quote:
Originally Posted by saran_redhat View Post
Please its very hard to understand , please explain me . thanks
how to check whether its installed or not.

Code:

Linux::Inotify2, Event, Mail::Sendmail and XML::Simple


please explain me.

thanks.
 
Old 10-23-2009, 04:45 AM   #11
saran_redhat
Member
 
Registered: May 2009
Location: chennai
Posts: 247

Original Poster
Rep: Reputation: 16
iwatch problem2

Dear All

when i run ./iwatch script i am getting like this error. please give some solutions thanks.


Can't locate XML/SAX/Exception.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/XML/LibXML.pm line 1151.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/XML/LibXML.pm line 1151.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/XML/SimpleObject/LibXML.pm line 4.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/XML/SimpleObject/LibXML.pm line 4.
Compilation failed in require at ./iwatch line 19.
BEGIN failed--compilation aborted at ./iwatch line 19.
 
Old 10-23-2009, 04:47 AM   #12
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by saran_redhat View Post
please explain me.

thanks.
The error your getting from the iwatch.pl script means that its not finding another script it needs to run. This part of the error message
Code:
Can't locate Event.pm in @INC
This part holds the directories iwatch.pl is looking for the file Event.pm in. So called include directories.
Code:
(@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at ./iwatch line 14.
And what "Didier Spaier" means is that the file iwatch.pl is missing is inside one of the so called include pathes. And what making scratch his head is that the file is there but not found.
 
Old 10-23-2009, 04:49 AM   #13
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
It's not very nice to open up a second thread especially when the first one is getting answered!
 
Old 10-23-2009, 05:22 AM   #14
saran_redhat
Member
 
Registered: May 2009
Location: chennai
Posts: 247

Original Poster
Rep: Reputation: 16
iwatch

Quote:
Originally Posted by zhjim View Post
It's not very nice to open up a second thread especially when the first one is getting answered!
I am very sorry to say this. because i already installed all related modules in perl . but still i am getting like this error. so please give some brief solutions. Thanks for u r reply.
 
Old 10-23-2009, 07:33 AM   #15
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
You could have just continue the other thread. What ever.
The error your receive is another missing include file. Namely "XML/SAX/Exception.pm". Try to locate this file and if its not there install it via cpan.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solved Problem Second GCC-Pass(or gettext sanity check problem) hoes Linux From Scratch 0 09-04-2005 10:20 AM
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 06:10 AM
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 01:35 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration