「Homebrew はサイコーだよ、お前ら。
MacPorts なんかもう要らねえよ」 ― @thillerson
公式サイト
Homebrew ― MacPorts driving you to drink? Try Homebrew!
http://mxcl.github.com/homebrew/
インストール手順
https://github.com/mxcl/homebrew/wiki/Installation
FAQ
https://github.com/mxcl/homebrew/wiki/FAQ
■特徴
・Mac OS Xに標準でインストールされているものは、できるだけそれを利用します
・インストール先は標準では/usr/localになります
・パッケージのことをFormulaと呼びます
■システム要件
・Intel CPU機種
・Mac OS X Leopardまたはそれ以上
・Xcode(X11も含め)
・Java Developer Update
Homebrew でゾクゾク UNIX ライフ2
2011/07/05(火) 14:24:57.16ID:BpGopEhQ0
304名称未設定
2014/10/22(水) 09:09:15.30ID:/2Qggb6+0 /usr/local に Homebrew 環境を構築しているやつなんか、おらんやろー。
305名称未設定
2014/10/22(水) 10:33:32.49ID:U62gL+B40 >>243
>macports の /opt/local/ に慣れると
>homebrew はデフォルトで /usr/local/ にインストールするのがモヤモヤする
>一般的なパッケージ管理ではそれが普通なんだろうけどさ
別スレでHomebrewを薦められました。
/usr/local/binに自前makeしたものがあります。
Homebrewで/usr/local/bin追加したあと、Homebrewから入れたソフトを消したり、
Homebrew自体を消すとどうなりますか?
>macports の /opt/local/ に慣れると
>homebrew はデフォルトで /usr/local/ にインストールするのがモヤモヤする
>一般的なパッケージ管理ではそれが普通なんだろうけどさ
別スレでHomebrewを薦められました。
/usr/local/binに自前makeしたものがあります。
Homebrewで/usr/local/bin追加したあと、Homebrewから入れたソフトを消したり、
Homebrew自体を消すとどうなりますか?
306名称未設定
2014/10/22(水) 18:47:11.52ID:zI2jARB00 >>304
同意。/usr/localは俺々ビルド用、兼、一部アプリが勝手にコマンドラインツールなんかをインストールする場所
で、みんなどこにHomebrew置いてる?
俺は ~/Application/Homebrew/以下
同意。/usr/localは俺々ビルド用、兼、一部アプリが勝手にコマンドラインツールなんかをインストールする場所
で、みんなどこにHomebrew置いてる?
俺は ~/Application/Homebrew/以下
307名称未設定
2014/10/23(木) 04:03:32.68ID:T3j1XFBl0308名称未設定
2014/10/23(木) 13:19:40.31ID:T3j1XFBl0 brew doctorしたら
Warning: Some directories in /usr/local/share/locale aren't writable.
(中略)
You should probably `chown` them:
/usr/local/share/locale/ja
Error: Permission denied - /usr/local/lib/libintl.dylib
$ ls -la /usr/local/lib/libintl.dylib
ls: /usr/local/lib/libintl.dylib: Permission denied
lrwxr-x--x 1 root wheel 15B 9 26 2011 /usr/local/lib/libintl.dylib@
drwxr-x--x 3 root wheel 102B 9 16 2011 ja/
書き込み権限あるんだけど、グループにいるの?
インストールディレクトリって指定できないんだけど、どこで指定すんでしょう?
Warning: Some directories in /usr/local/share/locale aren't writable.
(中略)
You should probably `chown` them:
/usr/local/share/locale/ja
Error: Permission denied - /usr/local/lib/libintl.dylib
$ ls -la /usr/local/lib/libintl.dylib
ls: /usr/local/lib/libintl.dylib: Permission denied
lrwxr-x--x 1 root wheel 15B 9 26 2011 /usr/local/lib/libintl.dylib@
drwxr-x--x 3 root wheel 102B 9 16 2011 ja/
書き込み権限あるんだけど、グループにいるの?
インストールディレクトリって指定できないんだけど、どこで指定すんでしょう?
310名称未設定
2014/10/24(金) 11:18:08.52ID:OpC3Ll2i0 $ brew doctor
Error: Permission denied - /usr/local/lib/libintl.dylib
$ ls -l /usr/local/lib/libintl.dylib
ls: /usr/local/lib/libintl.dylib: Permission denied
lrwxr-x--x 1 root wheel 15B 9 26 2011 /usr/local/lib/libintl.dylib@
あとはこれだけ。だれか教えて下さい。
Error: Permission denied - /usr/local/lib/libintl.dylib
$ ls -l /usr/local/lib/libintl.dylib
ls: /usr/local/lib/libintl.dylib: Permission denied
lrwxr-x--x 1 root wheel 15B 9 26 2011 /usr/local/lib/libintl.dylib@
あとはこれだけ。だれか教えて下さい。
311名称未設定
2014/10/24(金) 11:43:24.19ID:OpC3Ll2i0 -rwxrwxr-x 1 root wheel 71K 9 26 2011 libintl.8.dylib*
-rw-r----- 1 root wheel 98K 9 26 2011 libintl.a
ls: ./libintl.dylib: Permission denied
lrwxr-x--x 1 root wheel 15B 9 26 2011 libintl.dylib@
-rw-r--r-- 1 root wheel 977B 9 26 2011 libintl.la
これらの状態がオカシイ?
-rw-r----- 1 root wheel 98K 9 26 2011 libintl.a
ls: ./libintl.dylib: Permission denied
lrwxr-x--x 1 root wheel 15B 9 26 2011 libintl.dylib@
-rw-r--r-- 1 root wheel 977B 9 26 2011 libintl.la
これらの状態がオカシイ?
312名称未設定
2014/10/24(金) 12:41:39.84ID:PuwCAwAg0313名称未設定
2014/10/24(金) 13:30:31.63ID:OpC3Ll2i0 >>312
全部rootでした。アドバイスどおり自分に変えてもbrew doctorのエラーは変わらず。
-rw-r--r-- 1 xxxxxxx wheel 997K 9 26 2011 libiconv.2.dylib
-rw-r--r-- 1 xxxxxxx wheel 997K 9 26 2011 libiconv.dylib
-rw-r--r-- 1 xxxxxxx wheel 904B 9 26 2011 libiconv.la
-rwxrwxr-x 1 xxxxxxx wheel 71K 9 26 2011 libintl.8.dylib*
-rw-r----- 1 xxxxxxx wheel 98K 9 26 2011 libintl.a
-rwxrwxr-x 1 xxxxxxx wheel 71K 9 26 2011 libintl.dylib*
-rw-r--r-- 1 xxxxxxx wheel 977B 9 26 2011 libintl.la
動いている人の
/usr/local/lib/以下をコピペして頂けると助かります。
全部rootでした。アドバイスどおり自分に変えてもbrew doctorのエラーは変わらず。
-rw-r--r-- 1 xxxxxxx wheel 997K 9 26 2011 libiconv.2.dylib
-rw-r--r-- 1 xxxxxxx wheel 997K 9 26 2011 libiconv.dylib
-rw-r--r-- 1 xxxxxxx wheel 904B 9 26 2011 libiconv.la
-rwxrwxr-x 1 xxxxxxx wheel 71K 9 26 2011 libintl.8.dylib*
-rw-r----- 1 xxxxxxx wheel 98K 9 26 2011 libintl.a
-rwxrwxr-x 1 xxxxxxx wheel 71K 9 26 2011 libintl.dylib*
-rw-r--r-- 1 xxxxxxx wheel 977B 9 26 2011 libintl.la
動いている人の
/usr/local/lib/以下をコピペして頂けると助かります。
314名称未設定
2014/10/24(金) 13:38:42.97ID:RX+Jrm+f0 >>313
もしかしてそこらへんのってほんとはリンクになるんじゃないの?
lrwxr-xr-x+ 1 root wheel - xx m dd yyyy hoge.a@ -> ../Cellar/hoge/x.x.x/lib/hoge.a
みたいなさ
もしかしてそこらへんのってほんとはリンクになるんじゃないの?
lrwxr-xr-x+ 1 root wheel - xx m dd yyyy hoge.a@ -> ../Cellar/hoge/x.x.x/lib/hoge.a
みたいなさ
315名称未設定
2014/10/24(金) 15:46:34.75ID:PuwCAwAg0 >>313
リンク先ファイルの所有者も自分
$ ¥ls -l /usr/local/lib
total 768
lrwxr-xr-x 1 xxxxx wheel 29 4 19 2014 gawk -> ../Cellar/gawk/4.1.1/lib/gawk
lrwxr-xr-x 1 xxxxx wheel 39 12 31 2013 libgdbm.4.dylib -> ../Cellar/gdbm/1.11/lib/libgdbm.4.dylib
lrwxr-xr-x 1 xxxxx wheel 33 12 31 2013 libgdbm.a -> ../Cellar/gdbm/1.11/lib/libgdbm.a
なんとなく悪化してそうだから、リンクの張り直しを試してみるべきだと思う
brew unlink <formula> && brew link <formula>
リンク先ファイルの所有者も自分
$ ¥ls -l /usr/local/lib
total 768
lrwxr-xr-x 1 xxxxx wheel 29 4 19 2014 gawk -> ../Cellar/gawk/4.1.1/lib/gawk
lrwxr-xr-x 1 xxxxx wheel 39 12 31 2013 libgdbm.4.dylib -> ../Cellar/gdbm/1.11/lib/libgdbm.4.dylib
lrwxr-xr-x 1 xxxxx wheel 33 12 31 2013 libgdbm.a -> ../Cellar/gdbm/1.11/lib/libgdbm.a
なんとなく悪化してそうだから、リンクの張り直しを試してみるべきだと思う
brew unlink <formula> && brew link <formula>
316名称未設定
2014/10/24(金) 18:05:40.80ID:OpC3Ll2i0 >>314
>もしかしてそこらへんのってほんとはリンクになるんじゃないの?
ビンゴ!
libpcre16.0.dylib@ -> ../Cellar/pcre/8.35/lib/libpcre16.0.dylib
libpcre16.a@ -> ../Cellar/pcre/8.35/lib/libpcre16.a
libpcre16.dylib@ -> ../Cellar/pcre/8.35/lib/libpcre16.dylib
brew doctorで310のエラーが残る状態でzshをインストしたら上の様なリンクが出来ました。
315さんの
>brew unlink <formula> && brew link <formula>
これが正解だと思うけど、libinitlって
$ brew link libinitl
Error: No such keg: /usr/local/Cellar/libinitl
$ cd /usr/local/Cellar/
$ ls
gdbm/ git/ pcre/ zsh/
$ brew search libintl
No formula found for "libintl".
Searching pull requests...
Closed pull requests:
weechat: add LIBINTL_INCLUDE and LIBINTL_LIBRARY (https://github.com/Homebrew/homebrew/pull/15985)
/usr/local/libでlocalなので放置かlibinitlあたりを消すのが正解?
消すと、libiconvあたりで又エラーがでるかもしれませんね。
>もしかしてそこらへんのってほんとはリンクになるんじゃないの?
ビンゴ!
libpcre16.0.dylib@ -> ../Cellar/pcre/8.35/lib/libpcre16.0.dylib
libpcre16.a@ -> ../Cellar/pcre/8.35/lib/libpcre16.a
libpcre16.dylib@ -> ../Cellar/pcre/8.35/lib/libpcre16.dylib
brew doctorで310のエラーが残る状態でzshをインストしたら上の様なリンクが出来ました。
315さんの
>brew unlink <formula> && brew link <formula>
これが正解だと思うけど、libinitlって
$ brew link libinitl
Error: No such keg: /usr/local/Cellar/libinitl
$ cd /usr/local/Cellar/
$ ls
gdbm/ git/ pcre/ zsh/
$ brew search libintl
No formula found for "libintl".
Searching pull requests...
Closed pull requests:
weechat: add LIBINTL_INCLUDE and LIBINTL_LIBRARY (https://github.com/Homebrew/homebrew/pull/15985)
/usr/local/libでlocalなので放置かlibinitlあたりを消すのが正解?
消すと、libiconvあたりで又エラーがでるかもしれませんね。
317名称未設定
2014/10/24(金) 18:54:51.76ID:PuwCAwAg0 >>316
何をしているか理解せず、手当たり次第にいじったら壊れますよ
brew link の引数には、インストールしたソフトウェア名(= formula)を指定してください
zshを入れておかしくなっているのなら
brew unlink zsh && brew link zsh
……ってか、ドクターが「こんな風に直しなさい」って言ってると思うけど……英語で
何をしているか理解せず、手当たり次第にいじったら壊れますよ
brew link の引数には、インストールしたソフトウェア名(= formula)を指定してください
zshを入れておかしくなっているのなら
brew unlink zsh && brew link zsh
……ってか、ドクターが「こんな風に直しなさい」って言ってると思うけど……英語で
318名称未設定
2014/10/25(土) 07:11:25.10ID:AxfuPFLN0 >>317
今はこんな感じです。
1.インストール
2.
$ brew doctor
Error: Permission denied - /usr/local/lib/libintl.dylib
$ ls -l /usr/local/lib/libintl.dylib
ls: /usr/local/lib/libintl.dylib: Permission denied
lrwxr-x--x 1 root wheel 15B 9 26 2011 /usr/local/lib/libintl.dylib@
3.
brew doctorで310のエラーが残る状態でzshをインストしたら316の様なリンクが出来ました。
4.
2の状態が変わらず。です。
今はこんな感じです。
1.インストール
2.
$ brew doctor
Error: Permission denied - /usr/local/lib/libintl.dylib
$ ls -l /usr/local/lib/libintl.dylib
ls: /usr/local/lib/libintl.dylib: Permission denied
lrwxr-x--x 1 root wheel 15B 9 26 2011 /usr/local/lib/libintl.dylib@
3.
brew doctorで310のエラーが残る状態でzshをインストしたら316の様なリンクが出来ました。
4.
2の状態が変わらず。です。
319名称未設定
2014/10/25(土) 11:48:01.22ID:/YAJi+JQ0 Homebrewを使う以前に自分でlibintlを使う何かをインストールしたんでしょ
所有者rootになってるファイルを全部消せばいいと思うよ
所有者rootになってるファイルを全部消せばいいと思うよ
320名称未設定
2014/10/25(土) 13:42:04.68ID:UnQgrXZ60 sudo chmod +r ファイル名
321名称未設定
2014/10/25(土) 22:53:47.78ID:5MqkZb5U0 $ sudo chown -R root:staff /usr/local/Celler
$ sudo chmod -R g+r /usr/local/Celler
かな。
$ sudo chmod -R g+r /usr/local/Celler
かな。
322名称未設定
2014/10/30(木) 11:14:04.73ID:vLJboOQY0 Yosemite+Xcode6.1だとCommandLineToolsを入れなくてもHomebrewがインストールできるね。(Mac mini Late2014でいけた)
323名称未設定
2014/10/30(木) 22:35:33.48ID:/W/RIDwZ0 >>319
所有者rootになってるファイルを全部消せばいいと思うよ
lib*.dylibをいくつか消したらbrew doctor で/usr/local/以下のファイルをたくさん消せと
warningがまた出ました。全部消したらbrew doctorのエラーはなくなり無事終えました。
念のため、homebrewもインストールしなおしました。ありがとうございました。
所有者rootになってるファイルを全部消せばいいと思うよ
lib*.dylibをいくつか消したらbrew doctor で/usr/local/以下のファイルをたくさん消せと
warningがまた出ました。全部消したらbrew doctorのエラーはなくなり無事終えました。
念のため、homebrewもインストールしなおしました。ありがとうございました。
324名称未設定
2014/11/30(日) 12:54:52.73ID:GWi2Y0e60 tapしたレポジトリの一覧って表示できないん?
325名称未設定
2014/12/01(月) 19:07:10.64ID:UgF9+LL/0 brew tap
326名称未設定
2014/12/03(水) 01:59:12.74ID:7kalMiKt0 $ sudo mysql.server start
Starting MySQL
.. ERROR! The server quit without updating PID file (/usr/local/var/mysql/xxxxxxxx.local.pid).
どうすればいいんでつか?
Starting MySQL
.. ERROR! The server quit without updating PID file (/usr/local/var/mysql/xxxxxxxx.local.pid).
どうすればいいんでつか?
328326
2014/12/03(水) 02:44:24.46ID:7kalMiKt0329326
2014/12/04(木) 00:42:00.63ID:qnb8MSmK0 解決しました。スレ汚し申し訳ありません。
http://unix-like.dyndns-web.com/?p=242
http://unix-like.dyndns-web.com/?p=242
330名称未設定
2014/12/07(日) 16:36:52.91ID:VyCPjpJw0 >>326
xamppを使うといいよ
xamppを使うといいよ
333名称未設定
2014/12/07(日) 21:50:36.49ID:VyCPjpJw0 >>331
自分で解決出来ない人にはオススメですよ
自分で解決出来ない人にはオススメですよ
334名称未設定
2015/02/09(月) 07:06:33.71ID:QK2nuR7Q0 >>332
kwsk
kwsk
335名称未設定
2015/02/10(火) 22:46:09.86ID:aYd3whcx0 ksk
336名称未設定
2015/02/11(水) 03:15:05.42ID:LByGiME60 ssk
2015/02/11(水) 04:51:59.34ID:+4GjQvOV0
勝利はいつも
338名称未設定
2015/02/11(水) 15:37:47.95ID:TwrGV6Bm0 ykk
339名称未設定
2015/02/21(土) 22:36:35.71ID:fgUcYORX0 Mecab
340名称未設定
2015/03/17(火) 00:53:40.87ID:/dCJoMW00 brew update するたびに
Successfully rebased and updated refs/heads/master.
って数行出るんだけど、
前まで出てなかったから気になる。
Successfully rebased and updated refs/heads/master.
って数行出るんだけど、
前まで出てなかったから気になる。
342名称未設定
2015/03/18(水) 17:24:05.56ID:KNKn8Uco0 brew、内部的にgit使ってるはずだし、
git-checkoutしたとかじゃないの
git詳しくないからよく知らないけど
git-checkoutしたとかじゃないの
git詳しくないからよく知らないけど
343名称未設定
2015/03/18(水) 19:13:38.44ID:sLXHQfqn0 >>340
自分でgitのコマンドを何か使ったんだろう
Homebrewをインストールした場所で git reset --hard origin/master で直る、たぶん
ただし自分で加えた変更は失われる
自分でgitのコマンドを何か使ったんだろう
Homebrewをインストールした場所で git reset --hard origin/master で直る、たぶん
ただし自分で加えた変更は失われる
344名称未設定
2015/03/27(金) 15:15:24.32ID:OoZYznkL0345名称未設定
2015/05/16(土) 01:01:24.04ID:TyV+IMoh0 遅いけど
たぶんUpdateの時に
本体とtapしたやつを最新にしてるんじゃないかな?
たぶんUpdateの時に
本体とtapしたやつを最新にしてるんじゃないかな?
346名称未設定
2015/05/16(土) 05:06:38.78ID:Kt5MEjJm0 Error: Cannot allocate memory - connect(2)
ってでるようになった、再インスコしてもなおらん・・・
ってでるようになった、再インスコしてもなおらん・・・
347名称未設定
2015/05/22(金) 06:29:30.22ID:uWzAFgKW0 brew upgradeをする時、brew upgrade --allとしないと下のようなのが必ず出るようになってしまいました。
これは何のエラーでしょうか?
Warning: brew upgrade with no arguments will change behaviour soon!It currently upgrades all formula but this will soon change to require '--all'.Please update any workflows, documentation and scripts!
これは何のエラーでしょうか?
Warning: brew upgrade with no arguments will change behaviour soon!It currently upgrades all formula but this will soon change to require '--all'.Please update any workflows, documentation and scripts!
348名称未設定
2015/05/22(金) 06:44:38.98ID:0rZeI/Xj0 警告: 引数無しでbrewのアップグレードの挙動は近々変更するでー。
今は全部のコマンドをアップグレードすんけど、そのうち、’--all’ が必要になるべ。
んだから、(ユーザー自作の)ワークフローやら書類やら、スクリプトやらはアップデートしときなよ
今は全部のコマンドをアップグレードすんけど、そのうち、’--all’ が必要になるべ。
んだから、(ユーザー自作の)ワークフローやら書類やら、スクリプトやらはアップデートしときなよ
351名称未設定
2015/05/24(日) 16:52:56.27ID:UHjRAnT10 これがわからんレベルじゃもう何するにも人に聞かないといかんよな
352名称未設定
2015/05/24(日) 17:20:58.57ID:AOv4u0n80 えっ?
353名称未設定
2015/07/22(水) 10:01:37.02ID:j9SM/6Ol0 えっ?
354名称未設定
2015/07/23(木) 00:14:04.39ID:ET99HUg00 なんでmac板にこんなスレが立ってるんですかねぇ
あからさまに初心者なのだ!
あからさまに初心者なのだ!
355名称未設定
2015/07/25(土) 11:05:22.49ID:yBPS72rj0 brewの仕組み教えてくれない?
356名称未設定
2015/07/30(木) 02:05:33.63ID:o0izb6s80 あからさまにparlなのだ!
357名称未設定
2015/09/16(水) 22:47:15.97ID:y8wZwBM40 brew list だけだとバージョン表示されないけどオプションなんだっけか・・・
358名称未設定
2015/09/16(水) 23:08:50.90ID:t2J6yYwf0 ググったけどbrew list --versionsじゃね。brew cleanupしたらちょっと出力変わったけど
360名称未設定
2015/09/18(金) 02:04:02.94ID:2ma3tcgx0 El Capitanだとエラーになっちゃった
362名称未設定
2015/10/01(木) 16:46:54.15ID:1aBSjak30 Xcode7にしたらおかしくなった Yosemite
363名称未設定
2015/10/01(木) 17:35:27.56ID:igIdif5A0 xcode-なんちゃら --installしるって出るけど、そのコマンド入れてもダメだわ
364名称未設定
2015/10/01(木) 18:21:04.52ID:1aBSjak30 /usr/local/binの扱いが変わったらしい。
365名称未設定
2015/10/01(木) 19:48:55.30ID:OMo06J0a0 homebrew、SIP無効にしなくともEl Capitanで動くよ
366名称未設定
2015/10/01(木) 20:03:34.90ID:IIIpRmuC0 brew doctorのメッセージ通り、xcodeのライセンスの承認と/usrの権限変えたらとりあえず動くようになったな
367名称未設定
2015/10/03(土) 06:03:32.19ID:bQwgRvKp0 ElCapitan環境で
brew caskでdropboxをインストールしてみました。
その後、~/Applications内にできていたDropboxへのエイリアスをダブルクリックして
Dropboxにログインしたら
ちゃんと同期もはじまりました。
・・・が、そのときFinder上に以下のような内容のポップアップがでました。
「Dropboxが最適に動作するために、お使いのコンピュータのパスワードを入力してください」
Dropboxインストール時にこれが出るのって普通なんでしょうか・・・?
つい流れで入力してしまったんですが、なんかちょっと怖いです。
後の祭りなんですがorz
brew caskでdropboxをインストールしてみました。
その後、~/Applications内にできていたDropboxへのエイリアスをダブルクリックして
Dropboxにログインしたら
ちゃんと同期もはじまりました。
・・・が、そのときFinder上に以下のような内容のポップアップがでました。
「Dropboxが最適に動作するために、お使いのコンピュータのパスワードを入力してください」
Dropboxインストール時にこれが出るのって普通なんでしょうか・・・?
つい流れで入力してしまったんですが、なんかちょっと怖いです。
後の祭りなんですがorz
369名称未設定
2015/10/03(土) 18:35:39.51ID:aG8XayaY0 Finderのコンテキストメニューに「Dropboxに送る」を仕込むためだぬ
370名称未設定
2015/10/04(日) 11:48:19.18ID:JL7Byrvb0 brewのgccはmavxを使える?
使えるなら移行してみようかと
使えるなら移行してみようかと
371名称未設定
2015/10/05(月) 23:10:34.56ID:TffqAz+D0372名称未設定
2015/10/07(水) 06:26:05.62ID:lVDQAQ210 sophosアンチバイラスが自動でアップデートすると、自分のいる
/usr/local/binのオナーをrootに書き換えるのでbrewと
衝突するんやでw こまったなw
/usr/local/binのオナーをrootに書き換えるのでbrewと
衝突するんやでw こまったなw
373名称未設定
2015/10/07(水) 08:44:01.50ID:w8rpD79u0 それか!
374名称未設定
2015/10/10(土) 19:02:48.82ID:99alrxOr0375名称未設定
2015/10/12(月) 18:22:08.43ID:rnkBOV1H0 リカバリーモードに入らないと新規インストールできない糞仕様はいつまで続けるのだろう。
376名称未設定
2015/10/20(火) 13:21:02.61ID:KM5qEtbM0 原因はSIPなのかsophosなのか・・
377名称未設定
2015/12/04(金) 01:26:16.49ID:HsYoAgeR0 32bit Intel + スノレパ。MAMPが32bitバイナリ配布をやめたのでbrewに挑戦しました。
brewで入れたhttpd24(22も) + php56が動きません。
10): Symbol not found: _unixd_config
Referenced from: /usr/local/opt/php56/libexec/apache2/libphp5.so
Expected in: /usr/local/Cellar/httpd24/2.4.16/bin/httpd
in /usr/local/opt/php56/libexec/apache2/libphp5.so
httpd22 + php56だとapachectl configtestは通りますが、startさせるとSeg Faultでした。
Macportsだとapache24-devel + php56で上と同じエラーだったと思います
apache2+php56だと動きました。また、エラーが出たapacheはすべてmod_php抜きだと動きます。
もうローカルはあきらめてワンコインVPSとかいうのでも借りたほうがいいかな。
なお、スープは全部残しました。以上、レポっす。チラシの裏すんません。
brewで入れたhttpd24(22も) + php56が動きません。
10): Symbol not found: _unixd_config
Referenced from: /usr/local/opt/php56/libexec/apache2/libphp5.so
Expected in: /usr/local/Cellar/httpd24/2.4.16/bin/httpd
in /usr/local/opt/php56/libexec/apache2/libphp5.so
httpd22 + php56だとapachectl configtestは通りますが、startさせるとSeg Faultでした。
Macportsだとapache24-devel + php56で上と同じエラーだったと思います
apache2+php56だと動きました。また、エラーが出たapacheはすべてmod_php抜きだと動きます。
もうローカルはあきらめてワンコインVPSとかいうのでも借りたほうがいいかな。
なお、スープは全部残しました。以上、レポっす。チラシの裏すんません。
378名称未設定
2015/12/04(金) 14:04:57.93ID:pMwX+Ii00 VirtalBoxにLinuxでも入れろよ。
379名称未設定
2015/12/04(金) 15:07:18.41ID:sN0o1+980380名称未設定
2015/12/06(日) 18:32:15.52ID:gFPsMKSf0 dropboxやlibreofficeを入れると~/Applicationsにリンクができるのですが、/Applications(システムワイド)の方にリンクが作られるようにする方法はありますか?
今はいちいち手動でリンクを付け替えてます。インストール時にやってくれるオプションがあればひと手間省けるので
今はいちいち手動でリンクを付け替えてます。インストール時にやってくれるオプションがあればひと手間省けるので
381名称未設定
2015/12/07(月) 20:09:49.14ID:6b70nLif0383名称未設定
2015/12/10(木) 14:03:06.70ID:kbxzQjo40 GIMPインスコしようと思うのだけれど、caskにあるのとhomebrew/x11/gimpにあるのとどっちが良いのだろう?
384名称未設定
2016/01/13(水) 02:15:02.98ID:ZMcVVUXt0 % brew cleanup -sをするとこうなっちゃいました。
Warning: Skipping (old) keg-only: /usr/local/Cellar/gettext/0.19.6
Warning: Skipping (old) keg-only: /usr/local/Cellar/openssl/1.0.2e
% brew uses --installed gettextをすると、
fontforge、glib、newt、git、neovim/neovim/neovimが出てきたので、
brew uninstall fontforge glib newt git neovim/neovim/neovim
brew install fontforge glib newt git neovim/neovim/neovim
と削除、インストールを試しましたが、brew cleanup -sをするも変わりませんでした。
どうしたらきれいに出来ますか?
Warning: Skipping (old) keg-only: /usr/local/Cellar/gettext/0.19.6
Warning: Skipping (old) keg-only: /usr/local/Cellar/openssl/1.0.2e
% brew uses --installed gettextをすると、
fontforge、glib、newt、git、neovim/neovim/neovimが出てきたので、
brew uninstall fontforge glib newt git neovim/neovim/neovim
brew install fontforge glib newt git neovim/neovim/neovim
と削除、インストールを試しましたが、brew cleanup -sをするも変わりませんでした。
どうしたらきれいに出来ますか?
385名称未設定
2016/01/15(金) 17:51:37.12ID:My5TVf3y0 cleanup -fじゃなかったっけ
てか-sってなんだったっけ
てか-sってなんだったっけ
386名称未設定
2016/01/27(水) 11:11:17.78ID:6rfAaViJ0 $ sudo xcode-select -switch /Applications/Xcode.app
$ brew doctor
xcode-select: Error: Incorrect permissions for data file at '/usr/share/xcode-select/xcode_dir_link'. Run xcode-select -switch <xcode_folder_path> to reset the path to the Xcode folder.
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: You are using OS X 10.8.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
$ la /usr/share/xcode-select/xcode_dir_link
ls: /usr/share/xcode-select/xcode_dir_link: Permission denied
lrwxr-x--x 1 root wheel 42B 1 27 11:02 /usr/share/xcode-select/xcode_dir_link@
$ sudo chmod 755 /usr/share/xcode-select/xcode_dir_link
$ la /usr/share/xcode-select/xcode_dir_link
ls: /usr/share/xcode-select/xcode_dir_link: Permission denied
lrwxr-x--x 1 root wheel 42B 1 27 11:02 /usr/share/xcode-select/xcode_dir_link@
$
10.8でbrew doctorがここ数ヶ月、動作していました。
xcodeは入れずにcommand line toolsだけ入れてましたが、本日brew doctorで失敗します。
http://chiiiiiiiii.hatenablog.com/entry/2013/03/12/150524 ここを参考にして
sudo xcode-select -switch /usr/binをしてもエラーになるのでxcode5.1.1をインストしました。
まだ上のようなエラーが出ます。
$ brew doctor
xcode-select: Error: Incorrect permissions for data file at '/usr/share/xcode-select/xcode_dir_link'. Run xcode-select -switch <xcode_folder_path> to reset the path to the Xcode folder.
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: You are using OS X 10.8.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
$ la /usr/share/xcode-select/xcode_dir_link
ls: /usr/share/xcode-select/xcode_dir_link: Permission denied
lrwxr-x--x 1 root wheel 42B 1 27 11:02 /usr/share/xcode-select/xcode_dir_link@
$ sudo chmod 755 /usr/share/xcode-select/xcode_dir_link
$ la /usr/share/xcode-select/xcode_dir_link
ls: /usr/share/xcode-select/xcode_dir_link: Permission denied
lrwxr-x--x 1 root wheel 42B 1 27 11:02 /usr/share/xcode-select/xcode_dir_link@
$
10.8でbrew doctorがここ数ヶ月、動作していました。
xcodeは入れずにcommand line toolsだけ入れてましたが、本日brew doctorで失敗します。
http://chiiiiiiiii.hatenablog.com/entry/2013/03/12/150524 ここを参考にして
sudo xcode-select -switch /usr/binをしてもエラーになるのでxcode5.1.1をインストしました。
まだ上のようなエラーが出ます。
387名称未設定
2016/01/27(水) 11:15:13.82ID:6rfAaViJ0 command line toolsのアンインストールはどのようにすればいいのでしょうか?
xcodeから見るとインストール済で再インストールが出来ないので、command line tools再インストールの
方法でも構いませんので教えて下さい。
xcodeから見るとインストール済で再インストールが出来ないので、command line tools再インストールの
方法でも構いませんので教えて下さい。
388名称未設定
2016/01/27(水) 11:55:38.84ID:6rfAaViJ0 結局、xcodeとhomebrewをアンインストールして
/usr/share/xcode-select/xcode_dir_link@もunlinkで消しました。
command line tools再インストール、homebrew再インストールしてコマンドもインストできています。
$ brew doctor
xcode-select: Error: Incorrect permissions for data file at '/usr/share/xcode-select/xcode_dir_link'. Run xcode-select -switch <xcode_folder_path> to reset the path to the Xcode folder.
Please note that these warnings are just (中略) don't worry and just ignore them. Thanks!
Warning: You are using OS X 10.8.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
$
今でも下記のディレクトリはないのですが、どのツールが作ったのでしょうか?
/usr/share/xcode-select/xcode_dir_link@
drwxr-x--x 3 root wheel 102B 1 27 11:34 xcode-select/
$ ls -la /usr/share/xcode-select/
ls: : Permission denied
この状態って正しいのでしょうか?
/usr/share/xcode-select/xcode_dir_link@もunlinkで消しました。
command line tools再インストール、homebrew再インストールしてコマンドもインストできています。
$ brew doctor
xcode-select: Error: Incorrect permissions for data file at '/usr/share/xcode-select/xcode_dir_link'. Run xcode-select -switch <xcode_folder_path> to reset the path to the Xcode folder.
Please note that these warnings are just (中略) don't worry and just ignore them. Thanks!
Warning: You are using OS X 10.8.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
$
今でも下記のディレクトリはないのですが、どのツールが作ったのでしょうか?
/usr/share/xcode-select/xcode_dir_link@
drwxr-x--x 3 root wheel 102B 1 27 11:34 xcode-select/
$ ls -la /usr/share/xcode-select/
ls: : Permission denied
この状態って正しいのでしょうか?
389名称未設定
2016/01/27(水) 12:06:31.93ID:6rfAaViJ0 $ pwd
/usr/share/xcode-select
:xcode-select $ ls -la
total 8
drwxr-xr-x 3 root wheel 102B 1 27 11:34 ./
drwxr-xr-x 53 root wheel 1.8K 1 27 09:55 ../
-rw-rw-rw- 1 root wheel 43B 1 27 11:02 xcode_dir_path
:xcode-select $
上記のようにしたら、
$ brew doctor
Please note that these warnings are just (中略) don't worry and just ignore them. Thanks!
Warning: You are using OS X 10.8.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
$
だけになりました。
以下の質問でわかる方がいればよろしくお願いします。
1.command line toolsのアンインストールはどのようにすればいいのでしょうか?
xcodeから見るとインストール済で再インストールが出来ないので、command line tools再インストールの
方法でも構いませんので教えて下さい。
2.今でも下記のディレクトリはないのですが、どのツールが作ったのでしょうか?
/usr/share/xcode-select/xcode_dir_link@
3.10.8はhomebrewで使えない?
/usr/share/xcode-select
:xcode-select $ ls -la
total 8
drwxr-xr-x 3 root wheel 102B 1 27 11:34 ./
drwxr-xr-x 53 root wheel 1.8K 1 27 09:55 ../
-rw-rw-rw- 1 root wheel 43B 1 27 11:02 xcode_dir_path
:xcode-select $
上記のようにしたら、
$ brew doctor
Please note that these warnings are just (中略) don't worry and just ignore them. Thanks!
Warning: You are using OS X 10.8.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
$
だけになりました。
以下の質問でわかる方がいればよろしくお願いします。
1.command line toolsのアンインストールはどのようにすればいいのでしょうか?
xcodeから見るとインストール済で再インストールが出来ないので、command line tools再インストールの
方法でも構いませんので教えて下さい。
2.今でも下記のディレクトリはないのですが、どのツールが作ったのでしょうか?
/usr/share/xcode-select/xcode_dir_link@
3.10.8はhomebrewで使えない?
390名称未設定
2016/01/27(水) 17:34:04.99ID:MFSwIhan0 >>389
Warning: You are using OS X 10.8.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
Warning: You are using OS X 10.8.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
391名称未設定
2016/01/27(水) 20:29:09.29ID:6rfAaViJ0 そのメッセージ通りと言われればソレまでなんですが、アップデート前に
homebrewが教えてくれればいいのに。私がメッセージを見逃したかもしれませんが。
Mountain Lionの最終版のまま放置すればよかったです。
homebrewが教えてくれればいいのに。私がメッセージを見逃したかもしれませんが。
Mountain Lionの最終版のまま放置すればよかったです。
392名称未設定
2016/01/27(水) 22:46:06.83ID:7Bl1fDXy0 >>391
ttps://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Installation.md#requirements
Requirementsの脚注2な
旧バージョンを無理やり使ってると何か不具合が出るかもしれないよ
ttps://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Installation.md#requirements
Requirementsの脚注2な
旧バージョンを無理やり使ってると何か不具合が出るかもしれないよ
393名称未設定
2016/03/09(水) 12:35:46.21ID:1frW9+7O0 brewでwineをインストールしたら以前.pkgでインストールしたsane-backendsが衝突して
brew doctorで警告が出ました
pkgインストーラで入れたsane-backendsをアンインストールしてbrewで管理したいので
アンインストーラーのpkgってありませんか?
brew doctorで警告が出ました
pkgインストーラで入れたsane-backendsをアンインストールしてbrewで管理したいので
アンインストーラーのpkgってありませんか?
394名称未設定
2016/03/11(金) 11:33:25.84ID:bOejb5K40 現在、MacPorts & fink を使っていて、homebrew への乗り換えを検討している物です。
そこで、一つお聞きしたいのですが、
homebrew では、perl のモジュールの管理は行わないのかしら?
perl モジュールの formula がなさそう。
cpanm を使えという事なのかしら?
そこで、一つお聞きしたいのですが、
homebrew では、perl のモジュールの管理は行わないのかしら?
perl モジュールの formula がなさそう。
cpanm を使えという事なのかしら?
395名称未設定
2016/03/13(日) 17:58:58.68ID:LeuAiXEs0 homebrewではperlのみ扱って、
perl内のライブラリー管理はfomulaですればいいのでは?
fomulaのインストール(デプロイ)はperlがあればOKなんでしょ?
perl内のライブラリー管理はfomulaですればいいのでは?
fomulaのインストール(デプロイ)はperlがあればOKなんでしょ?
396名称未設定
2016/03/14(月) 11:45:03.89ID:fje9M4LQ0 >>395
コメントありがとう。
でも、
>perl内のライブラリー管理はfomulaですればいいのでは?
の部分がよく理解できない。
perl モジュール用のformula を自分で用意しろ、という事なのかしら?
そんな事するぐらいなら、cpanm か MacPorts を使います。
コメントありがとう。
でも、
>perl内のライブラリー管理はfomulaですればいいのでは?
の部分がよく理解できない。
perl モジュール用のformula を自分で用意しろ、という事なのかしら?
そんな事するぐらいなら、cpanm か MacPorts を使います。
397名称未設定
2016/05/05(木) 20:49:38.99ID:0+XQtLyh0 ☆ 日本の核武装は早急に必須です。☆
総務省の、『憲法改正国民投票法』、でググってみてください。
日本国民の皆様方、2016年7月の『第24回 参議院選挙』で、日本人の悲願である
改憲の成就が決まります。皆様方、必ず投票に自ら足を運んでください。お願い致します。
総務省の、『憲法改正国民投票法』、でググってみてください。
日本国民の皆様方、2016年7月の『第24回 参議院選挙』で、日本人の悲願である
改憲の成就が決まります。皆様方、必ず投票に自ら足を運んでください。お願い致します。
398名称未設定
2016/05/08(日) 04:21:07.09ID:N/PEjqLB0 グーグルアナリシスか
399名称未設定
2016/06/16(木) 22:42:27.98ID:Yn5sBmDY0 1日1回brew updateを自動で行いたいです。
http://qiita.com/kegamin/items/e035304e7295750cdf7d
こちらを参考にやってみましたが、動いてくれません。
どこが間違えているでしょうか?
El Capitanです。
続く
http://qiita.com/kegamin/items/e035304e7295750cdf7d
こちらを参考にやってみましたが、動いてくれません。
どこが間違えているでしょうか?
El Capitanです。
続く
400名称未設定
2016/06/16(木) 22:43:05.66ID:Yn5sBmDY0 ~/Dropbox/Scripts/brew_update.shの中には
#!/bin/sh
launchctl setenv PATH /usr/local/bin:$PATH
log_dir=$HOME/Users/名前/Library/Logs/Homebrew/update
log_name=${log_dir}/`date "+%Y%m%d"`.log
if [ ! -d ${log_dir} ]; then
mkdir -p ${log_dir}
fi
brew doctor >> ${log_name} 2>&1
if [ $? -eq 1 ]; then
brew update >> ${log_name} 2>&1
brew upgrade >> ${log_name} 2>&1
fi
と書きました。続いて
#!/bin/sh
launchctl setenv PATH /usr/local/bin:$PATH
log_dir=$HOME/Users/名前/Library/Logs/Homebrew/update
log_name=${log_dir}/`date "+%Y%m%d"`.log
if [ ! -d ${log_dir} ]; then
mkdir -p ${log_dir}
fi
brew doctor >> ${log_name} 2>&1
if [ $? -eq 1 ]; then
brew update >> ${log_name} 2>&1
brew upgrade >> ${log_name} 2>&1
fi
と書きました。続いて
401名称未設定
2016/06/16(木) 22:44:01.94ID:Yn5sBmDY0 ~/Library/LaunchAgents/homebrew_update.plistの中には
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>UserName</key>
<string>名前</string>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
<key>HOME</key>
<string>/Users/名前</string>
</dict>
続く
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>UserName</key>
<string>名前</string>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
<key>HOME</key>
<string>/Users/名前</string>
</dict>
続く
402名称未設定
2016/06/16(木) 22:44:19.66ID:Yn5sBmDY0 <key>Label</key>
<string>homebrew_update</string>
<key>ProgramArguments</key>
<array>
<string>/Users/名前/Dropbox/Scripts/brew_update.sh</string>
</array>
<key>RunAtLoad</key>
<false/>
<key>StartCalendarInterval</key>
<array>
<dict>
<key>Hour</key>
<integer>22</integer>
<key>Minute</key>
<integer>30</integer>
</dict>
</array>
</dict>
</plist>
続く
<string>homebrew_update</string>
<key>ProgramArguments</key>
<array>
<string>/Users/名前/Dropbox/Scripts/brew_update.sh</string>
</array>
<key>RunAtLoad</key>
<false/>
<key>StartCalendarInterval</key>
<array>
<dict>
<key>Hour</key>
<integer>22</integer>
<key>Minute</key>
<integer>30</integer>
</dict>
</array>
</dict>
</plist>
続く
403名称未設定
2016/06/16(木) 22:45:01.11ID:Yn5sBmDY0 sudo launchctl load -w $HOME/Library/LaunchAgents/homebrew_update.plist
を試すと、
/Users/名前/Dropbox/Library/LaunchAgents/homebrew_update.plist: Path had bad ownership/permissionsとなり、
% /Users/名前/Dropbox/Scripts/brew_update.shを動かしてみるも、動いてくれません。ログも吐いてくれません。
どこが間違えているでしょうか?
を試すと、
/Users/名前/Dropbox/Library/LaunchAgents/homebrew_update.plist: Path had bad ownership/permissionsとなり、
% /Users/名前/Dropbox/Scripts/brew_update.shを動かしてみるも、動いてくれません。ログも吐いてくれません。
どこが間違えているでしょうか?
404名称未設定
2016/06/16(木) 23:02:09.43ID:srNbGTYq0 cronで動かすのじゃだめなの?
レスを投稿する
ニュース
- 【愛知アジア大会】野菜に鶏肉3切れ…「これを食べて競技しろと?」 競技会場の衝撃的な食事 タイの監督がSNSで公開 [冬月記者★]
- 【兵庫県警】「なんであれできてないんですか」上司のミスを人前で指摘、「逆パワハラ」で20代巡査部長を処分 [煮卵★]
- STARTO社、timelesz・猪俣周杜の謹慎・活動を休止を発表 【全文掲載】 [muffin★]
- 「本当にデリカシーがない」長嶋一茂 急逝した中村ゆりさんが秘めていた「抗がん剤治療中のカツラ姿」を明かし批判続出 [ヴァイヴァー★]
- 爆破、殺害予告のほか「事業所に危害」脅迫も 沖縄知事選で初当選の古謝氏に辞任要求 [少考さん★]
- 【愛知アジア大会】野菜に鶏肉3切れ…「これを食べて競技しろと?」 競技会場の衝撃的な食事 タイの監督がSNSで公開★2 [冬月記者★]
- ウッドデッキに呪われて特定の単語を呪文のように唱えてる地縛霊いるでしょ?
- X民「(しぐれういさん)ごめんなさいが聞こえないぞ~?」←4.8万いいね
- 【高市朗報】生成AIマジで凄い。チャッピーに相談したらスマホだけで簡単にアプリを作れた [663382246]
- 俺はバカ
- 【朗報】日本、来年改憲へwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww [595118796]
- 千葉県民「3000棟以上水没したの、補償して!」国、千葉県「いや、千葉に住むのは自己責任やろ」9割以上が補償対象外に [881878332]