Mark,

Thank you for the reply back.  Below is a post I just did on a different 
mozilla board about this issue, looks like there is a fix thankfully.

Thanks again!
-Alan

---------------------

All,

I found out what was causing that error.  Even though the c-sdk says it was 
compiled correctly and installed, looks like it was not.  That explained the 
errors while compiling API.c.  So to fix this, I found precompiled libs on 
RedHat's site (ftp://ftp.redhat.com/pub/redhat/ldapsdk/).  The only catch 
with those is that you need to use perldap 1.4 because of bootstrap errors 
about the object version.  Pointing the perldap 1.4 config to those libs 
made this compile and work like a charm.  Hope this helps someone else in 
the future!

Thanks!
-Alan

"Mark Smith" <[email protected]> wrote in message 
news:[email protected]...
>I am not sure, but it looks like you are compiling against OpenLDAP's 
>libraries (for example, ldap_ssl.h is not part of OpenLDAP).  If I remember 
>correctly, PerLDAP requires the Mozilla LDAP C SDK libraries.
>
> -- 
> Mark Smith
> Pearl Crescent
> http://pearlcrescent.com/
>
>
> Alan O'Toole wrote:
>> Hello,
>>
>> I'm attempting to make perldap-1.4.1 on a Redhat 9 machine and I'm 
>> running into the follow errors:
>>
>> gcc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING 
>> -fno-strict-aliasing 
>>  -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
>> -I/usr/include/gdbm 
>>  -DPERL_POLLUTE  -O2 -march=i386 -mcpu=i686 -g   -DVERSION=\"1.41\" 
>> -DXS_VERSION=\"1.41\" 
>>  -fPIC 
>> "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"  -DLDAPV3 -DUSE_SSL 
>> API.c
>> API.c:53:23: ldap_ssl.h: No such file or directory
>> In file included from API.c:57:
>> constant.h: In function `constant':
>> constant.h:753: incompatible types in return
>> API.c: At top level:
>> API.c:89: parse error before "internal_rebind_proc"
>> ... 


_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to