[Kolab-devel] patches for cyrus?

Thomas Arendsen Hein thomas at intevation.de
Wed Oct 7 09:22:59 CEST 2009


* Richard Bos <ml at radoeka.nl> [20091006 23:28]:
> Op dinsdag 06 oktober 2009 23:19:53 schreef Richard Bos:
> > If I call
> > configure with the --with-ldap=%{_libdir} argument, the compilation stops
> > with global.c:(.text+0xc4f): undefined reference to `ldap_.............'
> >
> > What would be the correct argument to give to configure, to get ldap
> > support compiled?
> 
> Tried --with-ldap=/usr/include as well, but this didn't result in rpms either 

The OpenPKG imapd.spec file contains this:

%if "%{with_ldap}" == "yes"
    %{l_shtool} subst -e 's;\(IMAP_LIBS="${LIB_SASL}\) \(.*"\);\1 -lldap -llber \2;g' configure
%endif

So it just patches the configure file on demand.

Regards,
Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Neuer Graben 17, 49074 Osnabrueck - AG Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner




More information about the devel mailing list