[Kolab-devel] kolab cyrus imap patch does not build
Richard Bos
radoeka at xs4all.nl
Sun Oct 23 23:04:22 CEST 2005
Op zaterdag 22 oktober 2005 22:01, schreef Richard Bos:
> hopefully there is somebody, that sees the problem and knows a solution...
>
> Running into the following error when building cyrus-imap with
> the 3 kolab cryus patches applied on suse10:
>
> ### Making all in /usr/tmp/kolab/BUILD/cyrus-imapd-2.2.12/lib
> make[1]: Entering directory `/var/tmp/kolab/BUILD/cyrus-imapd-2.2.12/lib'
> gcc -c -I.. -I/usr/ssl/include -I/usr/include -I../et -DHAVE_CONFIG_H
> -O2 -g -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2
> -fno-strict-aliasing -I/usr/include/kerberosIV -I/usr/lib/sasl2/include
> -fPIC \ libconfig.c
> In file included from libconfig.h:47,
> from libconfig.c:57:
Marcus and me, had quite a struggle to get this problem solved, but we did!!
It means that we are now able to build a suse cyrus-imapd rpm with the kolab
patches applied.
To be able to do that we had to change configure.in file:
diff -Naur cyrus-imapd-2.2.12.old/configure.in cyrus-imapd-2.2.12/configure.in
--- cyrus-imapd-2.2.12.old/configure.in 2005-10-22 22:39:20.000000000 +0200
+++ cyrus-imapd-2.2.12/configure.in 2005-10-22 22:39:52.000000000 +0200
@@ -1041,7 +1041,7 @@
done
IMAP_COM_ERR_LIBS="${COM_ERR_LIBS}"
-IMAP_LIBS="${LIB_SASL} ${LIBS}"
+IMAP_LIBS="${LIB_SASL} ${LIBS} -lldap"
AC_SUBST(LIB_RT)
AC_SUBST(IMAP_COM_ERR_LIBS)
and the tool config2header has to be run after patching in the spec file:
./tools/config2header lib/imapopts.c lib/imapopts.h < lib/imapoptions
I think this was it. Marcus: let me know if I forgot something!
--
Richard Bos
Without a home the journey is endless
More information about the devel
mailing list