Hi all,

I am trying to install cyrus-imapd on my RH7.2 system. As there don't seem
to
be any RPMs for this, I downloaded
        db-4.0.14
        cyrus-sasl-2.1.2
        cyrus-imapd-2.1.3
I compiled and installed db-4.0.14 with --prefix=/usr/local
I compiled and installed cyrus-sasl with --disable-krb4 and --disable-gssapi

Then I configure cyrus-imap with --with-auth=unix (not having krb)

COmpilation barfs with:
[...]
user.c: In function `user_delete':
user.c:115: warning: unused variable `pat'
user.c: At top level:
user.c:84: warning: `user_deleteacl' defined but not used
gcc -c -I. -I.. -I../sieve -I. -I./../lib -I./../acap -I../acap  -I./../siev
e -I/usr/include/db3  -I/usr/local/include   -DHAVE_CONFIG_H  -Wall -g -O2 \
seen_db.c
gcc -c -I. -I.. -I../sieve -I. -I./../lib -I./../acap -I../acap  -I./../siev
e -I/usr/include/db3  -I/usr/local/include   -DHAVE_CONFIG_H  -Wall -g -O2 \
notify_no.c
gcc -c -I. -I.. -I../sieve -I. -I./../lib -I./../acap -I../acap  -I./../siev
e -I/usr/include/db3  -I/usr/local/include   -DHAVE_CONFIG_H  -Wall -g -O2 \
idle_poll.c
rm -f libimap.a
ar cr libimap.a append.o mailbox.o mboxlist.o mupdate-client.o mboxname.o
message.o config.o imap_err.o mupdate_err.o proc.o setproctitle.o
convert_code.o duplicate.o saslclient.o acapmbox.o signals.o annotate.o
search_engines.o squat.o squat_internal.o base64.o imapparse.o telemetry.o
user.o seen_db.o notify_no.o idle_poll.o
ranlib libimap.a
gcc -L/usr/local/lib -Wl,-rpath,/usr/local/lib  -Wall -g -O2   -o imapd \
 ../master/service.o pushstats.o imapd.o index.o tls.o version.o libimap.a
../acap/libacap.a
./lib/libcyrus.a  -lsasl2 -lrt -lssl -lcrypto   -lfl  -ldb-4.0  -lresolv  -l
com_err -lwrap -lnsl
../lib/libcyrus.a(cyrusdb_db3.o): In function `mysync':
/usr/src/cyrus-imapd-2.1.3/lib/cyrusdb_db3.c:232: undefined reference to
`txn_checkpoint'
../lib/libcyrus.a(cyrusdb_db3.o): In function `myarchive':
/usr/src/cyrus-imapd-2.1.3/lib/cyrusdb_db3.c:257: undefined reference to
`log_archive'
/usr/src/cyrus-imapd-2.1.3/lib/cyrusdb_db3.c:278: undefined reference to
`log_archive'
/usr/src/cyrus-imapd-2.1.3/lib/cyrusdb_db3.c:306: undefined reference to
`log_archive'
../lib/libcyrus.a(cyrusdb_db3.o): In function `gettid':
/usr/src/cyrus-imapd-2.1.3/lib/cyrusdb_db3.c:379: undefined reference to
`txn_id'
/usr/src/cyrus-imapd-2.1.3/lib/cyrusdb_db3.c:382: undefined reference to
`txn_id'
/usr/src/cyrus-imapd-2.1.3/lib/cyrusdb_db3.c:392: undefined reference to
`txn_id'
../lib/libcyrus.a(cyrusdb_db3.o): In function `mystore':
/usr/src/cyrus-imapd-2.1.3/lib/cyrusdb_db3.c:671: undefined reference to
`txn_id'
/usr/src/cyrus-imapd-2.1.3/lib/cyrusdb_db3.c:681: undefined reference to
`txn_id'
../lib/libcyrus.a(cyrusdb_db3.o):/usr/src/cyrus-imapd-2.1.3/lib/cyrusdb_db3.
c:695: more undefined references to `txn_id' follow
collect2: ld returned 1 exit status
make[1]: *** [imapd] Error 1
make[1]: Leaving directory `/usr/src/cyrus-imapd-2.1.3/imap'
make: *** [all] Error 1

Any help is appreciated.

regards

Mathias

Reply via email to