Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: don.robbery [...] gmail.com
Cc:
AdminCc:

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



Subject: PAR-Packer-1.000 make issue
Date: Tue, 24 Nov 2009 21:12:29 +1300
To: bug-PAR-Packer [...] rt.cpan.org
From: Donald Johnson <don.robbery [...] gmail.com>
Hi, I am running Ubuntu 9.10 (Karmic) on 64bit architecture. Using both the CPAN module and Makefile.pl in the download yelded the below results. I'm very keen to get this running should it be able to work on Ubuntu. It appears I maybe missing something looking at the last few lines of the make output. donald@ubuntu-desktop:~/Downloads/PAR-Packer-1.000$ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for the par program Writing Makefile for PAR::Packer donald@ubuntu-desktop:~/Downloads/PAR-Packer-1.000$ make cp lib/App/Packer/PAR.pm blib/lib/App/Packer/PAR.pm cp lib/PAR/Packer.pm blib/lib/PAR/Packer.pm cp lib/PAR/StrippedPARL/Base.pm blib/lib/PAR/StrippedPARL/Base.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/Filter.pm blib/lib/PAR/Filter.pm cp lib/PAR/StrippedPARL/Dynamic.pm blib/lib/PAR/StrippedPARL/Dynamic.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 cp lib/PAR/StrippedPARL/Static.pm blib/lib/PAR/StrippedPARL/Static.pm make[1]: Entering directory `/home/donald/Downloads/PAR-Packer-1.000/myldr' /usr/bin/perl sha1.c.PL sha1.c cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -DPARL_EXE=\"parl\" -O2 -g sha1.c /usr/bin/perl ./file2c.pl /usr/lib/libperl.so.5.10.0 my_perl.c load_me_0 1 30000 cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -DPARL_EXE=\"parl\" -O2 -g main.c In file included from main.c:53: mktmpdir.c: In function ‘par_mktmpdir’: mktmpdir.c:188: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result mktmpdir.c:193: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result main.c: In function ‘main’: main.c:113: warning: format not a string literal and no format arguments /usr/bin/perl ./file2c.pl ../script/par.pl my_par_pl.c load_me_2 1 cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_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 -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/donald/Downloads/PAR-Packer-1.000/myldr' make: *** [subdirs] Error 2 * donald@ubuntu-desktop:~/Downloads/PAR-Packer-1.000$
Your missing (the symlink) libperl.so Install package "libperl-dev" for that. (It's always helpful to look at the "build-depends(-indep)?" list of the Debian package for PAR::Packer http://packages.debian.org/source/sid/libpar-packer-perl) Cheers, Roderich