KyTea 0.1.0をUbuntu 9.10(x64)でmakeするとerrorになる
$ make
In file included from ./../include/kytea/corpus-io.h:20,
from ./../include/kytea/kytea-config.h:21,
from ./../include/kytea/kytea.h:20,
from kytea.cpp:20:
./../include/kytea/general-io.h: In member function ‘void kytea::GeneralIO::writeString(const kytea::KyteaString&)’:
./../include/kytea/general-io.h:64: error: ‘uint32_t’ was not declared in this scope
./../include/kytea/general-io.h: In member function ‘kytea::KyteaString kytea::GeneralIO::readKyteaString()’:
./../include/kytea/general-io.h:82: error: ‘uint32_t’ was not declared in this scope
./../include/kytea/general-io.h:82: error: no matching function for call to ‘kytea::GeneralIO::readBinary()’
make[4]: *** [kytea.lo] エラー 1
#include
→ia32-libs入れたら立ち上がった。
うちの環境だと、
- gcc
- g++
- libtools
- ia32-libs
辺りをapt-get installする必要があった。