Ethereal-dev: Re: [Ethereal-dev] [patch] Search harder for krb5-config

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Brad Hards <bradh@xxxxxxxxxxxxx>
Date: Thu, 24 Feb 2005 06:40:27 +1100
On Thu, 24 Feb 2005 00:47 am, Thomas Anders wrote:
> Joerg Mayer wrote:
> > On Wed, Feb 23, 2005 at 10:24:58PM +1100, Brad Hards wrote:
> >>+         AC_PATH_PROG(KRB5_CONFIG, krb5-config,,
> >> [$PATH:/usr/kerberos/bin])
> >
> > I don't like this. Please fix your PATH before calling krb5-config.
> > Either you want to use kerberos, then it should be added to your path, or
> > you don't, then it's irrelevant whether it is in the path or not.
>
> I was about to reply the same way, but still an important questions is: did
> this installation (in /usr/kerberos) come with a common vendor package or
> was it a manual installation? If there's a common vendor package that puts
> it this way, we may want to deal with it, even though it's considered
> broken to not have it in $PATH then.
It is a standard Fedora Core 2 installation location - see below. Sure I could 
have passed that, or hacked my path, or whatever. Sure I could have hand 
munged the Makefiles and config.h to work anyway. However I do want to use 
kerberos, but I don't want to change my $PATH just because my packager got it 
a bit abnormal. I just thought it was nicer if Ethereal could do it for me 
(now and in the future), and it isn't that big a change. 

Perhaps if you could explain the problem with the patch, I could address it?

Brad

