Come posso ottenere la versione più recente di cURL invece della vecchia 7.24 fornita da Apple.
user:~ kevinsimper$ curl --version
curl 7.31.0 (x86_64-apple-darwin12.4.0) libcurl/7.31.0 OpenSSL/0.9.8x zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz
Quando installo con Brew, mi viene comunicato che si tratta solo di un barile e, in caso affermativo, lo faccio
brew link curl --force
la versione è stil 7.24, ma i protocolli sono stati aggiornati.
Kuser:~ kevinsimper$ curl --version
curl 7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8x zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz
user:~ kevinsimper$ which curl
/usr/bin/curl
Se poi elimino il ricciolo "mela", la funzione non è eseguibile.
user:~ kevinsimper$ curl --version
curl 7.31.0 (x86_64-apple-darwin12.4.0) libcurl/7.31.0 OpenSSL/0.9.8x zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz
user:~ kevinsimper$ brew install postgresql
==> Installing postgresql dependency: ossp-uuid
==> Downloading ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz
Error: /usr/bin/curl is not executable