PAR-WebStart - Installation Issues on Cygwin Win XP

Posted on Fri Aug 24 12:54:10 2007 by pontifex
Installation Issues on Cygwin Win XP
I'm working at trying to install fetchyahoo (http://cpan.uwinnipeg.ca/par/webstart.html), which requires installing this package. I installed the CPAN tool to make it easier and installing all of the pre-reqs went by without incident. Then when I attempted run the 'pnlp_registry.pl' script to add entries into my resgistry for the next part of the installation. But...
$ perl pnlp_registry.pl This script will add the appropriate registry settings necessary to use perlws of PAR::WebStart to open PNLP files. Do you wish to continue? [yes] Cannot find "perlws" in the PATH at pnlp_registry.pl line 23, <STDIN> line 1.
The normal install docs do a typical 'make', 'make test', 'make install'. None of those failed. In the 'perlws.pl' file I found a reference:
Using the C<Change> and C<Advanced> buttons, arrange to associate with this file type an C<action> of C<open>, with the associated application being C:\Path\to\Perl\bin\perlws.bat "%1"
So I'm looking for a batch file to do my work for me, apparently. I checked my cygwin directory and couldn't find the file. Here's my 'make test':
Running make test make[1]: Entering directory `/home/peter/.cpan/build/PAR-WebStart-0.18-5XqSX2/li b' make[1]: Leaving directory `/home/peter/.cpan/build/PAR-WebStart-0.18-5XqSX2/lib ' make[1]: Entering directory `/home/peter/.cpan/build/PAR-WebStart-0.18-5XqSX2/li b' /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t t/basic.......ok t/config......ok 1/20Could not find "par.pl" at /home/peter/.cpan/build/PAR-WebS tart-0.18-5XqSX2/lib/../blib/lib/PAR/WebStart.pm line 44. t/config......dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 2-20 Failed 19/20 tests, 5.00% okay t/make_par....Added to MANIFEST: lib/D.pm Added to MANIFEST: MANIFEST Added to MANIFEST: script/main.pl t/make_par....ok 1/5Use of uninitialized value in system at t/make_par.t line 28 . Can't exec "": No such file or directory at t/make_par.t line 28. # Test 5 got: "-1" (t/make_par.t at line 29) # Expected: "0" t/make_par....NOK 5/5# t/make_par.t line 29 is: ok($rc, 0); t/make_par....FAILED test 5 Failed 1/5 tests, 80.00% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/config.t 2 512 20 38 2-20 t/make_par.t 5 1 5 Failed 2/3 test scripts. 20/26 subtests failed. Files=3, Tests=26, 2 wallclock secs ( 1.32 cusr + 0.64 csys = 1.96 CPU) Failed 2/3 test programs. 20/26 subtests failed. make[1]: *** [test_dynamic] Error 255 make[1]: Leaving directory `/home/peter/.cpan/build/PAR-WebStart-0.18-5XqSX2/lib ' RKOBES/PAR-WebStart-0.18.tar.gz /cygdrive/c/cygwin/bin/make test -- OK There are some errors, but they weren't fatal.
This being the first time I've used the CPAN tool, I'm not sure what I should be looking out for. In this instance I might have some cascading error. But I think I could fix this particular problem by just making batch file from scratch and continuing on. --Pontifex
Write a response