[73] in im locker bugs

home help back first fref pref prev next nref lref last post

Re: Gaim Zephyr?

daemon@ATHENA.MIT.EDU (Edward Faulkner)
Sat Sep 6 14:50:45 2003

Date: Sat, 6 Sep 2003 14:50:42 -0400
From: Edward Faulkner <edward@MIT.EDU>
To: Arun A Tharuvai <aatharuv@MIT.EDU>
Cc: bug-im@MIT.EDU
Reply-To: edward@MIT.EDU
In-Reply-To: <20030906165404.GB13217@multics.mit.edu>

Thanks, changing my exposure fixed it.  Both the im locker and my
local build are working now.

However, the build problems persist, despite installing all the
packages you listed.  Let me know if this bug report should go to
someone other than yourself.

Gaim builds ok without kerberos.  Configuring --with-krb4=/usr
correctly finds the libraries, but I get compile errors:

In file included from error_message.c:13:
error_table.h:9: error: redefinition of `struct error_table'
error_message.c: In function `error_message':
error_message.c:29: error: `COM_ERR_BUF_LEN' undeclared (first use in this function)
error_message.c:29: error: (Each undeclared identifier is reported only once
error_message.c:29: error: for each function it appears in.)
error_message.c:31: warning: return makes pointer from integer without a cast
error_message.c:29: error: storage size of `buf' isn't known
error_message.c: At top level:
error_message.c:35: warning: type mismatch with previous implicit declaration
error_message.c:31: warning: previous implicit declaration of `error_message_r'
error_message.c:35: warning: `error_message_r' was previously implicitly declared to return `int'
make[4]: *** [error_message.lo] Error 1
make[4]: Leaving directory `/home/edward/gaim/gaim-0.67/src/protocols/zephyr'


I was able to make it build (with warnings) by doing the following
(ugly) things:

1. Comment out the definition of struct error_table in error_table.h
(it is also defined in zephyr_err.c).
2. Move the definition of COM_ERR_BUF_LEN outside the protection of
#ifndef __COM_ERR_H in com_err.h.
3. On line 30 of init_et.c, change "int base" to "long base".

The resulting executable appears to work fine.  Here is version
information for the (hopefully) relevant libraries:

% dpkg -l | grep -i kerberos
ii  krb4-config    1.5            Configuration files for Kerberos Version 4
ii  krb5-config    1.5            Configuration files for Kerberos Version 5
ii  libkadm55      1.3-2          MIT Kerberos administration runtime librarie
ii  libkrb-1-kerbe 1.2.2-3        Kerberos Libraries for Kerberos4 From KTH
ii  libkrb53       1.3-2          MIT Kerberos runtime libraries
ii  libpam-krb5    1.0-8          PAM module for MIT Kerberos
ii  openafs-krb5   1.3-10         The AFS distributed filesystem- Kerberos 5 I


regards,
Ed

On Sat, Sep 06, 2003 at 12:54:04PM -0400, Arun A Tharuvai wrote:
>  On Fri, Sep 05, 2003 at 04:57:44PM -0400, Edward Faulkner wrote:
> > I've tried both gaim and gaim-0.66 in the im locker on x.dialup and
> > neither works for me.  klist shows my krb4 tickets and owl runs just
> > fine.  I tried deleting my .gaim and .gaimrc files in case they were
> > causing trouble, but it didn't help.
> > 
> > When I run gaim I see an error on the terminal:
> > 
> > ln: cannot create /var/tmp/.agm/im: Permission denied
> > 
> > However, when I run gaim-0.66, there is no error.  But I still can't
> > login.
> 
> Please cc bug-im in your responses, so it gets saved in the archives.
> 
> I noticed that your .zephyr.vars file was world readable. Looking
> through it, your exposure is set to none, which means "don't run
> zephyr", though owl ignores this. Setting it to another setting (one
> of opstaff, realm-visible, realm-announced, etc..) should fix this.
> 
> > I have also tried building my own copy on a linux 2.4 i386 box from
> > the source in debian unstable (gaim-0.67), including the --with-krb4
> > option.  I wasn't sure which kerberos package to build against, but I
> > got it to build using libkrb5-dev-1.3-2 (although I had to muck with
> > the build system so it would find the kerberosIV headers - there was
> > probably a smarter way).  When I try to login, I get the same
> > "Couldn't set location" error.
> 
> gaim builds cleanly for me against libkrb5-dev. In case you're
> interested, here are the list of kerberos related packages I have
> installed on my debian unstable/testing box.
> 
> ii  krb4-config    1.4            Configuration files for Kerberos Version 4
> ii  krb5-clients   1.2.5-1        Secure replacements for ftp, telnet and rsh 
> ii  krb5-config    1.4            Configuration files for Kerberos Version 5
> ii  krb5-doc       1.2.4-5        Documentation for krb5
> ii  krb5-user      1.2.5-1        Basic programs to authenticate using MIT Ker
> ii  libkrb-1-kerbe 1.2.2-2        Kerberos Libraries for Kerberos4 From KTH
> ii  libkrb5-dev    1.2.5-1        Headers and development libraries for MIT Ke
> ii  libkrb53       1.2.5-1        MIT Kerberos runtime libraries
> 
> Arun
> 
> 
> > Thanks,
> > Ed
> 
> -- 
> Arun A Tharuvai
> aatharuv (at) mit (dot) edu
> aat (at) alum (dot) mit (dot) edu

home help back first fref pref prev next nref lref last post