Hi monks!

Have a problem with IO::Socket::SSL on my Raspberry Pi. After I enter

sudo cpanm IO::Socket::SSL

It takes it quite a lot to think. But finally it returns me an error that installation failed.

With sudo cat /root/.cpanm/build.log in the end of log I can see:
Test Summary Report + + ------------------- + + t/nonblock.t (Wstat: 0 Tests: 27 Failed: 2) + + Failed tests: 13, 26 + + Files=37, Tests=771, 235 wallclock secs ( 3.92 usr 0.46 sys + 168.58 +cusr 6.64 csys = 179.60 CPU) + Result: FAIL + + Failed 1/37 test programs. 2/771 subtests failed. + + Makefile:783: recipe for target 'test_dynamic' failed + + make: *** [test_dynamic] Error 255 + + -> FAIL Installing IO::Socket::SSL failed. See /root/.cpanm/build.log +for details.

I am trying to make a simple e-mail notifier with Mail::IMAPClient, IO::Socket::SSL and Device::BCM2835{the last one is used to interact with GPIO}

Seeking for advice how to solve the problem with module installation{would it be right, for example, to force installation via "cpan" instead of cpanminus?}or artelnatives to it.

With respect, Artimius.

In reply to IO::Socket::SSL and raspberry by Artimus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.