Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install easily on Debian Etch #8

Open
autarch opened this issue Jan 20, 2021 · 1 comment
Open

Cannot install easily on Debian Etch #8

autarch opened this issue Jan 20, 2021 · 1 comment
Labels

Comments

@autarch
Copy link
Member

autarch commented Jan 20, 2021

Migrated from rt.cpan.org #47814 (status was 'stalled')

Requestors:

From [email protected] on 2009-07-12 20:39:38
:

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

@autarch
Copy link
Member Author

autarch commented Jan 20, 2021

From [email protected] (@autarch) on 2009-07-13 21:12:47
:

On Sun, 12 Jul 2009, Steve Flitman via RT wrote:

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.

I'm not sure how this could happen. If Linux::Inotify2 just isn't
installed, you won't get this error. It seems like you had the
Linux/Inotify2.pm installed but the XS hadn't actually compiled or
something.

-dave

/============================================================
http://VegGuide.org http://blog.urth.org
Your guide to all that's veg House Absolute(ly Pointless)
============================================================
/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant