Newbie questions on compiling Cyrus imapd

[email protected]
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
I'm trying to compile Cyrus imapd from source because I want to enable jmap. <waves at jmappers> Having a couple problems doing this.

Using the procedure at http://www.cyrusimap.org/imap/developer/compiling.html on Debian Bookworm:

1. Running the command autoreconf -i -s, I keep getting warnings about a bunch of macros being obsolete, interspersed with messages telling me to run autoupdate. I have run autoupdate, but still get the warnings. Not sure whether these should be ignored or not.

2. Get the following error:
configure: error: Unit tests explicitly requested, but CUnit library is not installed
I'm not familiar with CUnit, so I looked for a Debian package by that name. Closest thing was libcunit1, which I installed but didn't fix the error. Ended up working around this by removing --enable-unit-tests from the configure command, which was successful. Is there a reason for people just compiling imapd to enable unit tests?

3. The make command fails with an error:
imap/mbpath.c:119:13: error: ‘find_tier’ defined but not used [-Werror=unused-function]
  119 | static void find_tier(const char *key, const char *val __attribute__((unused)), void *rock)
      |             ^~~~~~~~~
This one is curious; both the definition and use of the function are inside a #ifdef USE_XAPIAN conditional. Any thoughts on what would be causing this?

I'll probably be back with more questions once I get past this...

-Jim

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T149cd5ba8d3f6d35-M856f0c5b86566627253b3d81
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.