No such thing as a small change | |
PerlMonks |
"Can't locate XSLoader.pm..." from .exe created with ppby jprice (Novice) |
on Sep 15, 2008 at 13:03 UTC ( [id://711450]=perlquestion: print w/replies, xml ) | Need Help?? |
jprice has asked for the wisdom of the Perl Monks concerning the following question:
I found a few hits on this error, but nothing that clearly applied to my problem. If the answer is already out there, I apologize. Just point me there and I'll go away quietly... ;) I'm creating a standalone .exe in windows 2000 using pp. The resulting .exe file runs fine on the system where I created it. But if I copy it to a system where there is no perl installation I get the following error: "Can't locate XSLoader.pm in @INC (@INC contains: CODE(0x9fb134) .) at -e line 345" I've run pp with the -l switch and specified all of the perl lib directories. I've also specifically included the XSLoader.pm file with the -a switch. In the verbose output from pp I can see that XSLoader.pm has been included in the archive. Here's the pp command I used: pp -vvv -B -l C:\strawberry\perl\lib -l C:\strawberry\perl\site\lib -a C:\strawberry\perl\lib\XSLoader.pm -o crypttest.exe cryptpw.pl What am I missing?
Back to
Seekers of Perl Wisdom
|
|