Cyrus-Imap 2.1.13 wont compile on openbsd
nullpuppy at attbi.com
Mon Jun 9 01:12:31 EDT 2003
Quick follow up....
First, wasnt sure which mailing list to send this too, but it probably
wont here for all three (cyrus-bugzilla, cyrus-devel and info-cyrus)...
Second, I was able to get this to compile... In the process i noticed
two things... One the ./configure script assumes a couple things that
arent true on an openbsd system. Openssl is part of a default openbsd
install.. And are installed as system libraries ( includes are in
/usr/include/ssl and /usr/include/openssl, and libs are in
/usr/lib/ssl). The other problem was the imtest.c file itself... The
#ifdef block appears to be another source of error in an openbsd
system.. I'm not sure why, but with openbsd, the else block is needed
as well (the sasl includes, and a couple function defines...).
If you need any other info, let me know. Hopefully this will help with
getting cyrus better supported in openbsd ;)
Dustin Knie wrote:
>I have an openbsd 3.3 server I'm trying to get cyrus imapd installed
>on... I was following the "howto" at
>I've gotten down to cyrus imapd now, but it fails with the following
>### Making all in /root/imap/cyrus-imapd-2.1.13/imtest
>gmake: Entering directory `/root/imap/cyrus-imapd-2.1.13/imtest'
>gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/bdb/include -I/usr/include/et -I/usr/local/include -I/usr/include/ssl/include -I/usr/local/lib/include -DHAVE_CONFIG_H -g imtest.c
>imtest.c: In function `tls_init_clientengine':
>imtest.c:455: warning: assignment from incompatible pointer type
>imtest.c: In function `auth_apop':
>imtest.c:1874: syntax error before `ctx'
>imtest.c:1887: `ctx' undeclared (first use in this function)
>imtest.c:1887: (Each undeclared identifier is reported only once
>imtest.c:1887: for each function it appears in.)
>gmake: *** [imtest.o] Error 1
>gmake: Leaving directory `/root/imap/cyrus-imapd-2.1.13/imtest'
>gmake: *** [all] Error 1
>I've tried doing this via make, and gmake, both yield the same
>results... Also gcc is version 2.95. And I don't have anything in
>/usr/include/et either... That appears to be e2fsprogs which I dont have
>installed (mainly because its a dedicated openbsd box, and i dont need
>ext2 fs tools...).
More information about the Info-cyrus