###質問したいこと
Cloud9とPHP+Mecabでアプリの開発に取り組もうとしている学生です。
環境構築で詰まっております。
PHPはCloud9デフォルトの 5.5.9です。
sudo apt-get install libmecab2 libmecab-dev mecab mecab-ipadic mecab-ipadic-utf8 mecab-utils
として、MecabとIPA辞書などのインストールはできたのですが、
下記のようにしてphp-mecabをインストールしてtestしてもうまくいきません。
git clone https://github.com/rsky/php-mecab.git cd php-mecab/mecab/ phpize ./configure make make test
とすると、下記のようになり、うまく環境構築できていないと思われます。
初心者のため情報が足りないところがあるかもしれません。よろしくお願いします。
・・・・・・・・・・中略 SKIP mecab_sparse_tonode() function [tests/mecab_sparse_tonode.phpt] reason: test is not implemented SKIP mecab_sparse_tostr() function [tests/mecab_sparse_tostr.phpt] reason: test is not implemented PASS mecab_split() function [tests/mecab_split.phpt] PASS mecab_version() function [tests/mecab_version.phpt] ===================================================================== TIME END 2017-11-26 09:38:58 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 43 --------------------------------------------------------------------- Number of tests : 85 6 Tests skipped : 79 ( 92.9%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 6 ( 7.1%) (100.0%) --------------------------------------------------------------------- Time taken : 2 seconds
あなたの回答
tips
プレビュー