How to build?
- Install cmake 2.8, lua 5.2, gcc 4.8.1
- Create directory "build/" on the same level as "src/"
- cd build
- cmake ../src/ -DCMAKE_BUILD_TYPE=Release
- make
- copy libmystem-c-binding.so from https://github.com/yandex/tomita-parser/releases/tag/v1.0 to the same folder
- sudo apt-get install build-essential cmake lua5.2
- git clone https://github.com/yandex/tomita-parser
- cd tomita-parser && mkdir build && cd build
- cmake ../src/ -DCMAKE_BUILD_TYPE=Release
- make
- copy libmystem-c-binding.so from https://github.com/yandex/tomita-parser/releases/tag/v1.0 to the same folder
The following packages should be installed before compiling on an x86_64
machine:
gcc
,cmake
,lua
,libstdc++-static
.
Please note that the glibc-devel.i686
package should be either removed or not installed (see yandex#6 for details). In case when the requirements are met, everything will work fine. it has been tested and so far has worked successfully on Fedora 20 (x86_64) and Fedora 24 (x86_64).