Can I please get some assitance in resolving my issue.I have a a centos 6, 6b -bit, with perl, v5.10.1. I am trying to install aws api module VM::EC2. I need to first install AnyEvent, when I go to install it "cpan AnyEvent", I get the following error:

t/80_ssltest.t ............. skipped: no usable Net::SSLeay t/81_hosts.t ............... ok t/handle/01_readline.t ..... ok t/handle/02_write.t ........ ok t/handle/03_http_req.t ..... skipped: PERL_ANYEVENT_NET_TESTS environm +ent variable not set t/handle/04_listen.t ....... AnyEvent::Handle uncaught error: Connecti +on refused at /root/.cpan/build/AnyEvent-7.12-JRk62y/blib/lib/AnyEven +t/Socket.pm line 1000. t/handle/04_listen.t ....... Dubious, test returned 111 (wstat 28416, +0x6f00) Failed 2/2 subtests Test Summary Report ------------------- t/handle/04_listen.t (Wstat: 28416 Tests: 0 Failed: 0) Non-zero exit status: 111 Parse errors: Bad plan. You planned 2 tests but ran 0. Files=82, Tests=248, 72 wallclock secs ( 0.77 usr 1.17 sys + 3.37 cu +sr 3.78 csys = 9.09 CPU) Result: FAIL Failed 1/82 test programs. 0/248 subtests failed. make: *** [test_dynamic] Error 111 MLEHMANN/AnyEvent-7.12.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports MLEHMANN/AnyEvent-7.12.tar.gz

I also tried to install NET::SSLeay, but it hangs

rm -f blib/arch/auto/Net/SSLeay/SSLeay.so LD_RUN_PATH="/usr/lib64" gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIF +Y_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 - +m64 -mtune= eay.so +\ -L/usr -L/usr/lib64 -L/usr/lib -lssl -lcrypto -lz \ chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.so "/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- SS +Leay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs 644 Manifying 2 pod documents MIKEM/Net-SSLeay-1.72.tar.gz /usr/bin/make -- OK Running make test Running Mkbootstrap for Net::SSLeay () chmod 644 "SSLeay.bs" PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::H +arness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', +'blib/lib', t/handle/local/05_use.t ................ ok t/local/01_pod.t ....................... skipped: Test::Pod 1.00 requi +red for testing POD t/local/02_pod_coverage.t .............. skipped: these tests are for +only for release candidate testing. Enable with RELEASE_TESTING=1 t/local/03_use.t ....................... ok t/local/04_basic.t ..................... ok t/local/05_passwd_cb.t ................. ok t/local/06_tcpecho.t ................... Use of uninitialized value $g +ot in string eq at t/local/06_tcpecho.t line 66.

In reply to PERL_ANYEVENT_NET_TESTS environment variable not set by cbtshare

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.