PAR installation in perl cannot be completed -
i desperately need help! need compile perl script executable can run in windows without having perl installed. know not idea , absolutely need users of script.
i have searched (a lot!) , decided best solution use par::packer. yet have been trying install 10 days no success…
i ve tried possible combinations of perl installation (activestate, strawberry, 5.10, 5.14, 5.16) , par versions, haven’t found combination works….
i tried link: http://www.nicholassolutions.com/tutorials/perl-par.htm
and various site..
anyway, right now, have installed (with above instructions):
- strawberry perl 5.16.3001
- par-1.007
the error when try run
pp –o script.exe script.pl
is that:
pp not recognized external or internal command, operable program or batch file
indeed don’t find relevant pp.bat in bin. earlier versions of par, bat created, although there other missing files appearing when running pp….
my path variable contains:
c:\strawberry\c\bin;c:\strawberry\perl\site\bin;c:\strawberry\perl\bin
i used par::packer 1.0.14 errors in installation, like
dmake.exe: error code 255, while making 'subdirs'
so, question is: know sure way can work?? frustrated , pressed, every appreciated.
thanks lot!
i have used par pack scripts other users. has worked well.
my old setup done long ago. have new laptop , tried reproduce error - seems works.
my steps:
- downloaded , installed strawberry-perl-5.18.1.1-64bit.msi
- install par::packer cpan client
- create testscript , type
pp -c -o test.exe test.pl
the executable file pp located in c:\strawberry\perl\site\bin\pp , installed when installed par::packer.
if cant find pp on system might want check installation of par::packer.
i hope helps :)