Skip Menu |

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

Report information
The Basics
Id: 32161
Status: open
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: david.greenlee [...] gmail.com
Cc:
AdminCc:

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



Subject: make error PAR::Packer 0.977 on Mac OS 10.5
Date: Tue, 8 Jan 2008 19:25:00 +0000
To: bug-par [...] rt.cpan.org
From: David Greenlee <david.greenlee [...] gmail.com>
Hi, I get the following output trying to install PAR::Packer. Any help appreciated as I've just upgraded from 10.4 which had no problems. Regards, David Greenlee bash-3.2$ sudo perl Makefile.PL Writing Makefile for the par program Writing Makefile for PAR::Packer bash-3.2$ sudo 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/Filter/Obfuscate.pm blib/lib/PAR/Filter/Obfuscate.pm cp lib/PAR/Filter/PodStrip.pm blib/lib/PAR/Filter/PodStrip.pm cp lib/PAR/StrippedPARL/Base.pm blib/lib/PAR/StrippedPARL/Base.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.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 perl sha1.c.PL sha1.c cc -c -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp- precomp -fno-str ct-aliasing -Wdeclaration-after-statement -I/usr/local/include -I/ System/Library/Perl 5.8.8/darwin-thread-multi-2level/CORE sha1.c perl ./file2c.pl /System/Library/Perl/5.8.8/darwin-thread-multi-2level/ CORE/libperl.dy ib my_perl.c load_me_0 1 30000 cc -c -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp- precomp -fno-str ct-aliasing -Wdeclaration-after-statement -I/usr/local/include -I/ System/Library/Perl 5.8.8/darwin-thread-multi-2level/CORE main.c perl ./file2c.pl ../script/par.pl my_par_pl.c load_me_2 1 cc -c -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp- precomp -fno-str ct-aliasing -Wdeclaration-after-statement -I/usr/local/include -I/ System/Library/Perl 5.8.8/darwin-thread-multi-2level/CORE my_par_pl.c cc -mmacosx-version-min=10.5 main.o my_par_pl.o -arch i386 -arch ppc - L/usr/local/lib /System/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DynaLoader/ DynaLoader.a -L/ ystem/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE -lperl -ldl - lm -lutil -lc -- utput ./par perl -e1 perl ./file2c.pl ./par my_par.c load_me_1 1 30000 Usage: ./file2c.pl file.pl file.c c_variable make[1]: *** [my_par.c] Error 1 make: *** [subdirs] Error 2 bash-3.2$
I have just committed what I believe to be a fix for this issue. I don't, however, have access to a Mac. Could you test the Subversion trunk of PAR::Packer for me to see whether the problem has been resolved? You can get the trunk version by running: svn checkout http://svn.openfoundry.org/par/PAR-Packer/trunk cd trunk perl Makefile.PL make make test Best regards, Steffen
Subject: Re: [rt.cpan.org #32161] make error PAR::Packer 0.977 on Mac OS 10.5
Date: Sun, 25 May 2008 23:43:32 +0100
To: bug-PAR-Packer [...] rt.cpan.org
From: David Greenlee <david.greenlee [...] gmail.com>
Hi Steffen, That seemed to work fine. All tests passed and a few simple scripts compiled OK with pp. The single file executables are quite large. 11.9 MB for a single line 'hello world' script. A more complex Tk script also worked, the file was 14.2 MB. Another Tk script which uses some bitmap files failed at runtime. I normally use 'pp -a cbxarrow.xbm' for example to manually add in the files I know are missing. The script runs OK but this is the output I get at run-time from the pp file. bash-3.2$ ./pilotbid.x11app PilotBid is loading.... couldn't read bitmap file "": No such file or directoryerror reading bitmap file "" at Tk/Widget.pm line 205, <FHE> line 1. at Tk/ChildNotification.pm line 20 bash-3.2$ I'll be happy to try more tests etc as you wish. Many thanks for the fix. Cheers, David Greenlee On 22 May 2008, at 12:14, Steffen Mueller via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=32161 > > > I have just committed what I believe to be a fix for this issue. I > don't, however, have access to a Mac. Could you test the Subversion > trunk of PAR::Packer for me to see whether the problem has been > resolved? > > You can get the trunk version by running: > > svn checkout http://svn.openfoundry.org/par/PAR-Packer/trunk > cd trunk > perl Makefile.PL > make > make test > > Best regards, > Steffen