###前提・実現したいこと
「Cygwin for 64-bit versions of Windows」上で「mecab-0.98」をインストールしたいです。
###発生している問題・エラーメッセージ
(前略) gcc version 5.4.0 (GCC) configure:2878: $? = 0 configure:2885: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:2889: $? = 1 configure:2912: checking for C compiler default output file name configure:2934: gcc -DNOMINMAX conftest.c -liconv >&5 /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -liconv collect2: error: ld returned 1 exit status configure:2938: $? = 1 configure:2976: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "mecab" | #define VERSION "0.98" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2982: error: in `/usr/src/mecab-0.98': configure:2985: error: C compiler cannot create executables See `config.log' for more details. (後略)
###該当のソースコード
$ tar zxvf mecab-0.98.tar.gz $ cd mecab-0.98 $ ./configure -with-charset=utf-8 CPPFLAGS=-DNOMINMAX LIBS=-liconv
###試したこと
「gcc-g++」を再インストールしました。
###補足情報(言語/FW/ツール等のバージョンなど)
使用端末のOSはWindows10です。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/09/15 12:30
2016/09/15 13:12
2016/09/15 13:36