Hi, 

perl2exe problems are not related to LDAP. Please contact ActiveState or an 
appropriate pdk mailing list or user group.
http://www.activestate.com/Support_Resources/?_x=1#mailinglists


Regards,
Uri

-----Original Message-----
From: Matthews, Scott (Contr) [mailto:[EMAIL PROTECTED] 
Sent: Dienstag, 29. März 2005 00:41
To: [EMAIL PROTECTED]
Subject: Question Regarding compiling a perl script implementing Net::LDAP

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

Content Security by MailMarshal

Reply via email to