PerLDAP: Source Code ReleaseContact: Leif Hedstrom
PerLDAP is a set of modules written in Perl and C that will allow developers to leverage their existing Perl knowledge to easily write to and manage LDAP-enabled directories. PerLDAP makes it very easy to search, add, delete, and update directory entries.
To get the source code for PerLDAP, see the instructions below:
- Getting information about the source code.
- Before you download the source code, make sure to read the PerLDAP release notes and installation instructions. A short description of all recent changes is also published.
- You can find more information about using PerLDAP in the PerLDAP Programmer's Guide. This manual explains how to use PerLDAP to write directory-enabled Perl applications.
- To complement the reference documentation, we naturaly must have the official PerLDAP FAQ. This FAQ is useful for beginners and experienced users, and we appreciate more questions, and feedback from you all.
- Downloading the source code.
- You can download the PerLDAP source code here via FTP in either a "gzipped" tar file or a zip file.
- The names of these files include the date when the file was created.
Build InfoThe latest development branch (as of 1/19/2006) is devel-branch-1_4_2 (which will become 1.5 and is already labeled as such). This version will allow you to build perldap "in tree" along with the ldap c sdk, nss, and nspr. See Mozilla LDAP C SDK build instructions for more information.
- Platform Specific
- Solaris using gcc and the Sun supplied /usr/bin/perl - This will only work with the 32 bit versions of the LDAP C SDK, NSS, and NSPR. If you want to have 64 bit native everything, you will have to build a 64 bit perl yourself. First, do the perl Makefile.PL as usual. Then, you will have to override many of the make variables on the command line when you do the make:
make CC=gcc CCCDLFLAGS=-fPIC OPTIMIZE=-O2 LD=gcc LDDLFLAGS="-m32 -shared" CCFLAGS=-m32
- HP-UX using the HP-UX ANSIC compiler and /opt/perl[_64]/bin/perl - On newer OSes, HP supplies a modern version of perl under /opt/perl/bin for 32 bit OS or /opt/perl_64/bin for 64 bit OS. You can use this to build PerLDAP. If you are using gcc, you should not have to do anything special. If you are using the HP ANSIC compiler, you will have to override some variables. First, do perl Makefile.PL as usual. Then:
make CC=cc CCCDLFLAGS=+Z LD= LD_RUN_PATH=$(LD_RUN_PATH) cc LDDLFLAGS=-b CCFLAGS=+DD64 -Ae +Olit=all -D_SYS_MAGIC_INCLUDEDThis is for HP-UX B.11.23 64 bit. For 32 bit, use +DD32 instead. For B.11.11, use +DA2.0W +DS2.0 instead of +DD64 for 64 bit, and use +DS1.1 +DAportable for 32 bit.
If you have questions or want to discuss issues about the Directory SDK source release or the PerLDAP source release, you can post a message to the netscape.public.mozilla.directory newsgroup. (For more information about the newsgroups and mailing lists available from mozilla.org, see the community page.)