errors being incorrectly logged -- codes only, no descriptions
OpenMacNews
openmacnews at gmail.com
Tue Nov 15 22:25:31 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
hi henrique,
thx 4 the reply =)
> Did you try rm -rf et/ in the cyrus toplevel dir, and installing your
> distribution's package that provides compile_et? (it is comerr-dev in
> Debian, if that helps).
iiuc, close enuf ...
here's the build notes for my current 'state' ... the result of a bunch of prior discussions, etc.
note the compile_et stemps ...
[ sorry for the cp here, but 'pastebin' is not reponding at the moment ... :-( ]
cheers,
richard
cvs co cyrus (11/2/05 19:39:16)
unsetenv CFLAGS CPPFLAGS CXX CXXFLAGS LDFLAGS LDDLFLAGS LD_PREBIND LC_ALL LANG LINGUAS
setenv LDFLAGS "-bind_at_load -ldl -L/usr/local/berkeley-db/lib -ldb -L/usr/local/cyrus-sasl/lib
- -lsasl2 -lresolv -ldl"
setenv CPPFLAGS "-I/usr/local/berkeley-db/include -I/usr/local/cyrus-sasl/include"
perl -pi -e 's/AC_PROG_RANLIB/AC_PROG_LIBTOOL/g' configure.in
glibtoolize --force --copy
aclocal -I cmulocal
autoheader
autoconf
# cref: https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2729
===================================================
${EDITOR} master/service-thread.c
@107
struct sockaddr_storage sin;
socklen_t len = sizeof(sin);
+ /* XXX: OSX doesn't fill sockaddr correctly against AF_UNIX */
+ sin.ss_family = AF_UNIX;
+
/* is this a connection from the local host? */
if (getpeername(fd, (struct sockaddr *) &sin, &len) == 0) {
if (((struct sockaddr *)&sin)->sa_family == AF_UNIX) {
===================================================
===================================================
${EDITOR} master/service.c
@112
struct sockaddr_storage sin;
socklen_t len = sizeof(sin);
+ /* XXX: OSX doesn't fill sockaddr correctly against AF_UNIX */
+ sin.ss_family = AF_UNIX;
+
/* is this a connection from the local host? */
if (getpeername(fd, (struct sockaddr *) &sin, &len) == 0) {
if (((struct sockaddr *)&sin)->sa_family == AF_UNIX) {
===================================================
./configure \
- --enable-static=yes --enable-shared=yes \
--prefix=/usr/local/cyrus-imap \
--exec-prefix=/usr/local/cyrus-imap \
--bindir=/usr/local/cyrus-imap/bin \
--sbindir=/usr/local/cyrus-imap/sbin \
--libexecdir=/usr/local/cyrus-imap/libexec \
--libdir=/usr/local/cyrus-imap/lib \
--includedir=/usr/local/cyrus-imap/include \
--with-cyrus-prefix=/usr/local/cyrus-imap/bin \
--with-service-path=/usr/local/cyrus-imap/libexec \
--sysconfdir=/var/MailServer/Conf \
--datadir=/var/MailServer/Data/cyrus-imap \
--localstatedir=/var/MailServer/Process \
--with-pidfile=/var/MailServer/Process/cyrus-imap.pid \
--mandir=/var/Documentation/man \
- --with-bdb \
- --with-bdb-libdir=/usr/local/berkeley-db/lib \
- --with-bdb-incdir=/usr/local/berkeley-db/include \
--with-sasl=/usr/local/cyrus-sasl/ \
- --with-openssl=/usr/local/ssl \
- --with-perl=/usr/local/perl5/bin/perl \
- --with-libwrap \
- --with-auth=unix \
- --with-idle=idled \
- --disable-gssapi --without-gss_impl \
- --enable-listext \
- --enable-server \
- --enable-cyradm \
- --disable-cmulocal \
- --enable-murder \
- --with-syslogfacility=LOCAL6 \
- --with-com_err=/usr \
- --enable-sieve \
- --with-snmp=/usr/local/net-snmp \
- --disable-nntp
perl -pi -e 's/\/usr\/lib\/libcom_err.a/-lcom_err/g' ./imap/Makefile
perl -pi -e 's/\/usr\/lib\/libcom_err.a/-lcom_err/g' ./master/Makefile
perl -pi -e 's/\/usr\/lib\/libcom_err.a/-lcom_err/g' ./notifyd/Makefile
perl -pi -e 's/\/usr\/lib\/libcom_err.a/-lcom_err/g' ./SIEVE/Makefile
perl -pi -e 's/\/usr\/lib\/libcom_err.a/-lcom_err/g' ./timsieved/Makefile
cd /usr/ports/cyrus-imap/et && compile_et test1.et
cd /usr/ports/cyrus-imap/et && compile_et test2.et
cd /usr/ports/cyrus-imap/imap && compile_et imap_err.et
cd /usr/ports/cyrus-imap/imap && compile_et mupdate_err.et
cd /usr/ports/cyrus-imap/imap && compile_et nntp_err.et
cd /usr/ports/cyrus-imap/SIEVE && compile_et sieve_err.et
cd /usr/ports/cyrus-imap
make depend
make all
make install
- --
/"\
\ / ASCII Ribbon Campaign
X against HTML email, vCards
/ \ & micro$oft attachments
[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
iEYEAREDAAYFAkN6pqsACgkQlffdvTZxCMaOzACePAW8v/ZxCVQFTTdboGrBkiuF
YzIAn2a9KTu+64mX9U4BasLlOsuCa+bi
=m6qk
-----END PGP SIGNATURE-----
More information about the Info-cyrus
mailing list