Skip Menu |

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 94008
Status: resolved
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: gabor [...] szabgab.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: PAR-Packer-1.017 failed to make on Ubuntu 13.10 perl 5.14.2
Date: Wed, 19 Mar 2014 17:29:47 +0200
To: bug-par-packer [...] rt.cpan.org
From: Gabor Szabo <gabor [...] szabgab.com>
~/.cpanm/work/1395242808.32202/PAR-Packer-1.017$ perl Makefile.PL *** 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 /home/gabor/perl5/lib/perl5/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 :~/.cpanm/work/1395242808.32202/PAR-Packer-1.017$ make 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 `/home/gabor/.cpanm/work/1395242808.32202/PAR-Packer-1.017/myldr' Makefile:745: warning: overriding commands for target `.c.o' Makefile:334: warning: ignoring old commands for target `.c.o' /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-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -DPARL_EXE=\"parl\" -O2 -g main.c main.c: In function ‘main’: main.c:121:23: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] fakeargv[argno++] = my_par_pl; ^ In file included from main.c:52:0: mktmpdir.c: In function ‘par_mktmpdir’: mktmpdir.c:233:13: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(f, buf, 6); ^ mktmpdir.c:238:17: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(f, buf, 41); ^ cc main.o -s -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/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] Error 1 make[1]: Leaving directory `/home/gabor/.cpanm/work/1395242808.32202/PAR-Packer-1.017/myldr' make: *** [subdirs] Error 2
El 2014-03-19 11:29:58, gabor@szabgab.com escribió: Show quoted text
> ~/.cpanm/work/1395242808.32202/PAR-Packer-1.017$ perl Makefile.PL
... Show quoted text
> /usr/bin/ld: cannot find -lperl
You need to install the "Perl development" package, called libperl-dev on Debian/Ubuntu. Cheers, Roderich
Subject: Re: [rt.cpan.org #94008] PAR-Packer-1.017 failed to make on Ubuntu 13.10 perl 5.14.2
Date: Thu, 20 Mar 2014 11:30:23 +0200
To: bug-PAR-Packer [...] rt.cpan.org
From: Gabor Szabo <gabor [...] szabgab.com>
thanks, and sorry for the noise. Gabor On Thu, Mar 20, 2014 at 11:24 AM, Roderich Schupp via RT <bug-PAR-Packer@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=94008 > > > El 2014-03-19 11:29:58, gabor@szabgab.com escribió:
>> ~/.cpanm/work/1395242808.32202/PAR-Packer-1.017$ perl Makefile.PL
> ...
>> /usr/bin/ld: cannot find -lperl
> > You need to install the "Perl development" package, called libperl-dev on Debian/Ubuntu. > > Cheers, Roderich
I've added a check for distro package "libperl-dev" on Debian derived distros. Cheers, Roderich