Subject: | PAR::Packer fails to build from CPAN on win32/cygwin |
When attempting to do an `install PAR::Packer` from CPAN, the build
process dies at the following location:
CPAN.pm: Going to build S/SM/SMUELLER/PAR-Packer-0.977.tar.gz
make: *** No rule to make target `script/parldyn.exe', needed by
`blib/script/parldyn.exe'. Stop.
make: *** Waiting for unfinished jobs....
When attempting to build it outside of CPAN, this make target error does
not occur, instead, it fails slightly later in the build:
gcc static.o -s -s -s -L/usr/local/lib
/usr/lib/perl5/5.8/cygwin/auto/DynaLoader
/DynaLoader.a /usr/lib/perl5/5.8/cygwin/auto/Win32CORE/Win32CORE.a
-L/usr/lib/pe
rl5/5.8/cygwin/CORE -ldl -lcrypt -lgdbm_compat win32.coff --output
./static.exe /usr/bin/perl.exe -e1 /usr/bin/perl.exe parlsig.pl
./static.exe ./par.exe 1 30000
./static.exe -I"/cygdrive/c/PAR-Packer-0.997/inc"
-I"/usr/lib/perl5/5.8/cygwin"
-I"/usr/lib/perl5/5.8" -I"/usr/lib/perl5/site_perl/5.8/cygwin"
-I"/usr/lib/perl5
/site_perl/5.8" -I"/usr/lib/perl5/site_perl/5.8"
-I"/usr/lib/perl5/vendor_perl/5
.8/cygwin" -I"/usr/lib/perl5/vendor_perl/5.8"
-I"/usr/lib/perl5/vendor_perl/5.8"
-I"/cygdrive/c/PAR-Packer-0.997" -I"." -I../myldr/.. -I../blib/lib -q
-B -O../script/parl.exe
make[1]: *** [../script/parl.exe] Error 34
make[1]: Leaving directory `/cygdrive/c/PAR-Packer-0.997/myldr'
make: *** [subdirs] Error 2
The latter failure appears to be because despite the fact that
static.exe is technically executable (it does in fact run but return
nothing), since it does not return a successful value (thus the make
Error 34), the make process dies here. Running the last command
manually does not get me past the error. Something about running
static.exe with a bunch of arguments, last of which being
../script/parl.exe is simply not functioning properly.