「未分類」カテゴリーアーカイブ

homebrew

もはや何をインストールしていたか覚えてないけど、Jenkins触って見ようと、久々にMacを触る。

嫁は寝ていて、長女も一人で遊んでいるだけに時間ができたw.

lion:~ jun$ brew install jenkins

Warning: It appears you have MacPorts or Fink installed.

Software installed with other package managers causes known problems for

Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.

==> Downloading http://mirrors.jenkins-ci.org/war/1.508/jenkins.war

curl: (7) Failed connect to fallback.jenkins-ci.org:80; Connection refused

Error: Download failed: http://mirrors.jenkins-ci.org/war/1.508/jenkins.war

lion:~ jun$ brew install jenkins

Warning: It appears you have MacPorts or Fink installed.

Software installed with other package managers causes known problems for

Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.

==> Downloading http://mirrors.jenkins-ci.org/war/1.508/jenkins.war

curl: (7) Failed connect to fallback.jenkins-ci.org:80; Connection refused

Error: Download failed: http://mirrors.jenkins-ci.org/war/1.508/jenkins.war

lion:~ jun$ brew doctor

Warning: You have MacPorts or Fink installed:

  /opt/local/bin/port

This can cause trouble. You don’t have to uninstall them, but you may want to

temporarily move them out of the way, e.g.

  sudo mv /opt/local ~/macports

Error: Homebrew doesn’t know what compiler versions ship with your version

of Xcode (5.1.1). Please `brew update` and if that doesn’t help, file

an issue with the output of `brew –config`:

  https://github.com/mxcl/homebrew/issues

Thanks!

Warning: Your Homebrew is outdated

You haven’t updated for at least 24 hours, this is a long time in brewland!

lion:~ jun$

はあ。そういえば、MacPortsとか入れてた。でも無視w。

lion:~ jun$ brew doctor

Warning: You have MacPorts or Fink installed:

  /opt/local/bin/port

This can cause trouble. You don’t have to uninstall them, but you may want to

temporarily move them out of the way, e.g.

  sudo mv /opt/local ~/macports

Error: Homebrew doesn’t know what compiler versions ship with your version

of Xcode (5.1.1). Please `brew update` and if that doesn’t help, file

an issue with the output of `brew –config`:

  https://github.com/mxcl/homebrew/issues

Thanks!

Warning: Your Homebrew is outdated

You haven’t updated for at least 24 hours, this is a long time in brewland!

lion:~ jun$

で、アップデートを試みる。

lion:~ jun$ brew update

Error: undefined method `to_sym’ for nil:NilClass

Please report this bug:

    https://github.com/mxcl/homebrew/wiki/troubleshooting

/usr/local/Library/Homebrew/cmd/update.rb:112:in `report’

/usr/local/Library/Homebrew/cmd/update.rb:110:in `each_line’

/usr/local/Library/Homebrew/cmd/update.rb:110:in `report’

/usr/local/Library/Homebrew/cmd/update.rb:26:in `update’

/usr/local/Library/brew.rb:87:in `send’

/usr/local/Library/brew.rb:87

lion:~ jun$

このレポートを見ろってw.ただ背に腹は変えられず?

mv /opt/local ~/macports

を実施。その後、アナウンスに従いOpenSSLをインストール。rootでのインストールは怒られた。

bash-3.2# brew doctor

Please note that these warnings are just used to help the Homebrew maintainers

with debugging if you file an issue. If everything you use Homebrew for is

working fine: please don’t worry and just ignore them. Thanks!

Warning: Some installed formula are missing dependencies.

You should `brew install` the missing dependencies:

    brew install openssl

Run `brew missing` for more details.

bash-3.2#

bash-3.2#

bash-3.2#

bash-3.2# brew install opennssl

Error: Cowardly refusing to `sudo brew install`

You can use brew with sudo, but only if the brew executable is owned by root.

However, this is both not recommended and completely unsupported so do so at

your own risk.

bash-3.2#

bash-3.2# exit

exit

lion:/ jun$ brew install openssl

==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/openssl-1.0

######################################################################## 100.0%

==> Pouring openssl-1.0.1h.mavericks.bottle.tar.gz

==> Caveats

A CA file has been bootstrapped using certificates from the system

keychain. To add additional certificates, place .pem files in

  /usr/local/etc/openssl/certs

and run

  /usr/local/opt/openssl/bin/c_rehash

This formula is keg-only, so it was not symlinked into /usr/local.

Mac OS X already provides this software and installing another version in

parallel can cause all kinds of trouble.

The OpenSSL provided by OS X is too old for some software.

Generally there are no consequences of this for you. If you build your

own software and it requires this formula, you’ll need to add to your

build variables:

    LDFLAGS:  -L/usr/local/opt/openssl/lib

    CPPFLAGS: -I/usr/local/opt/openssl/include

==> Summary

