Hi

My apologies for bothering you.  I have created a Perl Script that reviews data in our LDAP directory.  It runs fine as a regular Perl Script but when I try and compile it to an exe using Par or even Perl2Exe I get these errors on execution of the resulting executeable.

"LDAP_SUCCESS" is not exported by the Net::LDAP::Constant module at Net/LDAP/Message.pm line 7
"LDAP_COMPARE_TRUE" is not exported by the Net::LDAP::Constant module at Net/LDAP/Message.pm line 7
"LDAP_COMPARE_FALSE" is not exported by the Net::LDAP::Constant module at Net/LDAP/Message.pm line 7
Can't continue after import errors at Net/LDAP/Message.pm line 7
BEGIN failed--compilation aborted at Net/LDAP/Message.pm line 7, <DATA> line 20.


Compilation failed in require at Net/LDAP.pm line 13, <DATA> line 20.
BEGIN failed--compilation aborted at Net/LDAP.pm line 13, <DATA> line 20.
Compilation failed in require at script/modPDrive.pl line 7, <DATA> line 20.
BEGIN failed--compilation aborted at script/modPDrive.pl line 7, <DATA> line 20.


BEGIN failed--compilation aborted at -e line 835, <DATA> line 20.

I am relatively new to Perl.  I am using Activestate Perl on windows XP.  I was wondering if you might be able to point me in the right direction on how to get this to compile.  My issue is that I am the only one who has Perl installed and the desire of my management is to keep it that way.

I really appreciate any help you can give me and again sorry to bother you.

Thanks
 Scott Matthews



Reply via email to