質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
Cygwin

Cygwinは、Unixのような環境を、Windows上で構築させるコマンドラインインターフェースです。

GCC

GCCはGNU Compiler Collectionの略です。LinuxのC言語コンパイラのデファクトスタンダードであり、数多くの他言語やプラットフォームサポートもします。

make

make は、ビルド作業を自動化するツールです。さまざまなファイルの最終変更時刻を比較し、従属するファイルよりも「ターゲット」のファイルが古いことがわかったときユーザーが設定していた命令を実行する事が可能です。

Windows

Windowsは、マイクロソフト社が開発したオペレーティングシステムです。当初は、MS-DOSに変わるOSとして開発されました。 GUIを採用し、主にインテル系のCPUを搭載したコンピューターで動作します。Windows系OSのシェアは、90%を超えるといわれています。 パソコン用以外に、POSシステムやスマートフォンなどの携帯端末用、サーバ用のOSもあります。

Q&A

解決済

1回答

1002閲覧

Windows で Zunda をインストールしたいです

groggy_egg

総合スコア24

Cygwin

Cygwinは、Unixのような環境を、Windows上で構築させるコマンドラインインターフェースです。

GCC

GCCはGNU Compiler Collectionの略です。LinuxのC言語コンパイラのデファクトスタンダードであり、数多くの他言語やプラットフォームサポートもします。

make

make は、ビルド作業を自動化するツールです。さまざまなファイルの最終変更時刻を比較し、従属するファイルよりも「ターゲット」のファイルが古いことがわかったときユーザーが設定していた命令を実行する事が可能です。

Windows

Windowsは、マイクロソフト社が開発したオペレーティングシステムです。当初は、MS-DOSに変わるOSとして開発されました。 GUIを採用し、主にインテル系のCPUを搭載したコンピューターで動作します。Windows系OSのシェアは、90%を超えるといわれています。 パソコン用以外に、POSシステムやスマートフォンなどの携帯端末用、サーバ用のOSもあります。

0グッド

0クリップ

投稿2020/04/03 04:53

今までやったこと

  • Cygwinのインストール参考1 参考2
  • Mecabインストール(exeを実行)
  • CaboChaインストール(exeを実行)
  • 公式参考サイトを参考に./configureコマンドをCygwinで実行

失敗

$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/cygdrive/d/PythonScript/GinzaTest/dic/zunda-release-1.6/missing: Unknown --is-> lightweight' option Try /cygdrive/d/PythonScript/GinzaTest/dic/zunda-release-1.6/missing --help' > > for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... none
checking dependency style of g++... none
checking for ranlib... ranlib
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for size_t... yes
checking for error_at_line... yes
checking how to run the C++ preprocessor... g++ -E
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking fstream usability... yes
checking fstream presence... yes
checking for fstream... yes
checking cstdlib usability... yes
checking cstdlib presence... yes
checking for cstdlib... yes
checking vector usability... yes
checking vector presence... yes
checking for vector... yes
checking sstream usability... yes
checking sstream presence... yes
checking for sstream... yes
checking string usability... yes
checking string presence... yes
checking for string... yes
checking iomanip usability... yes
checking iomanip presence... yes
checking for iomanip... yes
checking cabocha.h usability... no
checking cabocha.h presence... no
checking for cabocha.h... no
configure: error: cabocha.h not found

CaboCha.hのPathをコマンドオプションでつけて実行->失敗

$ ./configure --with-cabocha c:/Program\ Files/CaboCha/sdk

configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: c:/Program Files/CaboCha/sdk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/cygdrive/d/PythonScript/GinzaTest/dic/zunda-release-1.6/missing: Unknown --is-lightweight' option Try /cygdrive/d/PythonScript/GinzaTest/dic/zunda-release-1.6/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking for c:/Program... no
checking for c:/Program... no
checking for c:/Program... no
checking for c:/Program... no
checking for c:/Program... no
checking for c:/Program... no
checking for c:/Program... no
checking for c:/Program... no
checking for c:/Program... no
checking for c:/Program... no
checking for c:/Program... no
checking for c:/Program... no
checking for c:/Program... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... none
checking dependency style of g++... none
checking for c:/Program... no
checking for ranlib... ranlib
checking for c:/Program... no
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for size_t... yes
checking for error_at_line... yes
checking how to run the C++ preprocessor... g++ -E
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking fstream usability... yes
checking fstream presence... yes
checking for fstream... yes
checking cstdlib usability... yes
checking cstdlib presence... yes
checking for cstdlib... yes
checking vector usability... yes
checking vector presence... yes
checking for vector... yes
checking sstream usability... yes
checking sstream presence... yes
checking for sstream... yes
checking string usability... yes
checking string presence... yes
checking for string... yes
checking iomanip usability... yes
checking iomanip presence... yes
checking for iomanip... yes
checking cabocha.h usability... no
checking cabocha.h presence... no
checking for cabocha.h... no
configure: error: cabocha.h not found

エラーについても調べてみたのですが
結局何をどうすればいいのかわからず困っています
エラーについて

アドバイスお願いします

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

cabochaのコンパイル済みバイナリがMSVCでビルドしたものだったり
他環境とディレクトリ構成が違うことなどが問題なようです。

対処としては

  • cygwinでLinux用をインストールすることを試す
  • VirtualBoxやWSLにてLinuxを動かす

あたりです。

正直、Windowsで動かすことを想定していないものを動かすのはかなりの知識がいる作業になるので
諦めて仮想環境でLinuxを動かした方が楽です。

投稿2020/04/03 13:41

asm

総合スコア15147

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

groggy_egg

2020/04/05 11:51

ありがとうございます。とりあえずLinux用をインストール試してみます
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問