I'm not using debian linux, I guess the reason I do not have apt-get.

What does UTSL stand for?

Where would I set the environment variable TEMP or TMP? How do I adjust which /tmp directory PAR uses? I do not see anything in Makefile.PL.

Update: I looked into the code and found PAR_TEMP. Trying to set that now.

Shite. Its not working. I've set PAR_TEMP with declare -x PAR_TEMP=/home/andrew/tmp but it doesn't seem to pick it up. It is still trying to write to /tmp exactly as before. It looks like that code was just touched by the author in the last revision, maybe it is still broken? Or maybe I am doing something wrong?

Update 2: OK, I've finally got it recoginizing the temp directory. Now its passing at least some tests. Still failing 23 of the t/2-pp.t tests.

Update 3: I've isolated the first failing test here:

OUTPUT FROM make test TEST_VERBOSE=1 # [420]sub pp_hello_1 cannot open a pipe for ./a.out 2>&1 |

The code for that is here:

if (!(open (CMD_STDOUT_AND_STDERR, "$cmd 2>&1 |"))){ close(PIPE_LOGFILE); $$message_ref = "\n\[420\]sub $test_name_string cannot " . "open a pipe for $cmd 2>&1 |\n"; return (EXIT_FAILURE); }

Added a dump of $! to $$message_ref error string. Gave me

# [420]sub pp_hello_1 cannot open a pipe for ./a.out 2>&1 | # ($! = Permission denied) #

Permission denied? Why would you get a permission denied from the open command? -Andrew.


Andrew Tomazos  |  andrew@tomazos.com  |  www.tomazos.com

In reply to Re^2: PAR::Heavy failed to map segment by tomazos
in thread PAR::Heavy failed to map segment by tomazos

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.