Subject: | Dependency on IO::KQueue breaks installation on Ubuntu or Debian |
This problem comes up when using File::ChangeNotify as it tries to load
a subclass for BSD systems then fails. Installation is clean, and it
correctly states that IO::KQueue is not available (and by the way, it
does not install at all on Ubuntu/Debian) and that kqueue will be
disabled. However, when a client program uses File::ChangeNotify,
blammo because File::ChangeNotify::Watcher::KQueue attempts to load
IO::KQueue and craps out.
IO::KQueue does not install on non-BSD systems; a quick fix for this
problem is to rename KQueue.pm to KQueue.pm.off in
File/ChangeNotify/Watcher subdirectory, but I hate to mess with my Perl
library tree.
Please change the implementation to correctly disable KQueue support on
systems that lack support for it. Thanks for a great module!
SSF