Re: Trouble building 2.2.13 on FreeBSD 4.11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Apr 29, 2006, at 4:33 PM, Mark Edwards wrote:

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.

Just adding to the fun here, I have tried manually compiling 2.2.12, 2.2.13, and 2.3.3. 2.2.12 suceeds, whereas the other two fail with the above output.

Interestingly, ./configure generates the following output in 2.2.13 and 2.3.3, which is NOT present in 2.2.12:

I also tried 2.3.3, just to experiment, which also fails with the same error.

One thing I notice is that 2.2.13 has the following in its ./ configure output, which is not present in 2.2.12:

checking for res_search in -lresolv... no
checking krb.h usability... yes
checking krb.h presence... yes
checking for krb.h... yes
checking for krb_mk_priv in -lkrb... no
configure: WARNING: No Kerberos V4 found

I wonder if that the root of the problem?

--
Mark Edwards


----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux