cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-434645 ] configure --with-ssl=[dir] fails

From: <noreply_at_sourceforge.net>
Date: Tue, 19 Jun 2001 17:12:10 -0700

Bugs item #434645, was updated on 2001-06-19 17:12
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=434645&group_id=976

Category: libcurl
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike Bytnar (mbytnar)
Assigned to: Daniel Stenberg (bagder)
Summary: configure --with-ssl=[dir] fails

Initial Comment:
I get the same error on Solaris 2.6. I successfully
compiled curl 7.7.3 with:
% cd curl-7.7.3
% ./configure --
prefix=/net/clive/export/home/mbytnar/alpha/server/lib/
solar
is/encap/curl-7.7.3 --with-
ssl=/net/clive/export/home/mbytnar/alpha/server/lib/sol
aris/
encap/openssl-0.9.6a
[everything configures & compiles fine.]

% ls -la /home/mbytnar/lib/solaris/openssl-
0.9.6a/include/openssl
total 1516
drwxr-xr-x 2 mbytnar staff 1024 May 18
13:47 ./
drwxr-xr-x 3 mbytnar staff 512 May 18
13:47 ../
-r--r--r-- 1 mbytnar staff 43893 May 18 13:47
asn1.h
-r--r--r-- 1 mbytnar staff 18974 May 18 13:47
asn1_mac.h
-r--r--r-- 1 mbytnar staff 27257 May 18 13:47
bio.h
[continues with the rest of the openssl headers.]

However, it fails to properly configure for curl-7.8:

% cd curl-7.8
% ./configure --
prefix=/net/clive/export/home/mbytnar/alpha/server/lib/
solar
is/encap/curl-7.8 --with-
ssl=/net/clive/export/home/mbytnar/alpha/server/lib/sol
aris/
encap/openssl-0.9.6a
[...]
checking for CRYPTO_lock in -lcrypto... yes
checking for CRYPTO_add_lock in -lcrypto... yes
checking for SSL_connect in -lssl... yes
checking for openssl/x509.h... no
checking for openssl/rsa.h... no
checking for openssl/crypto.h... no
checking for openssl/pem.h... no
checking for openssl/ssl.h... no
checking for openssl/err.h... no
checking for x509.h... no
checking for rsa.h... no
checking for crypto.h... no
checking for pem.h... no
checking for ssl.h... no
checking for err.h... no
configure: error: OpenSSL libs and/or directories were
not
found where specified!

There was no config.cache present, since it was a
fresh ./configure. Attached config_7_7_3.log and
config_7_8.log.

It looks like the configure script does not properly
discover and use the openssl path given. The gcc line
is baren in the _7_8.log, while the _7_7_3.log shows
the proper -I and -L parameters for gcc.

This could be a bug in the version of the autoconf
script used to create the curl 7.8 configure. That's
my initial guess.

--Mike Bytnar
(Could not attach a file to
"[ #432887 ] Can run configure with SSL"
Here is the new bug report.)

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=434645&group_id=976
Received on 2001-06-20