Re: Compiling 2.2.12 on Slackware

From: Jorey Bump (no email)
Date: Wed Jan 04 2006 - 17:01:03 EST

  • Next message: JB Hewitt: "Re: SASL issues - can login once then not at all"

    Chris wrote:
    > Hello,
    >
    > I'm also trying to compile on Slackware (Version 10+ish). I believe
    > I've made it past the BerkeleyDB problems I was having at first (Thanks
    > to Jorey Bump for that part...), but now I'm getting the following:
    >
    > ./configure \
    > --with-bdb-libdir=DIR=/usr/lib \
    > --with-bdb-incdir=/usr/include/db4
    >
    > make
    > <Snip the stuff that compiled fine>
    >
    > In file included from version.c:59:
    > xversion.h:3:23: warning: no newline at end of file
    >
    > <Snip some more>
    >
    > gcc -c -I.. -I./../lib -I../et -I./../sieve -I/usr/include/db4
    > -DHAVE_CONFIG_H -g -O2 \
    > message.c
    > tls.c: In function `get_session_cb':
    > tls.c:527: warning: passing arg 2 of `d2i_SSL_SESSION' from incompatible
    > pointer type
    > gcc -c -I.. -I./../lib -I../et -I./../sieve -I/usr/include/db4
    > -DHAVE_CONFIG_H -g -O2 \
    > global.c
    > gcc -c -I.. -I./../lib -I../et -I./../sieve -I/usr/include/db4
    > -DHAVE_CONFIG_H -g -O2 \
    > imap_err.c
    > version.c: In function `id_response':
    > version.c:103: error: syntax error before ')' token
    > distcc[20459] ERROR: compile version.c on 192.168.1.140 failed
    > make[1]: *** [version.o] Error 1
    > make[1]: *** Waiting for unfinished jobs....
    > make[1]: Leaving directory `/src/cyrus/cyrus-imapd-2.2.12/imap'
    > make: *** [all] Error 1
    >
    > Any ideas?

    It's an easy compile on Slackware 10.2, if you have it. Earlier versions
    will require additional libraries (like cyrus-sasl). I'm not sure what
    the problem is, but you could try the following:

    - try a local compilation (without distcc)
    - download a new tarball in case the original is corrupt
    - download cyrus-imapd 2.3.1 and see if that will compile
    - run ldconfig if you've recently installed any dependencies
    - try it on a full installation of Slackware 10.2 (recommended)

    In case it helps, this is what I do:

      ./configure --prefix=/usr \
         --with-bdb-libdir=/usr/lib \
         --with-bdb-incdir=/usr/include/db4
      make depend
      make all CFLAGS=-O

    You may need additional flags if you use a Slackware older than 10.2.

    ----
    Cyrus Home Page: http://asg.web.cmu.edu/cyrus
    Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: JB Hewitt: "Re: SASL issues - can login once then not at all"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD