maggs
maggs

Reputation: 125

can't install curl on mac 10.7.5

In the terminal when I run the following command

brew install curl

the error I get is:

Updating Homebrew...
==> Downloading https://curl.haxx.se/download/curl-7.58.0.tar.bz2
curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert  protocol version
Trying a mirror...

I downloaded curl-7.58.0.tar.bz2 and put it in library/cache/homebrew as suggested at

[https://github.com/mistydemeo/tigerbrew/issues/506]

This was supposed to recognise that the file was downloaded but didn't. Yet if I type in the terminal

curl --version

the message I get is:

curl 7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8z   zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp 

Does the message above mean that curl is installed correctly for use? I hope this makes sense. Thanks

Upvotes: 0

Views: 2773

Answers (1)

rwold
rwold

Reputation: 2476

Yes. Try curl www.google.com. You should get a response like:

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="http://www.google.co.uk/?gfe_rd=cr&amp;dcr=0&amp;ei=-A2MWpicIumBtge67a34Bw">here</A>.
</BODY></HTML>

which is Google redirecting you.

Upvotes: 1

Related Questions