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
And my perl is ActiveState v5.6.1 built for sun4-solaris-thread-multi#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 */
In reply to PAR installation problem by gri6507
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |