I have a problem compiling Cyrus IMAPD. I'm a newbie to Linux and it may be
there's something obvious I've missed. This problem does not appear to be
covered in the archive of the list.

I have a  machine running Slackware, the current version as of a couple of
weeks ago. Kernel version is 2.2.16, gcc version is egcs-2.91.66, as
reported in /proc/version.

It's a clean install on which I initially put Berkely database 3.3.11,
followed by cyrus-sasl-1.5.24, followed by cyrus-sasl-1.5.24. Compilation of
the database and of sasl are fine, but compilation of the imapd then fails
after generating many errors- cut and pasted at the end of this message.
Suspecting a version mismatch, since in the imapd config script the database
version number only goes up to 3.2, I uninstalled all three packages with
"makefile distclean", downloaded Berkely db-3.2.9 and tried again from
scratch. The results were the same. I'm working from the howto by Aurora
Skarra-Gallagher and following the installation instructions in there.

Any suggestions as to how I can get this to work?


auth_unix.c
gcc -c -I.. -I/usr/local/include   -DHAVE_CONFIG_H -I. -I. -O \
cyrusdb_db3.c
cyrusdb_db3.c: In function `init':
cyrusdb_db3.c:107: structure has no member named `set_paniccall'
cyrusdb_db3.c:109: structure has no member named `set_verbose'
cyrusdb_db3.c:109: `DB_VERB_DEADLOCK' undeclared (first use in this
function)
cyrusdb_db3.c:109: (Each undeclared identifier is reported only once
cyrusdb_db3.c:109: for each function it appears in.)
cyrusdb_db3.c:110: structure has no member named `set_verbose'
cyrusdb_db3.c:110: `DB_VERB_WAITSFOR' undeclared (first use in this
function)
cyrusdb_db3.c:113: structure has no member named `set_verbose'
cyrusdb_db3.c:113: `DB_VERB_CHKPOINT' undeclared (first use in this
function)
cyrusdb_db3.c:115: structure has no member named `set_lk_detect'
cyrusdb_db3.c:116: structure has no member named `set_lk_max'
cyrusdb_db3.c:122: structure has no member named `set_errcall'
cyrusdb_db3.c:123: structure has no member named `set_errpfx'
cyrusdb_db3.c:139: structure has no member named `open'
cyrusdb_db3.c: In function `done':
cyrusdb_db3.c:180: structure has no member named `close'
cyrusdb_db3.c: In function `sync':
cyrusdb_db3.c:199: warning: passing arg 1 of `txn_checkpoint' from
incompatible pointer type
cyrusdb_db3.c:199: too many arguments to function `txn_checkpoint'
cyrusdb_db3.c: In function `open':
cyrusdb_db3.c:229: structure has no member named `open'
cyrusdb_db3.c: In function `gettid':
cyrusdb_db3.c:264: warning: passing arg 1 of `txn_begin' from incompatible
pointer type
cyrusdb_db3.c:264: too many arguments to function `txn_begin'
cyrusdb_db3.c: In function `fetchlock':
cyrusdb_db3.c:338: `DB_RMW' undeclared (first use in this function)
cyrusdb_db3.c: In function `foreach':
cyrusdb_db3.c:394: too many arguments to function
cyrusdb_db3.c:424: too many arguments to function
cyrusdb_db3.c:454: too many arguments to function
cyrusdb_db3.c: In function `mystore':
cyrusdb_db3.c:529: warning: passing arg 1 of `txn_begin' from incompatible
pointer type
cyrusdb_db3.c:529: too many arguments to function `txn_begin'
cyrusdb_db3.c:559: too many arguments to function `txn_commit'
cyrusdb_db3.c: In function `delete':
cyrusdb_db3.c:616: warning: passing arg 1 of `txn_begin' from incompatible
pointer type
cyrusdb_db3.c:616: too many arguments to function `txn_begin'
cyrusdb_db3.c:645: too many arguments to function `txn_commit'
cyrusdb_db3.c: In function `commit_txn':
cyrusdb_db3.c:672: too many arguments to function `txn_commit'
make[1]: *** [cyrusdb_db3.o] Error 1
make[1]: Leaving directory `/home/cyrus/cyrus-imapd-2.0.15/lib'
make: *** [all] Error 1

--
Craig Graham
School of Physics and Chemistry
Lancaster University, UK

Reply via email to