Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: onken [...] netcubed.de
Cc:
AdminCc:

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



Subject: make fails on MacOS X 10.5
sh-3.2# 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-strict-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.dylib my_perl.c load_me_0 1 30000 cc -c -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-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-strict-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/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lutil -lc --output ./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 ./par is not there cannot find it anywhere...
From: onken [...] houseofdesign.de
Download (untitled) / with headers
text/plain 150b
Still fails even with 0.978 It seems like the last cc statement is not done properly. I ran it manually and it returned immediately without an error.
From: matthew [...] barelystable.com
Download (untitled) / with headers
text/plain 1.1k
it looks like the version of gcc shipping with 10.5 doesn't use "--output" as a valid argument, but doesn't seem to complain about it either. It needs to be altered to "-o" If the package is already configured (which yours likely is) you want to search for "--output" in myldr/Makefile and replace it with "-o". after that it seems to build just find. Remember to replace all instances as theres like 2 or 3. if you haven't configured it you can edit Makefile.PL, there is only one instance and it gets copied around when its configured. I tried building a patch for submission but I'm awful at it, and it wouldn't patch back. It will probably just be fixed next version Show quoted text
> 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/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE -lperl > -ldl > -lm -lutil -lc --output ./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 > > > ./par is not there cannot find it anywhere...
Download (untitled) / with headers
text/plain 227b
Thanks for reporting the bug and supplying the fix. The fix has been applied to PAR::Packer in the Subversion repository at http://svn.openfoundry.org/par/PAR-Packer/trunk. It will be in the next release. Best regards, Steffen


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.