I'm trying to install the PerLDAP software on a RH 7.2 Linux machine.

This requires a copy of the c-sdk library.  

I've downloaded the nspr-4.2.2 and nss-3.6.1 binaries for the Linux2.4
machines.  The instructions on
http://www.mozilla.org/directory/csdk.html state to drop this into the
mozilla/dist directory of the PerLDAP source code.  I retrieved this
source code via the cvs mechanism, and I untarred the afore binaries
into mozilla/dist/nspr-4.2.2 etc.

This didn't seem to work so I dropped the numbers from the directories
and had simply mozilla/dist/nspr, etc.

This gave me a certain number of errors finding
mozilla/dist/include/nspr, and I changed the folder names to
mozilla/dist/include/nspr and include/nss.

Now I'm seeing errors with header files not being found. The first is:
In file included from ldappr-dns.c:29:
ldappr-int.h:30:18: nspr.h: No such file or directory

I'm relatively confident that my problem is in getting the directories
laid out properly.  I would greatly appreciate any suggestions as to
how to get the c-sdk to compile correctly.

Alternatively, pre-built c-sdk binaries, or even an rpm or such for
PerLDAP itself would be great.  I'm not particular to the method by
which PerLDAP is installed, I only wish to install it.

Thanks,
Chris Snyder

Reply via email to