I tried to install the PAR::Packer module on a Ubuntu 10.04 system with Perl 5.10.1 from the cpan shell. The install failed; these seem to be the relevant error messages:
*** You have extra Perl library paths set in your environment. Please note that these paths (set with PERL5LIB or PERLLIB) are not honored by perl when running under taint mode, which may lead to problems. This is a limitation (by design) of Perl, not of PAR::Packer; but some of the problems may manifest here during installation
and
make[1]: *** [par] Error 1 make[1]: Leaving directory `/home/bandi/.cpan/build/PAR-Packer-1.006-E +wCcyq/myldr' make: *** [subdirs] Error 2 RSCHUPP/PAR-Packer-1.006.tar.gz /usr/bin/make -- NOT OK Warning (usually harmless): 'YAML' not installed, will not store persi +stent state Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: RSCHUPP/PAR-Packer-1.006.tar.gz : make NO
What do I do to fix this? Thanks for any help.

Edit: here's a bigger chunk of the console output:

Warning (usually harmless): 'YAML' not installed, will not store persi +stent state CPAN.pm: Going to build R/RS/RSCHUPP/PAR-Packer-1.006.tar.gz *** You have extra Perl library paths set in your environment. Please note that these paths (set with PERL5LIB or PERLLIB) are not honored by perl when running under taint mode, which may lead to problems. This is a limitation (by design) of Perl, not of PAR::Packer; but some of the problems may manifest here during installation. Checking if your kit is complete... Looks good Writing Makefile for the par program Writing Makefile for PAR::Packer Could not read '/home/bandi/.cpan/build/PAR-Packer-1.006-EwCcyq/META.y +ml'. Falling back to other methods to determine prerequisites cp lib/PAR/Packer.pm blib/lib/PAR/Packer.pm cp lib/PAR/Filter/PodStrip.pm blib/lib/PAR/Filter/PodStrip.pm cp lib/PAR/Filter/Obfuscate.pm blib/lib/PAR/Filter/Obfuscate.pm cp lib/PAR/StrippedPARL/Base.pm blib/lib/PAR/StrippedPARL/Base.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/PatchContent.pm blib/lib/PAR/Filter/PatchContent.pm cp lib/PAR/StrippedPARL/Dynamic.pm blib/lib/PAR/StrippedPARL/Dynamic.p +m cp lib/PAR/Filter/Bytecode.pm blib/lib/PAR/Filter/Bytecode.pm cp lib/pp.pm blib/lib/pp.pm cp lib/PAR/Filter/Bleach.pm blib/lib/PAR/Filter/Bleach.pm cp lib/PAR/StrippedPARL/Static.pm blib/lib/PAR/StrippedPARL/Static.pm make[1]: Entering directory `/home/bandi/.cpan/build/PAR-Packer-1.006- +EwCcyq/myldr' /usr/bin/perl sha1.c.PL sha1.c cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe - +fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFF +SET_BITS=64 -I/usr/lib/perl/5.10/CORE -DPARL_EXE=\"parl\" -O2 -g ma +in.c In file included from main.c:53: mktmpdir.c: In function ‘par_mktmpdir’: mktmpdir.c:190: warning: ignoring return value of ‘read’, declared wit +h attribute warn_unused_result mktmpdir.c:195: warning: ignoring return value of ‘read’, declared wit +h attribute warn_unused_result /usr/bin/perl ./file2c.pl ../script/par.pl my_par_pl.c load_my_par_pl +1 cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe - +fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFF +SET_BITS=64 -I/usr/lib/perl/5.10/CORE -DPARL_EXE=\"parl\" -O2 -g my +_par_pl.c cc main.o my_par_pl.o -s -Wl,-E -fstack-protector -L/usr/local/lib +-L/usr/lib/perl/5.10/CORE -lperl -ldl -lm -lpthread -lc -lcrypt -o ./ +par /usr/bin/ld: cannot find -lperl collect2: ld returned 1 exit status make[1]: *** [par] Error 1 make[1]: Leaving directory `/home/bandi/.cpan/build/PAR-Packer-1.006-E +wCcyq/myldr' make: *** [subdirs] Error 2 RSCHUPP/PAR-Packer-1.006.tar.gz /usr/bin/make -- NOT OK Warning (usually harmless): 'YAML' not installed, will not store persi +stent state Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: RSCHUPP/PAR-Packer-1.006.tar.gz : make NO

In reply to Trouble installing PAR::Packer by elef

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.