do-know / tomita-parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Travis

How to build?

  1. Install cmake 2.8, lua 5.2, gcc 4.8.1
  2. Create directory "build/" on the same level as "src/"
  3. cd build
  4. cmake ../src/ -DCMAKE_BUILD_TYPE=Release
  5. make
  6. copy libmystem-c-binding.so from https://github.com/yandex/tomita-parser/releases/tag/v1.0 to the same folder

Compiling on Linux

Ubuntu

  1. sudo apt-get install build-essential cmake lua5.2
  2. git clone https://github.com/yandex/tomita-parser
  3. cd tomita-parser && mkdir build && cd build
  4. cmake ../src/ -DCMAKE_BUILD_TYPE=Release
  5. make
  6. copy libmystem-c-binding.so from https://github.com/yandex/tomita-parser/releases/tag/v1.0 to the same folder

Fedora (RHEL, CentOS, etc.)

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).

About

License:Other


Languages

Language:C 54.3%Language:C++ 43.4%Language:CMake 0.8%Language:M4 0.7%Language:Makefile 0.2%Language:XSLT 0.2%Language:Yacc 0.2%Language:Protocol Buffer 0.1%Language:Python 0.1%Language:Lua 0.1%Language:Objective-C 0.0%Language:Lex 0.0%Language:Assembly 0.0%