ccache というビルドを高速化させる開発ツールがあります。(https://ccache.samba.org/)
これを MACOSX 上の ElCapitan にインストールしようとして
- home-brew インストール
- brew install docbook-xsl
- brew install --HEAD ccache
とコンソールより行ったところ
* zlib/inflate.c:1507:61: error: shifting a negative signed value is undefined
* [-Werror,-Wshift-negative-value]
* if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
というエラーが起きます。
そこで zlib/inflate.c を https://github.com/madler/zlib/blob/develop/inflate.c と差し替えて(ちょっと修正)brew install --HEAD ccache しました。
そしたら
==> Checking out branch master
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/ccache/HEAD --mandir=/usr/local/Cellar/ccache/HEAD/share/man --with-bundled-zlib
==> make
==> make install
Last 15 lines from /Users/nagaitomoyuki/Library/Logs/Homebrew/ccache/04.make:
2016-07-07 20:34:06 +0900
make
install
xsltproc --nonet /usr/local/etc/asciidoc/docbook-xsl/manpage.xsl MANUAL.xml
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
compilation error: file /usr/local/etc/asciidoc/docbook-xsl/manpage.xsl line 12 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
make: *** [ccache.1] Error 5
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/Homebrew/homebrew-core/issues
という新しいエラーがでてきました。
ElCapitan に ccache インストールする方法をご存知のかた教えていただけないでしょうか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。