Continuing this topic I found 2 other things:

1) When I used the other Cygwin, which has correct version of the
cygwin1.dll library, but there was no perl installed, then I got such
error:

    <prg_name> - Unable To Locate Component

    This application has failed to start because "cygperl5_8_2.dll"
    was not found. Re-installing the application may fix this problem

So it looks like the PAR package can not live without perl as well. :(

2) When I used exact copy of the cygwin from where I made the PAR
file, and copy it in a different location, then I got something like
this:

    > tafCmdLine -f selection_data.xml
    Can't locate Data/Dumper.pm in @INC (@INC contains: 
/cygdrive/c/DOCUME~1/piotr/LOCALS~1/Temp/par-piotr/cache-da39a3ee5e6b4b0d3255bfef95601890afd80709/inc/lib
     
/cygdrive/c/DOCUME~1/piotr/LOCALS~1/Temp/par-piotr/cache-da39a3ee5e6b4b0d3255bfef95601890afd80709/inc
 CODE(0x1051cd64) /usr/lib/perl5/5.8.2/cygwin-thread-mu
    lti-64int /usr/lib/perl5/5.8.2 
/usr/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int 
/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl .) at (eval 1
    1) line 6.
    BEGIN failed--compilation aborted at (eval 11) line 6.

So it looks like the location of cygwin (with perl) has to be the same
like the one used for copilation, which for me looks like the
generated PAR file has not much value if all needed things (Cygwin +
Perl + additional perl modules) has to be installed on the target
machine.

For compilation I used this same syntax like for Solaris:

    pp -vvv -f Bleach -C -B -I /cm/sqa/teststools/taf/tafCore/bin/lib/ -o ~/tafCmdLine 
tafCmdLine.pl;

Regards,
Murphy

--
  __   __
  ||   ||
 -++- -++- --------------------------------------------------------
  ||\ /||  e-mail: [EMAIL PROTECTED]           GG 107745
  ||   ||  Everything is possible - this is only a question of time
  \/564\/  --------------------------------------------------------

Reply via email to