cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: installing curl with ssl

From: Mike Hyder <web_at_mhdesignz.com>
Date: Wed, 27 Aug 2003 08:34:58 -0700

installing stunnel did the trick, but now when i run 'make install' it generates these errors...

 /usr/bin/install -c -m 644 curl.h /usr/local/include/curl/curl.h
/usr/bin/install: cannot remove `/usr/local/include/curl/curl.h': Permission denied
 /usr/bin/install -c -m 644 easy.h /usr/local/include/curl/easy.h
/usr/bin/install: cannot remove `/usr/local/include/curl/easy.h': Permission denied
 /usr/bin/install -c -m 644 mprintf.h /usr/local/include/curl/mprintf.h
/usr/bin/install: cannot remove `/usr/local/include/curl/mprintf.h': Permission denied
 /usr/bin/install -c -m 644 stdcheaders.h /usr/local/include/curl/stdcheaders.h
/usr/bin/install: cannot remove `/usr/local/include/curl/stdcheaders.h': Permission denied
 /usr/bin/install -c -m 644 types.h /usr/local/include/curl/types.h
/usr/bin/install: cannot remove `/usr/local/include/curl/types.h': Permission denied
 /usr/bin/install -c -m 644 multi.h /usr/local/include/curl/multi.h
/usr/bin/install: cannot create regular file `/usr/local/include/curl/multi.h': Permission denied
make[6]: *** [install-pkgincludeHEADERS] Error 1
make[6]: Leaving directory `/usr/share/curl-7.10.7/include/curl'
make[5]: *** [install-am] Error 2
make[5]: Leaving directory `/usr/share/curl-7.10.7/include/curl'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/usr/share/curl-7.10.7/include'
make[3]: *** [install-data-hook] Error 2
make[3]: Leaving directory `/usr/share/curl-7.10.7'
make[2]: *** [install-data-am] Error 2
make[2]: Leaving directory `/usr/share/curl-7.10.7'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/share/curl-7.10.7'
make: *** [install-recursive] Error 1

how can i get rid of those permission denied errors?
  ----- Original Message -----
  From: Ralph Mitchell
  To: curl-users_at_lists.sourceforge.net
  Sent: Wednesday, August 27, 2003 2:28 AM
  Subject: Re: installing curl with ssl

  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-27