æããã³ã¡ã³ãã
ã»ãã£ã£ã£ã¨ãã«ããããããï¼
id:seiunsky:20061223:1166893138#c
ããã¾ã§æ¸ãã¦ããã£ã¦æ«æãã¾ããã¼ã¨ãã¢ãªã¨ãã¤ã ãã
ã¨ããããã§åææ¦ã
ãã®çµæ
ãã¾ããã£ãï¼ï¼ï¼ï¼
ã¨ããããããã£ãã¨ããã
python-devããªãã調ã¹ã¦ãåºã¦ããªããã apt-get ã§ã python-dev ãªãã¦ããã±ã¼ã¸ã¯ãªãã
ããã§ã
apt-cache search python | more
ã¨ãã¦ããã±ã¼ã¸ãä¸ã¤ãã¤è¦ã¦è¡ã£ããããããã¨â¦â¦
python-devel - Python ã§ã®éçºã«å¿ è¦ãªã©ã¤ãã©ãªãããããã¡ã¤ã«
ã¨ããè¨è¿°ãããã§ã¯ãªããã
â¦â¦ãããã®ãã¨ãç·åçã«èãã¦åºã¦ããçµè«ã¯ã²ã¨ã¤ï¼ã¤ã³ã¹ãã¼ã«ããããã±ã¼ã¸ã¯ python-devel ã ã£ãã¨ãããã¨ï¼ï¼ï¼ãºãã¥ã¥ã¼ã¼ã¼ã³ï¼
ã¨ããããã§ãpython-devel ãã¤ã³ã¹ãã¼ã«ãã¦ããåã
ã®ããã°ã©ã ãã¤ã³ã¹ãã¼ã«ãããé¢ç½ãã»ã©ãã£ããå®äºããã
ãã¨ã¯ãmod_pythonã® configure ãå®è¡ããæ㯠apache2 ã® apxs ã¸ã®ãã¹ãæå®ãã¦ããããã¨ã«æ°ãã¤ããã°è¯ãããªã
./configure --with-apxs=/usr/local/apache2/bin/apxs
ã¨ããããã§
ä¸éãã¤ã³ã¹ãã¼ã«ãçµãã£ãã£ã½ãã®ã§åããã¦ã¿ãããã ãã©ãæµç³ã«ä»æ¥ã¯é ãã®ã§ã¾ãææ¥ï¼