Subject: | Event.pm dependency: pp fails to find Event/idle.pm |
$ cat test-event
#!/usr/local/bin/perl
use Event;
$ pp -o te test-event
$ ./te
Can't locate Event/idle.pm in @INC (@INC contains: CODE(0xa2d3ac0)
/tmp/par-jroth/cache-8e0c83f736a554b700eafd106a5bad932c8aebca/inc/lib
/tmp/par-jroth/cache-8e0c83f736a554b700eafd106a5bad932c8aebca/inc
CODE(0xa2135b0) CODE(0xa21b010)) at Event.pm line 66.
...propagated at Event.pm line 67.
Compilation failed in require at script/test-event line 2.
BEGIN failed--compilation aborted at script/test-event line 2.
$ locate idle.pm
/usr/local/lib/perl/5.10.0/Event/idle.pm
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux-thread-multi/Event/idle.pm
$ perl -v
This is perl, v5.10.0 built for i686-linux-thread-multi
$ which perl
/usr/local/bin/perl
$ perl -e 'print @INC'
/usr/local/lib/perl5/5.10.0/i686-linux-thread-multi
/usr/local/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
$ unzip -t te | grep Event
testing: lib/Event.pm OK
testing: lib/Event/MakeMaker.pm OK
testing: lib/Event/Watcher.pm OK
testing: lib/auto/Event/Event.bs OK
testing: lib/auto/Event/Event.so OK
$ locate idle.pm
/usr/local/lib/perl/5.10.0/Event/idle.pm
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux-thread-multi/Event/idle.pm
Comments: Even though idle.pm appears to be in the search path, it is
not included in the par archive.