On Jun 14, 2006, at 5:27 AM, Mons, Etienne wrote:
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
To avoid duplication, Net::LDAP::constant has its POD in a __DATA__
section which is read at runtime to create the constant subs. I guess
perl2exe is removing all pod even though it should not because it is
in a DATA section. Or perl2exe does not support <DATA>, I do not know
as I never use it
Graham.
"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