On 4/5/06, BLFS Trac <[EMAIL PROTECTED]> wrote:
>
> As far as the LDAP thing, I was surprised at this the
> first time I read it. Then I remembered that I never
> build SASL with LDAP support as this would cause me to
> have to do circular builds with Cyrus and LDAP.
I should have posted about this a long time ago, but when I saw that
BLFS was at openldap-2.3.16 and no one had said anything yet, I
figured I was the only one using it.
As for the circular dependency, I've found a way to get around this as
long as you just want ldapdb and not ldap in saslauthd (which means
you'd have to overwrite it on the second build.) I have two scripts -
cyrus-sasl and cyrus-sasl-ldapdb and my dependencies go
cyrus-sasl:
openldap: cyrus-sasl
cyrus-sasl-ldapdb: openldap
The first two build as normal. This is what I do for ldapdb:
./configure \
--sysconfdir=/etc/sasl \
--with-dbpath=/etc/sasl/sasldb2 \
--enable-ldapdb \
--with-ldap
make -C include
make -C sasldb
make -C plugins
mkdir -pv ${PM_DEST}/usr/lib/sasl2
libtool --mode=install install -c plugins/libldapdb.la \
${PM_DEST}/usr/lib/sasl2
The only files for cyrus-sasl-ldapdb are:
/usr/lib/sasl2/libldapdb.la
/usr/lib/sasl2/libldapdb.so
/usr/lib/sasl2/libldapdb.so.2
/usr/lib/sasl2/libldapdb.so.2.0.21
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page