Mac ã«Homebrew ãã¤ã³ã¹ãã¼ã«ãã
Macports ã§ã¯SVNãªã©ã®è¨å®ããï¼Proxyã®åé¡ãããããã§ãï¼
ã¡ããã¨è¨å®ããããããããã®ã§ããï¼èªå®
ã§ããç 究室ã§ããï¼ï¼ã®ç 究ãè¡ãã®ã§ããã°ï¼port updateã®åº¦ã«è¨å®ãå¤ããã®ã¯æ£ç´ããã©ãããï¼
ãªãï¼proxyã«ä¾åããããªãï¼ããããªç§ã«æå ±
#ãã¾ãã¾ï¼ç°å¢ã§homebrew ã®proxy ã大ä¸å¤«ã ã£ãã¨ãããªãã¯ããã¾ããï¼ï¼ï¼
#proxyèªè¨¼ç°å¢ã¯ç®¡çè
ã«ãåãåãããå¿
è¦ã§ãï¼
ãHomeBrewãã使ãã°è¯ã
Home brew
ã¨ãããã¨ã§ï¼ã¤ã³ã¹ãã¼ã«ããï¼
ã¤ã³ã¹ãã¼ã«æ¹æ³ã¯ä»¥ä¸ã®ã¨ãã
åèãµã¤ãã¯ãã¡ã
MacOSX - パッケージ管理システム Homebrew - Qiita
ãã ãï¼äºåã«xcodeãã¤ã³ã¹ãã¼ã«ãã¦ãããã¨ï¼
ç§ã¯ï¼ver.5.1.1 (2014å¹´4æ28æ¥ã«ãããææ°Ver.)ã§ä»¥ä¸ãè¡ãã¾ããï¼
1 . Javaã®ã¤ã³ã¹ãã¼ã«ç¢ºèªã¨ã¤ã³ã¹ãã¼ã«
Javaã®ç¢ºèªã¯ä»¥ä¸ãã
$ java -version (ã¤ã³ã¹ãã¼ã«ããã¦ãããªãï¼ä»¥ä¸ã®ãããªã¡ãã»ã¼ã¸ãåºå) java version "1.6.0_65" Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
ã¤ã³ã¹ãã¼ã«ããã¦ããªããã°ï¼ã¤ã³ã¹ãã¼ã«ããããï¼ã¡ãã»ã¼ã¸ãåºåãããã®ã§ï¼
æ示ã«å¾ãã¾ãï¼
2. xcode ã³ãã³ãã©ã¤ã³ãã¤ã³ã¹ãã¼ã«
å®ã¯ï¼ãã¡ããä»åï¼homebrew ã¤ã³ã¹ãã¼ã«ã§ã¯æéåãã¾ããï¼
ï¼ãã¾ãæéã§ã¯ãªãã£ããã©ï¼ï¼ï¼ï¼
ã¨ããã®ãï¼xcodeããã®command Line tool ã®ã»ããã¢ããã§ã馴æã¿ã®ï¼
ããXcodeãâãPreferencesãâãDownloadsãâãComponentsãã
ã§ã¯ï¼ã§ãã¾ããã§ããï¼
è²ã
調ã¹ããï¼ä»¥ä¸ãããã
MavericksでCommand Line Tools for Xcodeをインストールする - Qiita
ãã¡ãã®æé ã«å¾ã£ã¦ï¼ä»¥ä¸ã«å¾ã£ã¦Command Line Tool ãã¤ã³ã¹ãã¼ã«
Xcode->Open Developer Tool->More Developer Tools
ãã¡ãããï¼Command Line Tool ãé¸æãï¼installãè¡ãã«ã¯ï¼Apple IDã®ãµã¤ãã«ç§»åãã¾ãï¼
ããã§ï¼Apple IDãå
¥åããã¨ï¼Command Line Toolãã¤ã³ã¹ãã¼ã«åºæ¥ãæºåãã§ãã¾ãã®ã§ï¼
ãµã¤ããããã¦ã³ãã¼ããï¼ã¤ã³ã¹ãã¼ã«ããï¼
3. HomeBrew æ¬ä½ãã¤ã³ã¹ãã¼ã«ãã
以ä¸ã®ã³ãã³ããTerminalä¸ã§è¡ã
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
æ¬ä½ã¤ã³ã¹ãã¼ã«ãã§ãããï¼success ã¨ããã³ã¡ã³ããåºã¾ãï¼
ãã®ã³ã¡ã³ããåºåããããªãï¼æ©éï¼homebrew ã®ææ°ãã§ãã¯ã¨æ´æ° ã以ä¸ã§è¡ãã¾ãï¼
4. ã·ã¹ãã ã®æ´åæ§ç¢ºèª
$ brew doctor
5. ã·ã¹ãã æ´æ°
$ brew update
ããã§ï¼è²ã
ã·ã¹ãã ã®æ´æ°ãã¤ã³ã¹ãã¼ã«ãã§ãã¾ãï¼
Mac ã®OpenCVã¤ã³ã¹ãã¼ã«ã¯homebrewã使ãã¨ã¨ã£ã¦ãç°¡åã«ã§ãã¾ãï¼
次ã®æ©ä¼ã«ã§ãæ¡å
ãã¾ãï¼