curl-library
Curl and custom SSL builds bug in 7.19.4
Date: Wed, 08 Apr 2009 11:21:07 -0700
It appears that curl 7.19.4 has now broken building against a local build
of OpenSSL. This worked fine with Curl 7.19.2.
The error I get while building against a custom local build of OpenSSL is:
In file included from /usr/include/openssl/ssl.h:179,
from urldata.h:63,
from file.c:75:
/usr/include/openssl/kssl.h:136: error: syntax error before "krb5_octet"
[snip]
Now, why in the world is it even *looking* at the /usr/include openssl
headers? I specifically passed in:
--with-ssl=/opt/zimbra/openssl-0.9.8k
Which should be correct according to configure:
--with-ssl=PATH Where to look for OpenSSL, PATH points to the SSL
installation (default: /usr/local/ssl); when
possible, set the PKG_CONFIG_PATH environment
variable instead of using this option
It seems like the logic in configure no longer matches the documented (and
previously working) description of --with-ssl.
./configure: line 23438: /opt/zimbra/openssl-0.9.8k: is a directory
which is, of course, exactly what it should be (a directory).
Line 23438 is:
if "$PREFIX_OPENSSL" != "/usr" ; then
This IF statement did not exist in curl 7.19.2.
Changing the line to read:
if test "$PREFIX_OPENSSL" != "/usr" ; then
fixes the problem
--Quanah
-- Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaborationReceived on 2009-04-08