[bradh@prionotes ethereal-0.10.9-SVN-13436]$ rpm 
-qilf /usr/kerberos/bin/krb5-config
Name        : krb5-devel                   Relocations: (not relocatable)
Version     : 1.3.6                             Vendor: Red Hat, Inc.
Release     : 1                             Build Date: Tue 21 Dec 2004 
11:07:32 EST
Install Date: Tue 22 Feb 2005 21:10:32 EST      Build Host: 
tweety.build.redhat.com
Group       : Development/Libraries         Source RPM: krb5-1.3.6-1.src.rpm
Size        : 2896434                          License: MIT, freely 
distributable.
Signature   : DSA/SHA1, Wed 22 Dec 2004 06:25:02 EST, Key ID b44269d04f2a6fd2
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://web.mit.edu/kerberos/www/
Summary     : Development files needed to compile Kerberos 5 programs.
Description :
Kerberos is a network authentication system. The krb5-devel package
contains the header files and libraries needed for compiling Kerberos
5 programs. If you want to develop Kerberos-aware programs, you need
to install this package.
/etc/profile.d/krb5.csh
/etc/profile.d/krb5.sh
/usr/include/gssapi
/usr/include/gssapi/gssapi.h
/usr/include/gssapi/gssapi_generic.h
/usr/include/gssapi/gssapi_krb5.h
/usr/include/kerberosIV
/usr/include/kerberosIV/des.h
/usr/include/kerberosIV/kadm_err.h
/usr/include/kerberosIV/krb.h
/usr/include/kerberosIV/krb_err.h
/usr/include/kerberosIV/mit-copyright.h
/usr/include/krb5.h
/usr/include/profile.h
/usr/kerberos
/usr/kerberos/bin
/usr/kerberos/bin/krb5-config
/usr/kerberos/bin/sclient
/usr/kerberos/man
/usr/kerberos/man/man1
/usr/kerberos/man/man1/sclient.1.gz
/usr/kerberos/man/man8
/usr/kerberos/man/man8/sserver.8.gz
/usr/kerberos/sbin
/usr/kerberos/sbin/sserver
/usr/lib/libdes425.a
/usr/lib/libdes425.so
/usr/lib/libgssapi_krb5.a
/usr/lib/libgssapi_krb5.so
/usr/lib/libgssrpc.a
/usr/lib/libgssrpc.so
/usr/lib/libk5crypto.a
/usr/lib/libk5crypto.so
/usr/lib/libkadm5clnt.a
/usr/lib/libkadm5clnt.so
/usr/lib/libkadm5srv.a
/usr/lib/libkadm5srv.so
/usr/lib/libkdb5.a
/usr/lib/libkdb5.so
/usr/lib/libkrb4.a
/usr/lib/libkrb4.so
/usr/lib/libkrb5.a
/usr/lib/libkrb5.so
/usr/share/doc/krb5-devel-1.3.6
/usr/share/doc/krb5-devel-1.3.6/api
/usr/share/doc/krb5-devel-1.3.6/api/ChangeLog
/usr/share/doc/krb5-devel-1.3.6/api/Makefile
/usr/share/doc/krb5-devel-1.3.6/api/ccache.tex
/usr/share/doc/krb5-devel-1.3.6/api/changebar.sty
/usr/share/doc/krb5-devel-1.3.6/api/errors.tex
/usr/share/doc/krb5-devel-1.3.6/api/fancyheadings.sty
/usr/share/doc/krb5-devel-1.3.6/api/fixunder.sty
/usr/share/doc/krb5-devel-1.3.6/api/free.tex
/usr/share/doc/krb5-devel-1.3.6/api/functions.sty
/usr/share/doc/krb5-devel-1.3.6/api/intro.tex
/usr/share/doc/krb5-devel-1.3.6/api/keytab.tex
/usr/share/doc/krb5-devel-1.3.6/api/krb5.ist
/usr/share/doc/krb5-devel-1.3.6/api/krb5.tex
/usr/share/doc/krb5-devel-1.3.6/api/krb5idx.sty
/usr/share/doc/krb5-devel-1.3.6/api/libdes.tex
/usr/share/doc/krb5-devel-1.3.6/api/libos.tex
/usr/share/doc/krb5-devel-1.3.6/api/library.tex
/usr/share/doc/krb5-devel-1.3.6/api/rcache.tex
/usr/share/doc/krb5-devel-1.3.6/api/tables.tex
/usr/share/doc/krb5-devel-1.3.6/implement
/usr/share/doc/krb5-devel-1.3.6/implement/ChangeLog
/usr/share/doc/krb5-devel-1.3.6/implement/Makefile
/usr/share/doc/krb5-devel-1.3.6/implement/ccache-i.tex
/usr/share/doc/krb5-devel-1.3.6/implement/changebar.sty
/usr/share/doc/krb5-devel-1.3.6/implement/cksum-i.tex
/usr/share/doc/krb5-devel-1.3.6/implement/crc-32-i.tex
/usr/share/doc/krb5-devel-1.3.6/implement/encrypt-i.tex
/usr/share/doc/krb5-devel-1.3.6/implement/fancyheadings.sty
/usr/share/doc/krb5-devel-1.3.6/implement/fixunder.sty
/usr/share/doc/krb5-devel-1.3.6/implement/functions.sty
/usr/share/doc/krb5-devel-1.3.6/implement/implement.tex
/usr/share/doc/krb5-devel-1.3.6/implement/kdb-i.tex
/usr/share/doc/krb5-devel-1.3.6/implement/keytab-i.tex
/usr/share/doc/krb5-devel-1.3.6/implement/libos-i.tex
/usr/share/doc/krb5-devel-1.3.6/implement/rcache-i.tex
/usr/share/doc/krb5-devel-1.3.6/kadm5
/usr/share/doc/krb5-devel-1.3.6/kadm5/adb-unit-test.tex
/usr/share/doc/krb5-devel-1.3.6/kadm5/api-funcspec.tex
/usr/share/doc/krb5-devel-1.3.6/kadm5/api-server-design.tex
/usr/share/doc/krb5-devel-1.3.6/kadm5/api-unit-test.tex
/usr/share/doc/krb5-devel-1.3.6/kadm5/changebar.sty
/usr/share/doc/krb5-devel-1.3.6/kadm5/fullpage.sty
/usr/share/doc/krb5-devel-1.3.6/kadm5/rcsid.sty
/usr/share/doc/krb5-devel-1.3.6/kadmin
/usr/share/doc/krb5-devel-1.3.6/kadmin/ChangeLog
/usr/share/doc/krb5-devel-1.3.6/kadmin/README
/usr/share/doc/krb5-devel-1.3.6/kadmin/draft-ietf-cat-kerb-chg-password-02.txt
/usr/share/doc/krb5-devel-1.3.6/kadmin/kadmin.protocol
/usr/share/doc/krb5-devel-1.3.6/kadmin/kpasswd.protocol
/usr/share/doc/krb5-devel-1.3.6/krb5-protocol
/usr/share/doc/krb5-devel-1.3.6/krb5-protocol/3-des.txt
/usr/share/doc/krb5-devel-1.3.6/krb5-protocol/krb5.constants
/usr/share/doc/krb5-devel-1.3.6/krb5-protocol/rfc1510.errata
/usr/share/doc/krb5-devel-1.3.6/krb5-protocol/rfc1510.txt
/usr/share/doc/krb5-devel-1.3.6/rpc
/usr/share/doc/krb5-devel-1.3.6/rpc/design.tex

Attachment: pgpcAB3q1u8GF.pgp
Description: PGP signature