Trying to be proactive I managed to fix this problem... the ldap-sdk
did create all the files I needed, but it didn't put them in a place
that was clear to me. When I looked a little deeper I found all the
files I needed under

mozilla/directory/c-sdk/ldap

The include and libraries directories were in there, along with a lot
of CVS and build/Makefile cruft. After moving them into a cleaner,
more permanent place, I found that I wasn't out of the woods yet. A
critical header file, ldap-standard.h was missing. In it's place was a
"template" file.

The file ldap-standard-tmpl.h begins with:
/* This file is a template. The generated file is ldap-standard.h>
/* ***** BEGIN LICENSE BLOCK *****
etc etc

The rest of the file refers to itself as ldap-standard.h:
/* ldap-standard.h - standards base header file for libldap */
/* This file contain (sic) the defines and function prototypes
matching */
/* very closely to the latest LDAP C API draft */

Somewhat desperate at this point, I renamed the file, and everything
worked. I installed the modules and our perl scripts that use
Mozilla::LDAP::* worked without a hitch. I'm posting all this
information for others who run into these problems, and to let the
developers know about these issues.

If there is a step needed that creates the "real" ldap-standard.h from
the tmpl file, then that step should be added to the instructions for
building the ldap c-sdk. Otherwise, maybe just rename the file in CVS
so everyone who gets it recieves a working setup, since the template
seems to function in the place of the real file. :P


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