Re: perldap API make error

Mark Smith <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[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"
> ...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.