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 how I can create an .exe from a .pl? The script I'm trying to work with is the LocalNode.pl...
4 Replies
- Which platform are you developing on? Also, which version of perl2exe are you using? I haven't had any experience converting our sample code to standalone executables so if you pass along your specifics, I'll see if I can get things working. Crypt::SSLeay uses a shared library and relies on openssl's shared library. There may be a problem with the migration of the reliant shared objects.
- jajamax_127538
Nimbostratus
I'm running activestate perl 5.8 on an xp box using the latest version of perl2exe. The problem seems to be in the ssleay.dll. The error message is"501 Protocol scheme 'https' is not supported (Crypt::SSLeay not installed) at C:\Perl\2varsA.exe line 113" 2VarsA is the locallbnode.pl renamed. - Now for the final piece...
perl2exe_bundle "c:\perl\bin\ssleay32.dll"; perl2exe_bundle "c:\perl\bin\libeay32.dll";
- 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;
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