###前提・実現したいこと
AWSのUbuntuにmecab-ipadic-NEologdをインストールしようとしています。
###発生している問題・エラーメッセージ
・mecab-ipadic-NEologdインストールの時にエラー
$ ./bin/install-mecab-ipadic-neologd -n
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
reading ./mecab-user-dict-seed.20160624.csv ... /home/user/install/mecab-ipadic-neologd/bin/../libexec/make-mecab-ipadic-neologd.sh: line 360: 14693 Aborted (core dumped) ${MECAB_LIBEXEC_DIR}/mecab-dict-index -f UTF8 -t UTF8
・ダメ元で辞書指定してmecabを実行するとエラー
$ mecab -d /home/user/.linuxbrew/lib/mecab/dic/mecab-ipadic-neologd
param.cpp(69) [ifs] no such file or directory: /home/user/.linuxbrew/lib/mecab/dic/mecab-ipadic-neologd/dicrc
###補足情報(言語/FW/ツール等のバージョンなど)
■次のことはできました。
・mecabのインストール
・mecab-ipadicのインストール
→mecab単体では動作する
■気になることをまとめました。
・公式サイトには書いていないが、必要なライブラリをインストールするように書いてあるので実行してみました。しかし、実行すると一部でエラーが出ます。(Warningはスルーでもいいかも??)
○形態素解析器 MeCab の新語・固有表現辞書 mecab-ipadic-NEologd のご紹介
http://www.slideshare.net/overlast/mecab-ipadicneologdtokyordf-46497035
→P.12(初回インストール)
$ brew install mecab mecab-ipadic git curl xz
Warning: mecab-0.996 already installed
Warning: mecab-ipadic-2.7.0-20070801 already installed
Error: Unsupported special dependency :perl
Please report this bug:
https://github.com/Linuxbrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting
/home/user/.linuxbrew/Library/Homebrew/dependency_collector.rb:123:in `parse_symbol_spec'
・念のためbrew doctorをするとエラー表示
$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: "config" scripts exist outside your system or Homebrew directories.
./configure
scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/usr/local/bin/mecab-config
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。