LoginSignup
0
0

More than 5 years have passed since last update.

Homebrewでsitecopyはインストールできなくなったんや…

Posted at

いわゆるホームページ的なものの一括ダウンロード用に重宝しているsitecopyなのですが、もうすでにboneyard扱いなのですね…

で、Homebrewからうまくインストールできなかったので手順メモ

インストール失敗
$ brew tap homebrew/boneyard
$ brew install sitecopy
==> Installing sitecopy from homebrew/boneyard
==> Downloading http://www.manyfish.co.uk/sitecopy/sitecopy-0.16.6.tar.gz
Already downloaded: /Users/ks/Library/Caches/Homebrew/sitecopy-0.16.6.tar.gz
==> ./configure --prefix=/usr/local/Cellar/sitecopy/0.16.6 --with-libxml2 --with
Last 15 lines from /Users/ks/Library/Logs/Homebrew/sitecopy/01.configure:
checking for inet_ntop... yes
configure: IPv6 support is enabled
checking for working AI_ADDRCONFIG... no
checking for socklen_t... yes
checking for struct tm.tm_gmtoff... yes
checking for struct tm.__tm_gmtoff... no
configure: zlib not supported
checking whether to enable ACL support in neon... no
checking for pkg-config... no
checking for library containing RSA_new... -lcrypto
checking for library containing SSL_library_init... -lssl
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error: OpenSSL headers not found, cannot enable SSL support

READ THIS: https://git.io/brew-troubleshooting
sitecopy was moved to homebrew-boneyard because it has unfixable issues.
Please do not file any issues about this. Sorry!

お…おぅ(´・ω・`)

ということで、いろいろと参考に弄ってみるも…

参考:El Capitanでソースをコンパイルしたときにopensslのエラーが出た場合の対処方法

なにやらうまくいかないので、Homebrewでのインストールはあきらめることに。

最終的には

.bash_profile
export CPPFLAGS=-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib

と、OpenSSL関連の設定を環境変数に入れた状態で、

make&install
$ tar zxvfp ~/Library/Caches/Homebrew/sitecopy-0.16.6.tar.g
$ cd sitecopy-0.16.6/
$ ./configure --with-libxml2 --with-ssl
$ make
$ sudo make install

無事インストール完了( ´ ▽ ` )ノ

ていうか、もう大分更新もされてないし、代替えの方法考えた方がいいのかな…

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0