Hi all,

I can't even pass the tests. Output below.
The problem appears to be in extraction and @INC setup.
The 'hello.exe' is created and Win32.pm is packed, but when run something goes 
awry.

Note, I have my own build of perl 5.8.8 which has many of the ActiveState 
patches applied and 0.973 builds just fine against that.

I will investigate here. A good starting point will be 'so what's different 
about AS 820?' Reversing lib and site/lib in @INC order is all I can think of 
for now.

Regards

Mark


t/20-pp.................
#   Failed test 'pp_hello_1
# [430]
t/20-pp.................NOK 1# Test 1_0 The command string " a.exe " in 
directory C:\Perl\build\PAR-Packer-0.973\contrib\automated_pp_test\pp_switch_t
ests\temp1,did not produce :: "hello" ::
# Instead, it produced :: Can't locate Win32.pm in @INC (@INC contains: 
C:\Perl\build\PAR-Packer-0.973\blib\lib C:\Perl\build\PAR-Packer-0.973\contrib
\automated_pp_test C:\Perl\build\PAR-Packer-0.973\inc 
C:\Perl\build\PAR-Packer-0.973\blib\lib 
C:\Perl\build\PAR-Packer-0.973\blib\arch .) at -e line 8
26.
# BEGIN failed--compilation aborted at -e line 896. ::
# End of [430] results
#
# Did pp "hello.pl"  produce a.exe?
# '
#   at automated_pp_test.pl line 7022.

Steffen Mueller wrote:
> m.nooning schrieb:
>> How can I get earlier versions of PAR and pp so that I can do diffs?
> 
> Unless http://search.cpan.org/ doesn't have one, you can find it here:
> 
> http://backpan.perl.org/authors/id/S/SM/SMUELLER/
> 
> Also, for 0.970 and later, look in the repository:
> svn checkout http://svn.openfoundry.org/par/tags/
> svn checkout http://svn.openfoundry.org/par/PAR-Packer/tags/
> 
>> Or maybe someone else is already digging into this.  Is anyone?
> 
> I'm not, sorry. Too much work. But I would suggest you look at the
> change log. I introduced the @INC cleaning* behaviour somewhen. Perhaps
> around 0.970. It's a feature, not a bug. If you execute a pp-created
> binary executable on a computer with a perl installed, it might
> otherwise pick up incompatible locally installed XS extensions.
> 
> Steffen
> 
> * for pp-created binary executables only


Reply via email to