Re: [Evolution] kerberos WORKING



the solution:
don't use MIT kerb5.  you get that error.  if anyone has successfully
gotten it to work with kerb5 let me know what you did.

to install i did this:
downloaded, unpacked, and compiled krb4-1.1.  my configure was as so:
 ./configure --prefix=/opt/kerb4 --enable-shared=yes
(in case anyone reading this doesn't know, --prefix=(path) specifies a
different place to install the program then the default)

i believe the --enable-shared=yes is necessary, but even if it isn't 
it's worth having the shared as well as static libraries.

next, of course, you need to setup your /etc/krb.conf.  ask a friend or
look online for the exact syntax, and you'll have to talk to some from
your university/company/whatever to find out the info that goes in the
file.

that compiled just great, so then i moved on to evolution.  i downloaded
evolution-1.0, and BerkleyDB 3.1.17.  i just did a generic
configure/make/make install for Berkley DB.

then with the evolution configure i did as so:
./configure --with-krb4=/opt/kerb4 --with-db3=/usr/local/BerkeleyDB.3.1
--prefix=/opt/evolutionkerb

it went along it's way.  i did notice in my config.log a whole bunch of
kerberos stuff related to des, but i'm not entirely sure why or whether
it matters, and for now i'm just glad it's working at all.

after a 'make "MAKE=make -j8" -j8" (the -j8 just for SMP compile) and a
good nights rest (it's a very long compile, even with two processors) i
got up, did a 'make install' and ran evolution.  in the mail settings
option i chose kerberos as my autentication type.

in order for it to work, you need to run 'kinit (username)' before you
check your mail or you'll get a "no kerberos tickets cached" or
something similar error. (have the developers maybe thought about adding
an option to have evolution run kinit?)

that's it.  about 2-3 weeks of hacking these programs summed up in one
e-mail.

On Fri, 2001-12-14 at 11:01, iain wrote:
Out of interest (in case anyone else is having trouble, then we can be
of some help), what was the solution?
From the looks of the error posted below, there was something wrong with
libkrb5.so

iain
On Fri, 2001-12-14 at 15:05, Arren Mund wrote:
well, after about two weeks of trying this and that i've finally found a
solution and have evolution working with kerberos support.  i only wish
this list could have been more help, but oh well.

Arren Mund

On Fri, 2001-12-14 at 01:58, Arren Mund wrote:
to expose my problem here are the specs of my system:
i have a non-rpm based system.  openssl is installed but for some reason
the evolution configure doesn't find it.  i have the MIT kerb5
implementation of kerberos with kerb4 compiled with it.  for my
configure line i put the following:

./configure --with-krb4=/opt/kerberos
--with-db3=/usr/local/BerkeleyDB.3.1 --prefix=/opt/evolutionkerb

and here is the kerberos related error i get in config.log:

configure:11251: gcc -o conftest -g -O2 -Wall -Wunused  
-I/usr/local/include/gtk-1.2 -I/usr/local/lib/glib/include
-I/usr/local/include -I/usr/X11R6/include  -L/opt/kerberos/lib -lkrb4
-I/usr/local/ssl/include -L/usr/local/ssl/lib  -lcrypto -lcom_err
-lroken conftest.c  1>&5
/opt/kerberos/lib/libkrb5.so.3: undefined reference to `stat'
collect2: ld returned 1 exit status
configure: failed program was:
#line 11240 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char krb_mk_req();

int main() {
krb_mk_req()
; return 0; }

can anyone at least give me some idea as to what to do?

Thanks,
Arren Mund

On Fri, 2001-12-14 at 01:43, Arren Mund wrote:
can anyone help he out with configuring/compiling kerberos support into
evolution?  specifically, has anyone successfully done it? if so, what
setup do you have?

Thanks,
Arren Mund




_______________________________________________
evolution maillist  -  evolution ximian com
http://lists.ximian.com/mailman/listinfo/evolution




_______________________________________________
evolution maillist  -  evolution ximian com
http://lists.ximian.com/mailman/listinfo/evolution




_______________________________________________
evolution maillist  -  evolution ximian com
http://lists.ximian.com/mailman/listinfo/evolution



_______________________________________________
evolution maillist  -  evolution ximian com
http://lists.ximian.com/mailman/listinfo/evolution







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