Macã«C++ã®é«éã©ã¤ãã©ãªBoostãã¤ã³ã¹ãã¼ã«ãã
C++ã®åè ããã«ã¼ãã¡ãä½ãä¸ããBoostã©ã¤ãã©ãªã以åããååã ãã¯èãããã¨ããã£ãã®ã§ããæè¿ãBoostã«æ£è¦è¡¨ç¾ã®ã©ã¤ãã©ãªãæãã¨èãã¦ä¿ç¶ããæ°ãã§ã¦Macã«ã¤ã³ã¹ãã¼ã«ãããã¨ã«ãã¾ããã
å ¬å¼ãµã¤ãã¯ãã¡ã
Boost C++ Libraries
http://www.boost.org/
翻訳ãµã¤ãã¯ãã¡ãã§ãã
Boost C++ Libraries
http://boost.cppll.jp/HEAD/
Boostãã½ã¼ã¹ã³ã¼ããã³ã³ãã¤ã«ãã¦ã¤ã³ã¹ãã¼ã«ãã
Macåãã®æ å ±ã¯å°ãªãã§ããä»å±ã®ããã¥ã¡ã³ãããã¡ãã®ãµã¤ããªã©ãåèã«ã¬ã³ããªã¾ããã
Boost.Regex: Index
http://boost.cppll.jp/HEAD/libs/regex/doc/install.html#gcc
â»ã§ãMacPortsã§å ¥ããã®ãç°¡åã§ä½¿ãã¨ãã®æéãå°ãªãã®ã§å¾åã«ç´¹ä»ãã¦ããMacPortsã§ã®ã¤ã³ã¹ãã¼ã«ãããããã ã£ãããã¾ãw
æé ã¨ãã¦ã¯ã¾ãããã¡ãã®ãBoostãããã½ã¼ã¹ã³ã¼ãããã¦ã³ãã¼ããã
SourceForge.net: Boost C++ Libraries: Files
http://sourceforge.net/project/showfiles.php?group_id=7586
解åå¾ã®ãã£ã¬ã¯ããª
libs/regex/build
ã«ç§»åå¾ã以ä¸ã®ãªãã·ã§ã³ãæå®ã㦠make ãå®è¡ãã¾ãã
make -fgcc.mak
ä½ãã bjam ã£ã¦ã®ã使ã£ãæ¹æ³ãããã¿ããã ã£ããã§ããã©è²ã ã¨ãã«ãé¢é£ã®å¦çãå®è¡ãããã³ã«ä»¥ä¸ã®æ§ãªã¨ã©ã¼ãçºçãæ¹è¡ã³ã¼ãã®åé¡ã§çºçãã¦ããæ§ã§ã¨ã©ã¼ãåºããã³ã«æ¹è¡ã³ã¼ãå¤æ´ã§ãorz
./configure: ./tools/jam/src/build.sh: /bin/sh^M: bad interpreter: No such file or directory
ãããç´ ç´ã« make ãè¯ãããªï¼ã£ã¦ãã¨ã§ä»åã¯æç´ã« make ãªã³ãªã¼ã§ãã
ãªãã¼ãã³ã³ãã¤ã«å¦çãå®äºãã¦ãã¦ãã¹ãç¨ã«ããæãã®ãµã³ãã«ã³ã¼ãã¯ç¡ãããªãï¼ã¨æ¤ç´¢ããã¨ããæ²åãçºçãBoostã¯MacPostsã«å¯¾å¿ãã¦ããã®ããä»ã¾ã§ã®è¦å´ã¯ãã£ããorz
BoostãMacPortsã§ã¤ã³ã¹ãã¼ã«ãã
æè§è¦ã¤ããã®ã§MacPortsçãã¤ã³ã¹ãã¼ã«ãããã¨ã«ãã¾ããã
åèã«ããã®ã¯ãã¡ãã®ãµã¤ããã¨ã¦ãä¸å¯§ã«è§£èª¬ãã¦ãã£ã¦ããããã§ãã
Macã§Boost - Adukan
http://d.hatena.ne.jp/aduka/20081222/1229909299