Subject: | Cannot install easily on Debian Etch |
On Debian Etch:
Linux xenoscience.net 2.6.24-etchnhalf.1-686 #1 SMP Mon Sep 8 06:19:11
UTC 2008 i686 GNU/Linux
CPAN installation gives:
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/all.t ........... Could not load class
(File::ChangeNotify::Watcher::Inotify) because : Bareword
"IN_DONT_FOLLOW" not allowed while "strict subs" in use at
/home/krs/.cpan/build/File-ChangeNotify-0.07-fn9g3w/blib/lib/File/ChangeNotify/Watcher/Inotify.pm
line 109.
BEGIN not safe after errors--compilation aborted at
/home/krs/.cpan/build/File-ChangeNotify-0.07-fn9g3w/blib/lib/File/ChangeNotify/Watcher/Inotify.pm
line 192.
Compilation failed in require at /usr/local/lib/perl/5.8.8/Class/MOP.pm
line 134.
at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 119
Class::MOP::load_first_existing_class('File::ChangeNotify::Watcher::Inotify') called at /usr/local/lib/perl/5.8.8/Class/MOP.pm line 140
Class::MOP::load_class('File::ChangeNotify::Watcher::Inotify') called
at
/home/krs/.cpan/build/File-ChangeNotify-0.07-fn9g3w/blib/lib/File/ChangeNotify.pm
line 38
eval {...} called at
/home/krs/.cpan/build/File-ChangeNotify-0.07-fn9g3w/blib/lib/File/ChangeNotify.pm
line 38
File::ChangeNotify::_try_load('File::ChangeNotify::Watcher::Inotify')
called at
/home/krs/.cpan/build/File-ChangeNotify-0.07-fn9g3w/blib/lib/File/ChangeNotify.pm
line 31
File::ChangeNotify::usable_classes('File::ChangeNotify') called at
t/lib/File/ChangeNotify/TestHelper.pm line 20
File::ChangeNotify::TestHelper::run_tests() called at t/all.t line 8
t/all.t ........... Dubious, test returned 9 (wstat 2304, 0x900)
No subtests run
t/kwalitee.t ...... skipped: This test is only run for the module author
t/pod-coverage.t .. skipped: This test is only run for the module author
t/pod.t ........... skipped: This test is only run for the module author
Test Summary Report
-------------------
t/all.t (Wstat: 2304 Tests: 0 Failed: 0)
Non-zero exit status: 9
Parse errors: No plan found in TAP output
Files=4, Tests=0, 2 wallclock secs ( 0.12 usr 0.03 sys + 2.02 cusr
0.13 csys = 2.30 CPU)
Result: FAIL
Failed 1/4 test programs. 0/0 subtests failed.So, eventually I got this
to work with Linux::Inotify2 1.01 and
make: *** [test_dynamic] Error 255
DROLSKY/File-ChangeNotify-0.07.tar.gz
/usr/bin/make test -- NOT OK
Note that dependency Linux::Inotify2's Inotify.xs also would not compile
initially as it wanted to include '/usr/include/sys/inotify.h' which I
found in '/usr/include/linux/inotify.h'.
So, eventually I got this to work with Linux::Inotify2 1.01 and by
installing Debian package libinotifytools0-dev, then reinstalling your
module via CPAN.
So...figured you'd like to know it took some doing.
SSF