I'm having some problems getting perldap compiles on a RH ES server.
I've pulled down (through CVS) and compiled (without problems) the
Mozilla LDAP SDK to start out with, but I'm not entirely sure where to
put the libraries/includes into, or even which of the files that are
created are of interest to perldap.

But I can't get any process out trying to build perldap-1.4.1 off the
most recent source .tar.gz. To give you the full scenario, I'm
answering the Makefile.PL's questions as such:

LDAP Software Developer Kit (default: /usr): /usr
(after copying over all lib files from mozilla/dist/lib into /usr/lib
and copying over all the include files from mozilla/dist/public/ldap/
into /usr/include/ldap/)
Using LDAPv3 Developer Kit (default: yes)?  no 
(varying this doesn't seem to do anything)
Include SSL Support (default: yes)?  no
(don't need to use SSL for our needs)
Located multiple librarires:
 - libnss_ldap.so
 - libldap_r.so
 - libldap.a
 - libldap.so
 - libldap_r.a
 - rlm_ldap-0.9.0.so
 - rlm_ldap.so
 - libldap50.a
 - libldap50.so
 - libprldap50.so
 - libssldap50.so
Libraries to link with (default: -L/usr/lib -lnss_ldap -llber): 
(accepted default)
Writing Makefile for Mozilla::LDAP::API

But when I try to make, the first gcc command (trying to do the file
API.c) bombs out. First I get
In file included from API.c:57:
constant.h: In function 'constant':
constant.h:753: incompatible types in return

Then I get a long series of errors starting with:
API.c: At top level:
API.c:89: syntax error before "internal_rebind_proc"
API.c:90: warning: data definition has no type or storage class

Which seems to me like constant.h's failure has made the rest of the
file uncompilable. Can anyone help me with this problem?

Scott Pestana
UNIX Infrastructure Team
The MITRE Corporation
_______________________________________________
mozilla-directory mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-directory

Reply via email to