Libtool and Support for Shared Libraries (3)

Carson Gaspar carson at taltos.org
Sun Jun 10 23:28:43 EDT 2012


On 6/10/12 7:32 PM, Greg Banks wrote:
>
>
> On Sat, Jun 9, 2012, at 04:42 PM, Carson Gaspar wrote:
>> ./configure
>> --prefix=/Tools/SunOS_5.11_i86pc_amd64/cyrus-imapd-2.5.autofoo
>> --sysconfdir=/etc
>> --with-sasl=/Tools/SunOS_5.11_i86pc_amd64/cyrus-sasl-git-20120609
>> --with-cyrus-group=cyrus --with-cyrus-user=cyrus
>> --with-openssl=/Tools/SunOS_5.11_i86pc_amd64/openssl-1.0.1c
>> --with-cyrus-prefix=/Tools/SunOS_5.11_i86pc_amd64/cyrus-imapd-2.5.autofoo
>> --with-dbdir=/Tools/SunOS_5.11_i86pc_amd64/db-5.3.21
>> CPPFLAGS=-I/usr/include/kerberosv5 LIBS=-lkrb5
>
> Does --with-krb or --with-krb=/usr not work for you?  That would be a
> bug!

Ummm... --with-krb is all about KRB4. It has nothing whatsoever to do 
with KRB5. --enable-gssapi from cmulocal/sasl2.m4 would seem to be what 
is desired, except that none of the code uses gssapi, it just uses raw 
krb5. So it links in useless libraries, and fails to find the proper 
include files... Frankly, it all needs to be ripped out and replaced 
with something sane. Sadly cmulocal/kerberos_v5.m4 does not qualify as 
sane either :-(

-- 
Carson


More information about the Cyrus-devel mailing list