Fellow monks,

With much recent talk about PAR, pp and tkpp, I decided to give it a try. So I installed all the required modules and now am trying to install PAR-0.85 itself. However, I am running into this problem

% perl Makefile.PL PREFIX=/home/pgrinber/perl_lib *** ExtUtils::AutoInstall version 0.59 *** Checking for dependencies... [Core Features] - File::Temp ...loaded. (0.12 >= 0.05) - Compress::Zlib ...loaded. (1.33 >= 1.3) - Archive::Zip ...loaded. (1.12 >= 1) - Module::ScanDeps ...loaded. (0.46 >= 0.45) - PAR::Dist ...loaded. (0.07 >= 0.06) *** ExtUtils::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for the par program Writing Makefile for PAR % make cp lib/PAR.pm blib/lib/PAR.pm cp lib/PAR/Filter/Obfuscate.pm blib/lib/PAR/Filter/Obfuscate.pm cp lib/App/Packer/PAR.pm blib/lib/App/Packer/PAR.pm cp lib/PAR/Filter.pm blib/lib/PAR/Filter.pm cp lib/PAR/Filter/Bytecode.pm blib/lib/PAR/Filter/Bytecode.pm cp lib/PAR/Tutorial.pod blib/lib/PAR/Tutorial.pod cp lib/PAR/Filter/PatchContent.pm blib/lib/PAR/Filter/PatchContent.pm cp lib/PAR/Filter/PodStrip.pm blib/lib/PAR/Filter/PodStrip.pm cp lib/PAR/Packer.pm blib/lib/PAR/Packer.pm cp lib/PAR/FAQ.pod blib/lib/PAR/FAQ.pod cp lib/PAR/Filter/Bleach.pm blib/lib/PAR/Filter/Bleach.pm cp lib/PAR/Heavy.pm blib/lib/PAR/Heavy.pm gcc -c -DUSE_REENTRANT_API -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -fn +o-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/ActivePerl-5.6/lib/5.6.1/sun4-solaris-thread-multi/CORE m +ain.c In file included from mktmpdir.h:44, from mktmpdir.c:7, from main.c:72: sha1.c:71: warning: preprocessing directive not recognized within macr +o arg sha1.c:71: warning: preprocessing directive not recognized within macr +o arg sha1.c:71: warning: preprocessing directive not recognized within macr +o arg sha1.c:71: warning: preprocessing directive not recognized within macr +o arg sha1.c:76: warning: preprocessing directive not recognized within macr +o arg sha1.c:76: warning: preprocessing directive not recognized within macr +o arg sha1.c:76: warning: preprocessing directive not recognized within macr +o arg sha1.c:76: warning: preprocessing directive not recognized within macr +o arg sha1.c:79: warning: preprocessing directive not recognized within macr +o arg sha1.c:79: warning: preprocessing directive not recognized within macr +o arg sha1.c:79: warning: preprocessing directive not recognized within macr +o arg sha1.c:79: warning: preprocessing directive not recognized within macr +o arg sha1.c:82: warning: preprocessing directive not recognized within macr +o arg sha1.c:82: warning: preprocessing directive not recognized within macr +o arg sha1.c:82: warning: preprocessing directive not recognized within macr +o arg sha1.c:82: warning: preprocessing directive not recognized within macr +o arg sha1.c:85: warning: preprocessing directive not recognized within macr +o arg sha1.c:85: warning: preprocessing directive not recognized within macr +o arg sha1.c:85: warning: preprocessing directive not recognized within macr +o arg sha1.c:85: warning: preprocessing directive not recognized within macr +o arg sha1.c:88: warning: preprocessing directive not recognized within macr +o arg sha1.c:88: warning: preprocessing directive not recognized within macr +o arg sha1.c:88: warning: preprocessing directive not recognized within macr +o arg sha1.c:88: warning: preprocessing directive not recognized within macr +o arg sha1.c:91: warning: preprocessing directive not recognized within macr +o arg sha1.c:91: warning: preprocessing directive not recognized within macr +o arg sha1.c:91: warning: preprocessing directive not recognized within macr +o arg sha1.c:91: warning: preprocessing directive not recognized within macr +o arg In file included from main.c:73: internals.c:67: Invalid token in expression *** Error code 1 make: Fatal error: Command failed for target `main.o' Current working directory /home/pgrinber/tmp/PAR-0.85/myldr *** Error code 1 make: Fatal error: Command failed for target `subdirs' %

Any ideas on what's wrong with my setup? FYI, I'm building this on Solaris.

Update Line 67 of internals.c is

#if (PERL_REVISION == 5 && PERL_VERSION == 8 && PERL_SUBVERSION >= 1) +|| \ (PERL_REVISION == 5 && PERL_VERSION >= 9) /* 5.8.1 and later perl versions no longer copies fakeargv, si +gh */
And my perl is ActiveState v5.6.1 built for sun4-solaris-thread-multi

In reply to PAR installation problem by gri6507

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.