Trouble building 2.2.13 on FreeBSD 4.11

Mark Edwards mark at antsclimbtree.com
Sat Apr 29 19:33:33 EDT 2006


I am having trouble compiling cyrus-imapd 2.2.13 on a FreeBSD 4.11p16  
machine.  I can compile 2.2.12 just fine, and have been using it for  
many months.

I have tried from the FreeBSD port, as well as downloading and  
compiling myself, with this configure statement:

./configure --with-bdb-incdir=/usr/local/include/db41/ --with-bdb- 
libdir=/usr/local/lib/ --with-sasl=/usr/local/
make

Both methods result in the output below.  I don't use Kerberos nor do  
I have it installed, although I did also try installing the Kerberos4  
and Kerberos5 ports, neither of which changed my results.

Thanks for any help!

.
.
.
gcc -c -I.. -I./../lib  -I./../sieve -I/usr/local/include/db41/  -I/ 
usr/local/include -I/usr/local//include -DHAVE_CONFIG_H -g -O2   
quota_db.c
gcc -c -I.. -I./../lib  -I./../sieve -I/usr/local/include/db41/  -I/ 
usr/local/include -I/usr/local//include -DHAVE_CONFIG_H -g -O2   
seen_db.c
gcc -c -I.. -I./../lib  -I./../sieve -I/usr/local/include/db41/  -I/ 
usr/local/include -I/usr/local//include -DHAVE_CONFIG_H -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  global.o imap_err.o mupdate_err.o proc.o  
setproctitle.o  convert_code.o duplicate.o saslclient.o saslserver.o  
signals.o  annotate.o search_engines.o squat.o squat_internal.o  
mbdump.o  imapparse.o telemetry.o user.o notify.o protocol.o  
quota_db.o  seen_db.o idle_poll.o
ranlib libimap.a
gcc -L/usr/local/lib/ -R/usr/local/lib/ -o imapd  ../master/service.o  
pushstats.o backend.o imapd.o index.o tls.o version.o mutex_fake.o   
libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/local//lib  - 
R/usr/local//lib -lsasl2  -lssl -lcrypto   -lfl   -L/usr/local/lib/  - 
R/usr/local/lib/ -ldb41 -lmd -lcom_err -lwrap
../lib/libcyrus.a(auth_krb5.o): In function `mycanonifyid':
/usr/home/paimin/cyrus-imapd-2.2.13/lib/auth_krb5.c:122: undefined  
reference to `krb5_init_context'
/usr/home/paimin/cyrus-imapd-2.2.13/lib/auth_krb5.c:129: undefined  
reference to `krb5_parse_name'
/usr/home/paimin/cyrus-imapd-2.2.13/lib/auth_krb5.c:137: undefined  
reference to `krb5_get_default_realm'
/usr/home/paimin/cyrus-imapd-2.2.13/lib/auth_krb5.c:140: undefined  
reference to `krb5_build_principal'
/usr/home/paimin/cyrus-imapd-2.2.13/lib/auth_krb5.c:141: undefined  
reference to `krb5_free_principal'
/usr/home/paimin/cyrus-imapd-2.2.13/lib/auth_krb5.c:142: undefined  
reference to `krb5_free_context'
/usr/home/paimin/cyrus-imapd-2.2.13/lib/auth_krb5.c:149: undefined  
reference to `krb5_realm_compare'
/usr/home/paimin/cyrus-imapd-2.2.13/lib/auth_krb5.c:154: undefined  
reference to `krb5_free_principal'
/usr/home/paimin/cyrus-imapd-2.2.13/lib/auth_krb5.c:159: undefined  
reference to `krb5_unparse_name'
/usr/home/paimin/cyrus-imapd-2.2.13/lib/auth_krb5.c:160: undefined  
reference to `krb5_free_principal'
/usr/home/paimin/cyrus-imapd-2.2.13/lib/auth_krb5.c:161: undefined  
reference to `krb5_free_context'
/usr/home/paimin/cyrus-imapd-2.2.13/lib/auth_krb5.c:172: undefined  
reference to `krb5_free_principal'
/usr/home/paimin/cyrus-imapd-2.2.13/lib/auth_krb5.c:173: undefined  
reference to `krb5_free_context'
*** Error code 1

Stop in /usr/home/paimin/cyrus-imapd-2.2.13/imap.
*** Error code 1

Stop in /usr/home/paimin/cyrus-imapd-2.2.13.


More information about the Info-cyrus mailing list