Forum Discussion
jajamax_127538
Nimbostratus
Jan 20, 2004Perl to .exe
I need to provide one of my scripts to a group that needs not have access to root user and password. I've tried using perl2exe put it doesn't seem to pick up the Crypt::SSLeay module. Anyone know ho...
Jan 22, 2004
A quick update. I've got sample code compiled and running on my dev machine. I had to add the following lines to the top of the script.
use Crypt::SSLeay;
use SOAP::Transport::HTTP;
use LWP::UserAgent;
use URI::https;
use Carp::Heavy;
use LWP::Protocol::https;
use LWP::Authen::Basic;
In the perl2exe manual(http://www.indigostar.com/pxman.htm), I found a runtime flag that helped out. When you run the executable, if you add '-p2x_test' before any other arguments, missing module information is presented. I still get a warning at compile time, but the executable is created and works.
The error you presented for "... (Crypt::SSLeay not installed)" is something I'll look into. You might have to use the perl2exe_bundle filename directive discussed in their manual to bundle additional dll's needed when deploying to other machines. I'll try to verify this for you.
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects