cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: installing curl with ssl

From: Ralph Mitchell <rmitchell_at_eds.com>
Date: Wed, 27 Aug 2003 04:28:33 -0500

Do you have stunnel installed? The test suite uses stunnel for the SSL
tests. Without it, the test suite doesn't even try to check the SSL
functions.

Your original curl compilation may have been just fine. When you run
./configure, check the stream of messages for lines like this:

    checking for OpenSSL options using pkg-config... no
    checking for CRYPTO_lock in -lcrypto... yes
    checking for CRYPTO_add_lock in -lcrypto... yes
    checking for SSL_connect in -lssl... yes
    checking openssl/x509.h usability... yes
    checking openssl/x509.h presence... yes

and a bunch of of "checking openssl/...." lines. If there's a lot of
"yes"s, curl will be built with SSL.

Once it's built, try this:

    curl https://your.secure.server/

and see if you get a page back. If you do, never mind the tests not
working - worry about that later...

Ralph Mitchell

Mike Hyder wrote:

> I am having a difficult time installing curl on my server. Here are my
> issues...
>
> I run...
>
> ./configure
> make
> make test
>
> which gives me this error...
>
> TESTDONE: 140 tests out of 140 reported OK: 100%
> TESTDONE: 156 tests were considered.
> TESTINFO: 16 tests were skipped due to these restraints:
> TESTINFO: "no SSL-capable server" 11 times (300, 301, 302, 303, 304, 305,
> 306, 400, 401, 402, 403)
> TESTINFO: "lacks netrc_debug" 5 times (130, 131, 132, 133, 134)
> make[1]: Leaving directory `/usr/share/curl-7.10.7/tests'
> I noticed the 'no SSL-capable server' so i ran it with './configure
> --with-ssl=/usr/local/ssl' which gave same errors then tried
> './configure --with-ssl=/usr/local' still didnt work. i know openssl
> is working as my ssl server is running fine. I ran 'which openssl' and
> that produced '/usr/local/bin/openssl' so then I tried './configure
> --with-ssl=/usr/local/bin/openssl' and that gave me a whole bunch more
> errors. I really need this installed as soon as possible and I could
> really use some help on getting this installed. Please help! Thanks.
>

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-08-28