cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 7.10.4-pre4 and ssl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 24 Mar 2003 11:11:32 +0100 (CET)

On Fri, 21 Mar 2003, Avery Fay wrote:

> Ok, I've made some progress. openssl/ssl.h fails because it includes
> openssl/kssl.h which includes krb5.h which can't be found. krb5.h resides
> in /usr/kerberos/include which isn't on the include path list. I'm not sure
> if this is a curl bug or a Red Hat bug. I guess there are 3 possible
> solutions:
>
> 1.) Wait for Red Hat to fix the problem if it is a Red Hat problem.
> 2.) Add -I/usr/kerberos/include to the command line.
> 3.) Add -DOPENSSL_NO_KRB5 to the command line. (this is what I did since I
> don't need kerberos support)
>
> I don't know. Do you think this is a curl problem or a Red Hat problem?

Unfortunately I think this is another case of Red Hat-caused problems that
they impose on others that they will not solve.

I believe the fix to this problem is that our configure script must use
'pkg-config --cflags openssl' and use those compiler options when we compile
source files that use openssl.

I'm not familiar with the pkg-config concept or who's behind that format. I
suppose that one could argue that curl should support or generate data for it
as well (and if anyone has info/code/patches/clues to provide here, then
please speak up).

I would be very happy if someone with a pkg-config setup to work like
explained above could work out a configure.in patch for this, or possibly if
someone could provide me with a temporary login on such a machine so that I
can work one out. I'd hate to release a 7.10.4 that doesn't build on redhat
8.1 because of this...

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-03-24