I am trying to install par packer on my PC.
I finally had some success. -------------Jump to the very end-------------


But after you've been to the end, if you feel inclined this is how I got there.

PERL Version

C:\Perl>perl -v

This is perl, v5.10.0 built for MSWin32-x86-multi-thread
(with 5 registered patches, see perl -V for more detail)

Copyright 1987-2007, Larry Wall

Binary build 1004 [287188] provided by ActiveState http://www.ActiveState.com
Built Sep  3 2008 13:16:37

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


C:\Perl>

VISTA OPERATING SYSTEM

Below is some of the error output from nmake test and the system event logger.
Following on from problems below I eventually used PPM to install par packer

When running >pp filename.pl I got the following error message


Earlier when using makefile etc:-

On running "nmake test" I get the following:-


C:\par\PAR-Packer-0.982>nmake test

Microsoft (R) Program Maintenance Utility   Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

        C:\Perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp script/tkpp blib\
script\tkpp
        pl2bat.bat blib\script\tkpp
        C:\Perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp script/pp blib\sc
ript\pp
        pl2bat.bat blib\script\pp
        C:\Perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp script/par.pl bli
b\script\par.pl
        pl2bat.bat blib\script\par.pl
        C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'in
c', 'blib\lib', 'blib\arch')" t/00-pod.t t/20-pp.t t/30-current_exec.t
t/00-pod.............skipped
        all skipped: Set environment variable PERL_TEST_POD=1 to test POD
t/20-pp..............The application has failed to start because its side-by-sid
e configuration is incorrect. Please see the application event log for more deta
il.
C:\par\PAR-Packer-0.982\blib\script/pp: Failed to extract a parl from 'PAR::Stri
ppedPARL::Static' to file 'parlEWxzQUl.exe' at C:\par\PAR-Packer-0.982\blib\lib/
PAR/Packer.pm line 1157, <DATA> line 1.

t/20-pp..............NOK 1/34#   Failed test 'pp_hello_1
# amsg074: sub pp_hello_1 cannot system pp "hello.pl"
# '
#   at automated_pp_test.pl line 7022.
C:\par\PAR-Packer-0.982\blib\script/pp: Failed to extract a parl from 'PAR::Stri
ppedPARL::Static' to file 'parlmbfNj0C.exe' at C:\par\PAR-Packer-0.982\blib\lib/
PAR/Packer.pm line 1157, <DATA> line 1.

#   Failed test 'pp_minus_o_hello_hello_dot_pl
# amsg080: sub pp_minus_o_hello_hello_dot_pl: cannot system pp -o "hello.exe" "h
ello.pl"
# '
t/20-pp..............NOK 2/34#   at automated_pp_test.pl line 7067.
The application has failed to start because its side-by-side configuration is in
correct. Please see the application event log for more detail.
C:\par\PAR-Packer-0.982\blib\script/pp: Failed to extract a parl from 'PAR::Stri
ppedPARL::Static' to file 'parl07EX7wA.exe' at C:\par\PAR-Packer-0.982\blib\lib/
PAR/Packer.pm line 1157, <DATA> line 1.

#   Failed test 'pp_minus_o_foo_foo_dot_pl_bar_dot_pl
# amsg085: sub pp_minus_o_foo_foo_dot_pl_bar_dot_pl: cannot system pp -o foo.exe
 "foo.pl" "bar.pl" )
# '
t/20-pp..............NOK 3/34#   at automated_pp_test.pl line 7115.
t/20-pp..............ok 4/34Terminating on signal SIGINT(2)
NMAKE : Terminating on signal SIGINT(2)
Terminating on signal SIGINT(2)
 U1058:
Stop.

C:\par\PAR-Packer-0.982>

^CThe process tried to write to a nonexistent pipe.
C:\par\PAR-Packer-0.982>


On checking the event log I get the following.


Log Name:      Application
Source:        SideBySide
Date:          05/03/2009 18:13:06
Event ID:      33
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      Vista_pc
Description:
Activation context generation failed for 
"C:\Users\MCGARR~1\AppData\Local\Temp\parluZlQ.exe". Dependent Assembly 
Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
 could not be found. Please use sxstrace.exe for detailed diagnosis.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event";>
  <System>
    <Provider Name="SideBySide" />
    <EventID Qualifiers="49409">33</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2009-03-05T18:13:06.000Z" />
    <EventRecordID>21793</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Vista_pc</Computer>
    <Security />
  </System>
  <EventData>
    
<Data>Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>C:\Users\MCGARR~1\AppData\Local\Temp\parluZlQ.exe</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>


Eventually I discovered PPM.
My first attempt failed.
However this eventually worked on the following day.

  ppm install http://www.bribes.org/perl/ppm/PAR-Packer.ppd

I suspect that because I tried PPM immediately after my earlier "makefile" 
attempts thet my PC had been someway locking out the ppm installation.
The following day I delete all par and perl directories and reinstalled PERL 
from scratch

I then installed PAR (don't know if this was necessary)

ppm install http://www.bribes.org/perl/ppm/PAR.ppd

and then par packer

  ppm install http://www.bribes.org/perl/ppm/PAR-Packer.ppd

everything worked fine

Reply via email to