Hello,
One way to fix this is to specify the -I and -L flags to the compiler with the appropriate paths. I use a script to call configure which first sets up the various environment variables for our environment. Something like
#!/bin/csh
setenv CFLAGS "-I/usr/kerberos/include -I/local/openssl/include -L/usr/kerberos/lib -L/local/openssl/lib"
./configure \
--prefix=/local/cyrus \
--with-sasl=/local/sasl \
--with-openssl=/local/openssl \
--with-auth=krb5
Above is just a quick example (and probably won't work). But I prefer this method over trying to muck with our standard Solaris Install kit's filesystem. Things go where they go and I go look for them where they are: :)
Regards, Earl Shannon
Alex Needham wrote:
Hi Folks
I'm trying to compile cyrus-imapd to use with kerberos autentication.
Whilst runnning ./configure --with-auth=krb5
checking for crypt... no checking for crypt in -lcrypt... yes checking gssapi.h usability... no checking gssapi.h presence... no checking for gssapi.h... no checking gssapi/gssapi.h usability... no checking gssapi/gssapi.h presence... no checking for gssapi/gssapi.h... no configure: WARNING: Disabling GSSAPI - no include files found checking GSSAPI... disabled checking sasl/sasl.h usability... yes
I know this a path related problem I am just not sure what the configure is looking for.
Thanks to redhat putting kerberos header and libs in /usr/kerberos/include and /usr/kerberos/lib It is making life difficult.
If I put a symlink from /usr/kerberos/include/gssapi /usr/include/gssapi and run configure I get
checking gssapi.h usability... no checking gssapi.h presence... no checking for gssapi.h... no checking gssapi/gssapi.h usability... yes checking gssapi/gssapi.h presence... yes checking for gssapi/gssapi.h... yes checking for res_search in -lresolv... (cached) yes checking for gss_unwrap in -lgssapi... no checking for gss_unwrap in -lgssapi_krb5... no checking for csf_gss_acq_user in -lgss... no checking for csf_gss_acq_user in -lgss... no checking for gss_unwrap in -lgss... no configure: WARNING: Disabling GSSAPI - no library checking GSSAPI... Disabled
So headers are getting there libs not,
Any help greatly appreciated, I would really like to use this as our european mail engine.
Rgds
Alex Stealth IT Bloke UK
-- Alex Needham
Tel +44 1753 829681
Mob +44 7786 396465
Fax +44 1753 855290
--- 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
--- 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