Bug 945657

Summary: perl: Can't locate Shell.pm in @INC
Product: [openSUSE] openSUSE Distribution Reporter: Harald Koenig <koenig>
Component: BasesystemAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: 13.2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Harald Koenig 2015-09-14 10:30:55 UTC
this very minimal perl script complains about missing Shell.pm (or wrong paths;) although it's installed with the perl base system:

cat ./s.pl
#!/usr/bin/perl
require Shell;


./s.pl
Can't locate Shell.pm in @INC (you may need to install the Shell module) (@INC contains: /usr/lib/perl5/site_perl/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.20.1 /usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.20.1 /usr/lib/perl5/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/5.20.1 /usr/lib/perl5/site_perl .) at ./s.pl line 2.


rpm -qf /usr/bin/perl  /usr/lib/perl5/5.20.1/CPAN/Shell.pm 
perl-base-5.20.1-1.3.x86_64
perl-5.20.1-1.3.x86_64


env| grep -i perl | wc 
      0       0       0



(actual this "code" is stolen from the "generate" script in OBS to generate TeXLive packages, likely from Werner Fink;)
Comment 1 Stephan Kulow 2015-09-14 12:22:22 UTC
that's not Shell, that's CPAN::Shell - subdirectories matter

zypper in -C 'perl(Shell)'