Greetings all,

I come before you with yet another question that betrays my ignorance of the inner workings of Perl and *NIX. I have been trying for the past two days to install Net::SSLeay so that, in turn, I could install IO::Socket::SSL. Unfortunately, I find myself running aground during 'make test' and unable to determine how to procede.

Complete transcript of 'make test':

Executing make test .. + make[1]: Entering directory `/tmp/.webmin/Net_SSLeay.pm-1.25/Net-SSLea +y-Handle-0.50' make[1]: Leaving directory `/tmp/.webmin/Net_SSLeay.pm-1.25/Net-SSLeay +-Handle-0.50' PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..20 ok 1 Testing pointer to int casting... cc: gcc ok ./ptrcasttst: 'void *' len: 4, 'unsigned long int' len: 4. ptrcasttst: ok (0x8049778 == 0x8049778). ok ok ok 2 ### Making self signed certificate just for these tests... certificate done. ok 3 ok 4 Spawning a TCP test server on port 1211, pid=3574... Out of memory! *** not ok 5tcp Spawning a SSL test server on port 1212, pid=3577... ok 5 ok 6 ok 7 ok 8 ok 9 Sending 1 MB over localhost, may take a while (and some VM)... ...took 1 secs (1024 KB/s) ok 10 ok 11 Sending 1 MB over pipes, may take a while (and some VM)... ...took 2 secs (512 KB/s) ok 12 ok 13 Now about to contact external sites... www.bacus.pt www.cdw.com banking.wellsfargo.com secure.worldgaming.net www.ubs.com You have 5 seconds of time to hit Ctrl-C if you do not like this. *** 1 tests failed already. Following tests _will_ fail if you do not have network connectivity (or if the servers are down or have changed). ok 14 www.bacus.pt Trying www.cdw.com... ok 15 www.cdw.com (Microsoft-IIS/6.0) Trying banking.wellsfargo.com... ok 16 banking.wellsfargo.com (Netscape-Enterprise/4.1) Trying secure.worldgaming.net... ok 17 secure.worldgaming.net (Apache/1.3.24 (Unix) mod_ssl/2.8.8 OpenS +SL/0.9.6c) Trying www.ubs.com... ok 18 www.ubs.com (Netscape-Enterprise/3.6 SP3) *** WARNING: There were 1 errors in the tests. make: *** [test_dynamic] Error 255

Contents of tcpecho.log:

Out of memory! tcpecho 3292: Accepting connections on port 1211... 2 connection from 127.0.0.1:1341 Out of memory! tcpecho 3362: Accepting connections on port 1211... 2 connection from 127.0.0.1:1450 Out of memory! tcpecho 3748: Accepting connections on port 1211... 2 connection from 127.0.0.1:1872

Contents of sslecho.log:

bind: Address already in use (port=1212) at examples/sslecho.pl line + 29. bind: Address already in use (port=1212) at examples/sslecho.pl line + 29. bind: Address already in use (port=1212) at examples/sslecho.pl line + 29.

Now, it's obvious even to me that "Out of memory!" means just that, it's running out of memory, but I can't pin down where, why or how I can fix it short of buying more memory. Any suggestions?

Thanks





My code doesn't have bugs, it just develops random features.

~Flame


In reply to "Out of memory!" -- make test and Net::SSLeay by Flame

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.