| Posted on 2009-12-11 14:18:12-08 by scyanide |
| Unable to locate PAR Heavy.pm |
|
Hello,
So I'm working on a small project that requires me create as few dependencies/software requirements as possible. Since I'm using a perl script to accomplish a certain task, I sought out how to create a standalone executable which is how I came across PAR::Packer or mainly pp.
Sometime ago, in either September or October I created an exe from the script and it had worked fine. Where ever I used the exe it worked and I used it on several different machines. However, some bugs were found in the script recently and I went to update it. Coming back to create the exe again there have been several updates to PAR::Packer and so now I'm faced with the issue of PAR::Packer not compiling/installing or the exe not working on any other machine OTHER than the machine it was created on. Since it was awhile ago when I first created the exe I can't remember what version of perl/PAR::Packer I was using and the machine was wiped since then and so I am unable to use what I had before.
Being a user switching between Windows XP and Vista, what would be the highly recommended combo of perl versions and PAR/PAR::Packer versions to use for a Windows user?
I've managed to get PAR::Packer 0.991 to work with Strawberry/ActiveState (I seem to have most issues with ActiveState, more luck with Strawberry) perl versions of 5.8.8/9/10 and once in awhile 9.992_3-4 will compile and pass the tests but not always (I find this strange) but the exe always spits out the same issue if I run it on another machine:
"Can't locate PAR/Heavy.pm in @INC (@INC contains: CODE(0xac1080) C:\strawberry\perl\vendor\lib .) at -e line 345."
I'm mainly curious, is this currently known and an easy work around? Are there a good combo of flags I can use with pp to fix this or some config/make file I may need to edit or tweak? ...I've attempted various combos myself but with no luck so far.
I thank you for your time and appreciate any help given. I realize that, at times, my thoughts are very sporadic and so if I have not made anything fully clear please let me know and I'll try to explain a little better. Thank you. |
| Direct Responses: Write a response |