user@moscwa-eMachines:~/dev/Library/cabocha-0.69$ make make all-recursive make[1]: ディレクトリ '/home/user/dev/Library/cabocha-0.69' に入ります Making all in src make[2]: ディレクトリ '/home/user/dev/Library/cabockeha-0.69/src' に入ります make[2]: 'all' に対して行うべき事はありません. make[2]: ディレクトリ '/home/user/dev/Library/cabocha-0.69/src' から出ます Making all in model make[2]: ディレクトリ '/home/user/dev/Library/cabocha-0.69/model' に入ります ../src/cabocha-model-index -f UTF8 -t EUC-JP chunk.ipa.txt chunk.ipa.model /home/user/dev/Library/cabocha-0.69/src/.libs/cabocha-model-index: error while loading shared libraries: libcrfpp.so.0: cannot open shared object file: No such file or directory Makefile:499: recipe for target 'chunk.ipa.model' failed make[2]: *** [chunk.ipa.model] Error 127 make[2]: ディレクトリ '/home/user/dev/Library/cabocha-0.69/model' から出ます Makefile:508: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: ディレクトリ '/home/user/dev/Library/cabocha-0.69' から出ます Makefile:375: recipe for target 'all' failed make: *** [all] Error 2
となり、エラーが直せません
おそらく、CRF++はインストールできているはずです
user@moscwa-eMachines:~/dev/Library/CRF++-0.58$ sudo make install ^[[Dmake[1]: ディレクトリ '/home/user/dev/Library/CRF++-0.58' に入ります test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib" /bin/bash ./libtool --mode=install /usr/bin/install -c libcrfpp.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libcrfpp.so.0.0.0 /usr/local/lib/libcrfpp.so.0.0.0 libtool: install: (cd /usr/local/lib && { ln -s -f libcrfpp.so.0.0.0 libcrfpp.so.0 || { rm -f libcrfpp.so.0 && ln -s libcrfpp.so.0.0.0 libcrfpp.so.0; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libcrfpp.so.0.0.0 libcrfpp.so || { rm -f libcrfpp.so && ln -s libcrfpp.so.0.0.0 libcrfpp.so; }; }) libtool: install: /usr/bin/install -c .libs/libcrfpp.lai /usr/local/lib/libcrfpp.la libtool: install: /usr/bin/install -c .libs/libcrfpp.a /usr/local/lib/libcrfpp.a libtool: install: chmod 644 /usr/local/lib/libcrfpp.a libtool: install: ranlib /usr/local/lib/libcrfpp.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin" /bin/bash ./libtool --mode=install /usr/bin/install -c crf_learn crf_test '/usr/local/bin' libtool: install: /usr/bin/install -c .libs/crf_learn /usr/local/bin/crf_learn libtool: install: /usr/bin/install -c .libs/crf_test /usr/local/bin/crf_test test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include" /usr/bin/install -c -m 644 crfpp.h '/usr/local/include' make[1]: ディレクトリ '/home/user/dev/Library/CRF++-0.58' から出ます
#環境
Xubuntu
Ubuntu 18.04.2 LTS
回答1件
あなたの回答
tips
プレビュー