Cyrus IMAP Server 2.3.16 patch making it compilable on FreeBSD 8
Francis Gendreau
francisgendreau at videotron.ca
Tue Feb 16 19:16:29 EST 2010
I was trying to build the latest source of Cyrus IMAP Server on my
system when I came across a few problems that I've been able to track
down.
Here are my configuration options
CONFIG_OPTIONS=`echo \
--prefix=${PREFIX}/imapd \
--with-cyrus-prefix=${PREFIX}/imapd \
\
--disable-murder \
--disable-cmulocal \
--disable-netscapehack \
--disable-replication \
--disable-nntp \
--disable-gssapi \
\
--enable-listext \
\
--with-bdb-incdir=${BDB_INCLUDE_DIR} \
--with-bdb-libdir=${BDB_LIBRARY_DIR} \
--with-mysql-incdir=${MYSQL_INCLUDE_DIR}\
--with-mysql-libdir=${MYSQL_LIBRARY_DIR}\
--with-openssl \
--without-pgsql \
--without-sqlite \
--with-lock=fcntl \
--without-egd-socket \
--without-krb \
--without-ldap \
--without-afs \
--with-pidfile=${PREFIX}/imapd.pid \
--without-zephyr \
--with-sasl=${SASL_DIR} \
--without-snmp \
--without-libwrap `
During the building process, I've encountered a problem with
lib/imapurl.c:56 -> lib/util.h:120 where mode_t was undefined.
Solution was to include config.h in lib/imapurl.c and in
lib/strcasecmp.c since both include "util.h" without directly or
indirectly including sys/types.h.
Also a minor "oops I forgot a semicolon" in imap/version.c:149
I joined the patch to this email.
Francis Gendreau
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyrus-imapd-2.3.16-fbsd8.patch
Type: text/x-patch
Size: 1658 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20100216/af08988b/attachment.bin
More information about the Cyrus-devel
mailing list