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?
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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: "Can't locate XSLoader.pm..." from .exe created with pp
by jprice (Novice) on Sep 15, 2008 at 18:30 UTC | |
by Anonymous Monk on Sep 16, 2008 at 02:18 UTC | |
Re: "Can't locate XSLoader.pm..." from .exe created with pp
by tsee (Curate) on Sep 17, 2008 at 09:35 UTC | |
Re: "Can't locate XSLoader.pm..." from .exe created with pp
by Lrdtalon (Novice) on Jun 17, 2009 at 17:08 UTC |
Back to
Seekers of Perl Wisdom