Oppsss... after fixing my LIB env I was able to do a "make", "make test" and "make install". The "make test" did have errors, but the "pp -o myapp.exe myapp.pl" did work , however when I run my .exe version it runs and outputs the correct results, just like the .pl version, but it does not exit. It had to be killed to exit.

--- make test errors ---
mycomputer:PAR-0.85$ make test
make[1]: Entering directory `/cygdrive/c/.cpan/sources/authors/id/A/AU/AUTRIJUS/PAR-0.85/myldr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/c/.cpan/sources/authors/id/A/AU/AUTRIJUS/PAR-0.85/myldr'
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/0-signature.t t/1-basic.t t/2-pp.t
t/0-signature....WARNING: This key is not certified with a trusted signature!
Primary key fingerprint: 66B2 B78E D1B7 7641 4861 D592 B4B3 DD37 3C35 01A0
t/0-signature....ok


t/1-basic........ok

t/2-pp...........ok 27/34# Failed test (automated_pp_test.pl at line 8263)
t/2-pp...........ok 34/34# Looks like you failed 1 tests of 34. t/2-pp...........dubious


       Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 28
       Failed 1/34 tests, 97.06% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/2-pp.t       1   256    34    1   2.94%  28
Failed 1/3 test scripts, 66.67% okay. 1/43 subtests failed, 97.67% okay.
make: *** [test_dynamic] Error 2
mycomputer:PAR-0.85$
------------------------

Anthony Mutiso wrote:

Hi,

I have tried to install PAR on Windows/Cygwin/Perl-5.8.5 installation.

Via "cpan" I got install errors:-
------
 CPAN.pm: Going to build A/AU/AUTRIJUS/PAR-0.85.tar.gz

*** ExtUtils::AutoInstall version 0.59
*** Checking for dependencies...
[Core Features]
- File::Temp        ...loaded. (0.14 >= 0.05)
- Compress::Zlib    ...loaded. (1.33 >= 1.3)
- Archive::Zip      ...loaded. (1.13 >= 1)
- Module::ScanDeps  ...loaded. (0.48 >= 0.45)
- PAR::Dist         ...loaded. (0.07 >= 0.06)
[Digital signature support]
- Digest            ...loaded. (1.08)
- Module::Signature ...loaded. (0.41 >= 0.35)
*** ExtUtils::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for the par.exe program
Writing Makefile for PAR
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/Filter.pm blib/lib/PAR/Filter.pm
cp lib/PAR.pm blib/lib/PAR.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/PAR/Tutorial.pod blib/lib/PAR/Tutorial.pod
cp lib/PAR/FAQ.pod blib/lib/PAR/FAQ.pod
cp lib/PAR/Heavy.pm blib/lib/PAR/Heavy.pm
cp lib/PAR/Filter/Bleach.pm blib/lib/PAR/Filter/Bleach.pm
Syntax error: Unterminated quoted string
make: *** [subdirs] Error 2
 /usr/bin/make  -- NOT OK
Running make test
 Can't test without successful make
Running make install
 make had returned bad status, install seems impossible

cpan> q
Lockfile removed.
--------

I also tried also to use the PAR-0.85-MSWin32-x86-multi-thread-5.8.4.par installation from the par.org website, but when I try to do a "PERL5LIB=/usr/local/PAR-0.85-MSWin32-x86-multi-thread-5.8.4/lib pp -o myapp.exe myapp.pl" I get a "Can't find par loader at /usr/local/PAR-0.85-MSWin32-x86-multi-thread-5.8.4/lib/PAR/Packer.pm line 101." error.

So presently I have not been able to get a working PAR on Windows/Cygwin.

Any help?

Thanks

Anthony



--
Anthony Mutiso, [EMAIL PROTECTED], www.icequake.com, (403) 270-7802
ICEquake Ltd., 2040 Broadview Road NW, Calgary, Alberta T2N 3H8



Reply via email to