0

Installing with the cpan cli tool modules - they are not found at script execution time basically as part of the @INC directories. I am using cygwin.

/home/myuser/.local/share/.cpan/build/Email-Sender-1.300031-0/lib/Email/Sender/Simple.pm /home/myuser/.local/share/.cpan/build/Email-Simple-2.216-0/lib/Email/Simple.pm

I could now reference each single lib directory (they differ with each module installation) using the PERL5LIB Variable which is dull and boring. Am I doing something wrong? I want to install Perl Modules with cpan and use them afterwards without care where they are located...

3
  • 1
    .cpan/build is a temp directory for building and testing modules. Either test phase or install phase failed. You may need root privileges or use local::lib metacpan.org/pod/local::lib to install modules. Commented Oct 26, 2018 at 9:37
  • Those aren't installation directories. Where did the modules actually get installed? Commented Oct 26, 2018 at 9:39
  • I use cpan -fi switches for some Commented Oct 26, 2018 at 9:52

1 Answer 1

0

All the module installation failed because the 'make' utility was not installed. Now the cpan modules get installed and can be used within my scripts.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.