Bug#330151: heimdal-dev: krb5-config --cflags misses openssl includes

2005-09-29 Thread Dave Love
Brian May [EMAIL PROTECTED] writes:

 What needs to include des.h?

The last thing I tried was the development version of RedHat's
pam_krb5, but there were a couple (?) of others I forget.

 What is the error you are getting?

Code tries to use des.h and fails because it's not on the include
path.

 I am currently unconvinced that -I/usr/include/openssl in krb5-config
 is the correct answer; openssl is a separate package and not really
 related to Kerberos, even if it is used by Heimdal.

But if you want to build something using the parameters appropriate
for the Heimdal library, you apparently need to know whether to look
in the openssl headers or not.  Isn't that the whole point of the
script?

 Also it would appear that it is recommended to include
 openssl/des.h, which should work(?).

Not in portable client code if you don't know whether or not Heimdal
was built with openssl, surely?  Does MIT ever use openssl, for
instance?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#330151: heimdal-dev: krb5-config --cflags misses openssl includes

2005-09-26 Thread Dave Love
Package: heimdal-dev
Version: 0.6.3-10sarge1
Severity: normal
File: /usr/bin/krb5-config

Packages that use krb5-config in the build process typically fail with
the Debian version, failing to find des.h on the include path.  The
INCLUDE_des autoconf variable is -I/usr/include, not
-I/usr/include/openssl, as it should be.  Presumably the package build
has picked up as des.h in /usr/include from some other package that I
don't have installed.

-- System Information:
Debian Release: 3.1
  APT prefers stable
  APT policy: (900, 'stable')
Architecture: sparc (sparc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-sparc64
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages heimdal-dev depends on:
ii  kerberos4kth-dev  1.2.2-11.2 Development files for Kerberos4 Fr
ii  libasn1-6-heimdal 0.6.3-10sarge1 Libraries for Heimdal Kerberos
ii  libgssapi1-heimdal0.6.3-10sarge1 Libraries for Heimdal Kerberos
ii  libhdb7-heimdal   0.6.3-10sarge1 Libraries for Heimdal Kerberos
ii  libkadm5clnt4-heimdal 0.6.3-10sarge1 Libraries for Heimdal Kerberos
ii  libkadm5srv7-heimdal  0.6.3-10sarge1 Libraries for Heimdal Kerberos
ii  libkafs0-heimdal  0.6.3-10sarge1 Libraries for Heimdal Kerberos
ii  libkrb5-17-heimdal0.6.3-10sarge1 Libraries for Heimdal Kerberos

heimdal-dev recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#330151: heimdal-dev: krb5-config --cflags misses openssl includes

2005-09-26 Thread Brian May
 Dave == Dave Love [EMAIL PROTECTED] writes:

Dave Packages that use krb5-config in the build process typically
Dave fail with the Debian version, failing to find des.h on the
Dave include path.  The INCLUDE_des autoconf variable is
Dave -I/usr/include, not -I/usr/include/openssl, as it should be.
Dave Presumably the package build has picked up as des.h in
Dave /usr/include from some other package that I don't have
Dave installed.

What needs to include des.h?

The only reference I can see is:

[EMAIL PROTECTED]:~# dpkg -L heimdal-dev | xargs grep des.h
[EMAIL PROTECTED]:~# dpkg -L kerberos4kth-dev | xargs grep des.h
/usr/include/krb.h:/* Need some defs from des.h  */
/usr/include/krb.h:#include openssl/des.h

...which already seems to use the correct path.

What is the error you are getting?

I am currently unconvinced that -I/usr/include/openssl in krb5-config
is the correct answer; openssl is a separate package and not really
related to Kerberos, even if it is used by Heimdal.

Also it would appear that it is recommended to include
openssl/des.h, which should work(?).
-- 
Brian May [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]