Running sudo cpan install PAR::Packer gives me the following result:

Reading '/root/.cpan/Metadata' Database was generated on Mon, 17 Feb 2014 02:06:13 GMT Running install for module 'PAR::Packer' Running make for R/RS/RSCHUPP/PAR-Packer-1.017.tar.gz Checksum for /root/.cpan/sources/authors/id/R/RS/RSCHUPP/PAR-Packer-1. +017.tar.gz ok CPAN.pm: Building R/RS/RSCHUPP/PAR-Packer-1.017.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 Prototype mismatch: sub main::prompt: none vs ($;$) at /usr/local/shar +e/perl/5.14.2/ExtUtils/MakeMaker.pm line 221 Generating a Unix-style Makefile Writing Makefile for par Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for PAR::Packer Writing MYMETA.yml and MYMETA.json cp lib/PAR/StrippedPARL/Base.pm blib/lib/PAR/StrippedPARL/Base.pm 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/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/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 make[1]: Entering directory `/root/.cpan/build/PAR-Packer-1.017-VWah5u +/myldr' Makefile:745: Warnung: Die Befehle für das Ziel ».c.o« werden überschr +ieben Makefile:334: Warnung: Alte Befehle für das Ziel ».c.o« werden ignorie +rt /usr/bin/perl par_pl2c.pl my_par_pl < ../script/par.pl > my_par_pl.c /usr/bin/perl sha1.c.PL cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-stric +t-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFF +SET_BITS=64 -I/usr/lib/perl/5.14/CORE -DPARL_EXE=\"parl\" -O2 -g ma +in.c main.c: In function ‘main’: main.c:121:23: warning: assignment discards ‘const’ qualifier from poi +nter target type [enabled by default] cc main.o -s -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/p +erl/5.14/CORE -lperl -ldl -lm -lpthread -lc -lcrypt -o ./par /usr/bin/ld: cannot find -lperl collect2: error: ld returned 1 exit status make[1]: *** [par] Fehler 1 make[1]: Leaving directory `/root/.cpan/build/PAR-Packer-1.017-VWah5u/ +myldr' make: *** [subdirs] Fehler 2 RSCHUPP/PAR-Packer-1.017.tar.gz /usr/bin/make -- NOT OK 'YAML' not installed, will not store persistent state Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible

My environment looks like:

TERM=xterm PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=de_DE.UTF-8 LANGUAGE= DISPLAY=:0 SHELL=/bin/bash LOGNAME=root USER=root USERNAME=root MAIL=/var/mail/root HOME=/root SUDO_COMMAND=/usr/bin/env SUDO_USER=indesu SUDO_UID=1000 SUDO_GID=1000

Running Linux Debian 7.4.0 and Perl 5.14.2.

Has it something to do with the UNIX-style makefile or is an environment variable missing??

I really would appreciate if you could point me into the right direction or is there any hint how to overcome the problem?

Many thanks in advance - Jo


In reply to Debian: Problem installing PAR::Packer by jowe

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.