curlのSSLを有効にする(MacPorts)

このエントリーをはてなブックマークに追加
はてなブックマーク - curlのSSLを有効にする(MacPorts)
Bookmark this on Delicious
Share on Facebook
Post to Google Buzz
Bookmark this on Yahoo Bookmark
Bookmark this on Livedoor Clip
Share on FriendFeed

Amazon S3へのアップロード時に、

Protocol https not supported or disabled in libcurl

というエラーが発生。

これは、MacPortsでインストールしたcurlがwithout-sslになっていた事が原因でした。

$ sudo port uninstall curl
$ sudo port edit curl
にて編集モードにしてから
configure.argsの
–without-ssl

–with-ssl
に変更します。

$ sudo port install curl
これで、完了となるところですが、
php5やら、gimpやら、gitやらが依存してたので、この機会にそれらもアップデートしました。

Apacheの再起動で完了。

Popularity: 15% [?]

カテゴリー: 技術   タグ: ,   この投稿のパーマリンク

コメントをどうぞ

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

*

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>