# 1. prepare bindings for script languages

> cd jdepp-YYYY-MM-DD
> configure
> cd swig
> make

## if you have some troubles on SSE4.2 popcnt in the following installation,
   you may want to configure --disable-popcnt to disable it


# 2. build bindings for the language you need a binding

## python
> cd python
> python setup.py build
> sudo python setup.py install --record installed

### test
> python test.py -m PATH_TO_JDEPP_MODEL_DIR

### uninstal
> cat installed | xargs rm -f

===

## ruby
> cd ruby
> ruby extconf.rb
> make
> sudo make site-install

### test
> ruby test.rb -m PATH_TO_JDEPP_MODEL_DIR

===

## perl
> cd perl
> perl Makefile.PL
> make
> sudo make install

### test
> perl test.pl -m PATH_TO_JDEPP_MODEL_DIR

===

## lua / luajit
> cd lua
> make lua-bindings
 (make luajit-bindings)

### test
> lua    test.lua -m PATH_TO_JDEPP_MODEL_DIR
(>luajit test.lua -m PATH_TO_JDEPP_MODEL_DIR)


# 3. clean temporary files in the working directories
> make clean
