{"id":893,"date":"2008-01-10T16:47:43","date_gmt":"2008-01-10T07:47:43","guid":{"rendered":"\/\/do-gugan.com\/~furuta\/index.php\/2008\/01\/10\/cerntos5_64bitt\/"},"modified":"2008-01-10T16:47:43","modified_gmt":"2008-01-10T07:47:43","slug":"cerntos5_64bitt","status":"publish","type":"post","link":"https:\/\/do-gugan.com\/~furuta\/archives\/2008\/01\/cerntos5_64bitt.html","title":{"rendered":"CerntOS5 64bit\u74b0\u5883\u306bText::MeCab\u3092\u5c0e\u5165\u3059\u308b\u3068make test\u304c\u901a\u3089\u306a\u3044\u4ef6"},"content":{"rendered":"<p>\n\u3000\u65e5\u7d4cLinux\u306e2008\/2\u6708\u53f7\u306e\u7279\u96c6\u3092\u898b\u306a\u304c\u3089\u3001SpamAssasin\u3092\u5c0e\u5165\u3059\u308b\u7d4c\u904e\u3067\u3001MeCab\u3068\u3044\u3046\u5f62\u614b\u7d20\u89e3\u6790\u30a8\u30f3\u30b8\u30f3\u3092\u5229\u7528\u3059\u308bCPAN\u30e2\u30b8\u30e5\u30fc\u30ebText:\uff1aMeCab\u3092\u5165\u308c\u308b\u6bb5\u3067\u3064\u307e\u3065\u304d\u307e\u3057\u305f\u3002make\u3084make test\u304c\u901a\u3089\u306a\u3044\u3002\u3069\u3046\u308264bit\u74b0\u5883\u3067\u3042\u308b\u3053\u3068\u304c\u554f\u984c\u3063\u307d\u3044\u3002\n<\/p>\n<p>\n\u3000\u4ee5\u4e0b\u306b\u89e3\u6c7a\u6cd5\u3092\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002\n<\/p>\n<p class=\"code\">\ncpan -fi Text::MeCab\n<\/p>\n<p>\n\u3092\u3057\u3066\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u5f8c\u3067\u3001\/root\/.cpan\/build\/Text-MeCab-0.20001\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002\u305d\u3053\u306b\u3042\u308bMakefile.PL\u3092\u7de8\u96c6\u3057\u3001\n<\/p>\n<p class=\"code\">\nmy %INFO = (<br \/>\n&nbsp;&nbsp;&nbsp; ABSTRACT&nbsp;&nbsp;&nbsp;&nbsp; =&gt; &#8216;Alternative Interface To libmecab&#8217;,<br \/>\n&nbsp;&nbsp;&nbsp; AUTHOR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; &#8216;Daisuke Maki &lt;<a href=\"mailto:daisuke@endeworks.jp%3E'\">daisuke@endeworks.jp&gt;&#8217;<\/a>,<br \/>\n&nbsp;&nbsp;&nbsp; CCFLAGS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; $result-&gt;{cflags},<br \/>\n&nbsp;&nbsp;&nbsp; DEFINE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; join( &#8221; &#8220;, @define ),<br \/>\n&nbsp;&nbsp;&nbsp; DISTNAME&nbsp;&nbsp;&nbsp;&nbsp; =&gt; &#8216;Text-MeCab&#8217;,<br \/>\n&nbsp;&nbsp;&nbsp; INSTALLDIRS&nbsp; =&gt; &#8216;site&#8217;,<br \/>\n&nbsp;&nbsp;&nbsp; LIBS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; <font color=\"#FF0000\">`mecab-config &#8211;libs`<\/font>,<br \/>\n&nbsp;&nbsp;&nbsp; NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; &#8216;Text::MeCab&#8217;,<br \/>\n&nbsp;&nbsp;&nbsp; OBJECT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; &#8216;$(O_FILES)&#8217;,<br \/>\n&nbsp;&nbsp;&nbsp; PREREQ_PM&nbsp;&nbsp;&nbsp; =&gt; {<br \/>\n&nbsp;&nbsp; &nbsp;<font color=\"#FF0000\">LD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; `mecab-config &#8211;cxx`,<br \/>\n&nbsp;&nbsp;&nbsp; INC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; `mecab-config &#8211;cflags`,<\/font>\n<\/p>\n<p>\n\u3066\u306a\u611f\u3058\u3067\u66f8\u304d\u63db\u3048\u307e\u3059\u3002\u4e0b\uff12\u884c\u306f\u4e38\u3054\u3068\u8ffd\u52a0\u3067\u3059\u3002\u5f8c\u534a\u306e\u62ec\u308a\u306f\u30a2\u30dd\u30b9\u30c8\u30ed\u30d5\u30a3\u3067\u306f\u306a\u3044\u70b9\u306b\u6ce8\u610f\u3002\/usr\/bin\/mecab-config\u30b3\u30de\u30f3\u30c9\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u4ed8\u304d\u3067\u5b9f\u884c\u3057\u3066\u3001\u305d\u306e\u7d50\u679c\u3092\u6e21\u3057\u3066\u308b\u8a33\u3067\u3059\u306d\u3002\n<\/p>\n<p>\n\u3000\u4e00\u5fdc\u3053\u308c\u3067make\u3082make test\u3082\u901a\u3063\u3066\u3001\u7121\u4e8bmake install\u3057\u305f\u8a33\u3067\u3059\u304c\u3001\u305d\u306e\u524d\u306b\u4ee5\u4e0b\u3082\u8a66\u3057\u3066\u307e\u3059\u306e\u3067\u3001\u4e00\u5fdc\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002\u3082\u3057\u4e0a\u8a18\u3060\u3051\u3067\u30c0\u30e1\u306a\u3089\u304a\u8a66\u3057\u4e0b\u3055\u3044\u3002\n<\/p>\n<p>\n\u3000mecab-0.96\u3068mecab-ipadic-2.7.0-2007080\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u6642\u306b\u300164bit\u74b0\u5883\u3067\u3042\u308b\u3053\u3068\u3092\u660e\u793a\u3057\u307e\u3059\u3002\n<\/p>\n<p class=\"code\">\nLDFLAGS=&#8217;-m64&#8242;<br \/>\nCFLAGS=&#8217;-m64&#8242;<br \/>\nCPPFLAGS=&#8217;-m64&#8242;<br \/>\nCXXFLAGS=&#8217;-m64&#8242;<br \/>\nexport LDFLAGS CFLAGS CPPFLAGS CXXFLAGS\n<\/p>\n<p>\n\u3067\u3001.\/configure\u306f\u5143\u8a18\u4e8b\u3067\u306f\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u7d30\u304b\u304f\u6307\u5b9a\u3057\u3066\u305f\u306e\u3092\u3001\u30b7\u30f3\u30d7\u30eb\u306b\n<\/p>\n<p class=\"code\">\n.\/configure &#8211;with-charset=utf8\u3000\u3000\uff08mecab\u306e\u6642\uff09\n<\/p>\n<p>\n\u3068\n<\/p>\n<p class=\"code\">\n.\/configure &#8211;with-mecab-config=\/usr\/bin\/mecab-config &#8211;with-charset=utf8\u3000\uff08mecab-ipadic\u306e\u6642\uff09\n<\/p>\n<p>\n\u3060\u3051\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002\n<\/p>\n<p>\n\u3000\u30b0\u30b0\u3063\u3066\u3044\u304f\u3064\u3082\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3057\u305f\u3093\u3067\u3059\u304c\u3001\u3082\u3046\u8272\u3005\u898b\u904e\u304e\u3066\u3068\u3066\u3082\u307e\u3068\u3081\u3089\u308c\u306a\u3044\u306e\u3067\u3001\u500b\u5225\u30ea\u30f3\u30af\u306f\u3054\u52d8\u5f01\u4e0b\u3055\u3044\u307e\u305b\u3002\u305d\u308c\u305e\u308c\u3092\u57f7\u7b46\u3055\u308c\u305f\u65b9\u3001\u672c\u5f53\u306b\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002\n<\/p>\n<p>\n<strong>\u8ffd\u8a18\uff1a<\/strong>\n<\/p>\n<p>\n\u3000\u3093\u304c\u3001<a title=\"\" href=\"http:\/\/www.emaillab.org\/spamassassin\/\">\u3053\u3053<\/a>\u306bsrpm\u304c\u63c3\u3063\u3066\u307e\u3057\u305f\u3002\u3053\u3063\u3061\u3092\u30ea\u30d3\u30eb\u30c9\u3059\u308c\u3070\u826f\u304b\u3063\u305f\u304b\u3082&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u65e5\u7d4cLinux\u306e2008\/2\u6708\u53f7\u306e\u7279\u96c6\u3092\u898b\u306a\u304c\u3089\u3001SpamAssasin\u3092\u5c0e\u5165\u3059\u308b\u7d4c\u904e\u3067\u3001MeCab\u3068\u3044\u3046\u5f62\u614b\u7d20\u89e3\u6790\u30a8\u30f3\u30b8\u30f3\u3092\u5229\u7528\u3059\u308bCPAN\u30e2\u30b8\u30e5\u30fc\u30ebText:\uff1aMeCab\u3092\u5165\u308c\u308b\u6bb5\u3067\u3064\u307e\u3065\u304d\u307e\u3057\u305f\u3002make\u3084mak [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-893","post","type-post","status-publish","format-standard","hentry","category-cat79"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts\/893","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/comments?post=893"}],"version-history":[{"count":0,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts\/893\/revisions"}],"wp:attachment":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/media?parent=893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/categories?post=893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/tags?post=893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}