🍺  /usr/local/Cellar/openssl/1.0.1h: 429 files, 14M

lion:/ jun$

OKっぽい。続いてJenkinsをインストール

lion:/ jun$ brew install jenkins

==> Downloading http://mirrors.jenkins-ci.org/war/1.570/jenkins.war

######################################################################## 100.0%

==> Caveats

Note: When using launchctl the port will be 8080.

To have launchd start jenkins at login:

    ln -sfv /usr/local/opt/jenkins/*.plist ~/Library/LaunchAgents

Then to load jenkins now:

    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist

Or, if you don’t want/need launchctl, you can just run:

    java -jar /usr/local/opt/jenkins/libexec/jenkins.war

==> Summary

🍺  /usr/local/Cellar/jenkins/1.570: 3 files, 65M, built in 29 seconds

lion:/ jun$

こっちもOKっぽい。あとはJavaをポップアップにしたがってインストールで完了!

No Java runtime present, requesting install.

lion:/ jun$ java -version

No Java runtime present, requesting install.

lion:/ jun$ java -version

java version “1.8.0_05”

Java(TM) SE Runtime Environment (build 1.8.0_05-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

lion:/ jun$ java -jar /usr/local/opt/jenkins/libexec/jenkins.war

日本VSコロンビア②

後半30分までビデオ観戦。子持ちは観戦時間の確保が難しい。

各所の論調が厳しいだけに、期待はしてなかったが、それなりの出来。厳しい論調は、3戦を通してのものと感じる。

無論、試合の出来はベストを100とした場合、60くらいですが。

一番の違いは岡崎と香川。双方ともゴール前に顔を出せており、スコアの差は決定力の違いだけ。

と言っても、昨年の出来を思えばコロンビア戦がワールドカップで最低限出せるパフォーマンスだったと思う。これ以下は想定外で、最大の問題は試合前日のミーティング、当日のキックオフまでの流れにあったと推測。

南アフリカワールドカップの直前合宿のエクスレバンでのミーティングが複数の選手の自伝で多角的に検証されたようにいずれ分かるだろう。

香川はようやく復調気配。良かった時のゴール前の密集でパスを受ける動きが戻ってきた。

岡崎も信じられないヘディングを決めた。

長谷部も前線の動きが活性化したことで、持ち前のパスが活きていた。

一方で目立っていたのは、大久保と本田の独りよがりなドリブル。大久保はペナルティでは、どんなに味方がフリーでも、ゴリゴリ前を向いてシュートもブロックされる。

本田もサイドにフリーな選手がいるにも関わらず無理にドリブルでつっかけてを繰り返し失点にも関わる。

両名ともチャレンジではなく無謀なトライが目立った。

青山は想定以上の出来だった。Jで見てても怖さを感じる場面は少なかったが、この日は彼から攻撃が始まったと言っても過言では無い。交代には疑問が残る。

内田は語る必要が無い。いつも通り素晴らしい出来。

長友は期待外れだった。インテルとポジションが違うからだろうか。終始、遠慮がちで攻守ともに存在感無し。

吉田、今野はいつも通りの出来。これでは世界で勝てない。最終ラインを上げるにしては吉田のスピードは致命的に遅い。ヘディングの強さ、フィードを盾に選ぶにしても、相方が今野ではカバーできない。

今野はUー20でボランチをやっていた時が一番良かった。遠藤との対談で感覚だけでプレーしていたと言うが、頭を使ってる今の方が、信じられないようなパスミス、カバーの遅れ、ガラスのハート。A代表のレベルでは無い。一時期の宮本を彷彿させる人選。

とにかく残念。

大局観

大局観 自分と闘って負けない心 (角川oneテーマ21)

決断力以来の2年半ぶりの羽生さん本。決断力は将棋を通して語られる、洞察の深さ、また将棋に留まらない業種の交流に心酔したものでした。

で、この一冊。

SE35歳定年説を吹き飛ばしてくれる下記の記述に心を奪われた。

がむしゃらに読み込む力は、年齢が若い棋士が上だが、熟年になると、この「大局観」で逆に「読まない心境」となり、勝負の上で若い棋士とも互角に闘える。

若い棋士は、良い手も悪い手も、たくさんの可能性を探しがちだが、ベテランになればなるほど、僅かな候補に絞って熟考を重ねるようにもなるらしく、捨てる技術が増すとか。そして、その捨てる技術を負けた後に如何に見直し修正できるかが、棋士の違いになるとも。

将棋のプロの世界はA級は10名しか存在せず、他のスポーツと比べても極端に年齢層が広い。そんな中、長期に渡り第一線で活躍した人の言葉は非常に重たいし、共感を生む。

本を読んでいると、そのうち書けるのではと思わせられるような本もあるけれども(と、言っても書けるような内容ではないのだが)、いくら経っても辿りつけないような境地に感じさせられてしまう、この本は、殿堂入り。