Perlapp.exe works like a charm with net::LDAP by the way (just to
confirm).

-----Original Message-----
From: ENGDAHL Garth [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 14, 2006 5:11 PM
To: Mons, Etienne
Cc: perl-ldap@perl.org
Subject: RE: LDAP execution errors when compiled 

Hello: I've used perl2exe and it was flaky enough to persuade me to
plunk down a few dollars and buy the development kit from ActiveState -
comes with  PerlApp.exe which works just like perl2exe except much
better.  If your code still wouldn't rip into an executable at least
you'd have some tech support available...

 -----Original Message-----
From: Paul Connolly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 05:30
To: 'Mons, Etienne'
Cc: perl-ldap@perl.org
Subject: RE: LDAP execution errors when compiled 

I don't know the specifics of perl2exe, but in my experience the most
successful way to wrap Net::LDAP code in to an executable was using PAR
(http://search.cpan.org/~autrijus/PAR/). You may have to set the
environment variable PAR_VERBATIM=1 to get it to work because of the way
Net::LDAP is written.

Paul.

-----Original Message-----
From: Mons, Etienne [mailto:[EMAIL PROTECTED]
Sent: 14 June 2006 11:27
To: perl-ldap@perl.org
Subject: LDAP execution errors when compiled 


Hello , 

I am using the NET::LDAP to list users from an LDAP server  ...
It works extremly weel when i use  Perl  my_script.pl 

But when I try to create an Executable with perl2exe ..
I get a lot of error messages  : 

synchro_GAC_v4.exe
"LDAP_SUCCESS" is not exported by the Net::LDAP::Constant module at
PERL2EXE_STORAGE/Net/LDAP/Message.pm line 7
"LDAP_COMPARE_TRUE" is not exported by the Net::LDAP::Constant module at
PERL2EXE_STORAGE/Net/LDAP/Message.pm line 7
"LDAP_COMPARE_FALSE" is not exported by the Net::LDAP::Constant module
at PERL2EXE_STORAGE/Net/LDAP/Message.pm line 7
Can't continue after import errors at
PERL2EXE_STORAGE/Net/LDAP/Message.pm line 7
BEGIN failed--compilation aborted at
PERL2EXE_STORAGE/Net/LDAP/Message.pm line 7, <DATA> line 19.
Compilation failed in require at PERL2EXE_STORAGE/Net/LDAP.pm line 13,
<DATA> line 19.
BEGIN failed--compilation aborted at PERL2EXE_STORAGE/Net/LDAP.pm line
13, <DATA> line 19.
Compilation failed in require at C:\synchro_GAC_v4.exe line 16, <DATA>
line 19.
BEGIN failed--compilation aborted at C:\synchro_GAC_v4.exe line 16,
<DATA> line 19.

This exe file was created with the evaluation version of Perl2Exe.
For more information visit http://www.indigostar.com
(The full version does not display this message with a 2 second delay.)
...


Do you have an idea ??

Thanks many times for your help ! 

Etienne Mons

______________________________________________
Etienne Mons
Imaging & Printing Services
HP France 
tel :    +33 1 57 62 50 11 
fax :    +33 1 57 62 77 90
mobile : +33 6 72 99 28 40  

Reply via email to