Help us understand the problem. What is going on with this article?

HARK をソースからコンパイルする

More than 3 years have passed since last update.

なぜコンパイル?

HARK は、 Windows インストーラと .deb パッケージと、ソースコードだけなので
Ubuntu 以外の環境ではコンパイルする必要がある。

HARK のソースコードを手に入れる

ここから最新版をダウンロードして、全部解凍する
http://www.hark.jp/wiki.cgi?page=Softwares#p10
とりあえず hark-src に入れておく

mkdir hark-src
cd hark-src
wget http://www.hark.jp/src/2.0.0/hark-designer_2.0.0.tar.gz
wget http://www.hark.jp/src/2.0.0/hark-fd_2.0.0.tar.gz
wget http://www.hark.jp/src/2.0.0/julius-4.2.3-hark_2.0.0.tar.gz
wget http://www.hark.jp/src/2.0.0/julius-4.2.3-hark-plugin_2.0.0.tar.gz
wget http://www.hark.jp/src/2.0.0/harktool4_2.0.0.tar.gz
wget http://www.hark.jp/src/2.0.0/harktool4-cui_2.0.0.tar.gz
wget http://www.hark.jp/src/2.0.0/libharkio2_2.0.0.tar.gz
wget http://www.hark.jp/src/2.0.0/flowdesigner-0.9.1-hark_2.0.0.tar.gz
find . -name "*.tar.gz" -exec tar xzvf {} \;

順番にコンパイル

libharkio2

cd libharkio2_2.0.0/
sudo apt-get install g++ libboost-dev libxml++2.6-dev libboost-regex-dev
./configure
make
sudo make install
cd ..

flowdesigner

cd flowdesigner-0.9.1-hark_2.0.0 
sudo apt-get install libgnomeui-dev
./configure
make 
sudo make install
cd ..

hark-fd

cd hark-fd_2.0.0
sudo apt-get install libasound2-dev libboost-thread-dev
./configure
sudo make install
cd ..

harktool4-cui

cd harktool4-cui_2.0.0
sudo apt-get install libboost-program-options-dev libboost-filesystem-dev libsndfile1-dev
CXXFLAGS=-std=c++0x ./configure
make 
sudo make install
cd ..

harktool4

cd harktool4-2.0.0
sudo apt-get install qt4-qmake libqt4-dev tidy
make 
sudo make install
cd ..

hark-designer

cd hark-designer_2.0.0
sudo add-apt-repository -y ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs graphviz
npm install
node app.js
cd ..

これでサーバが立ち上がるので、ブラウザを立ち上げて http://localhost:3000 にアクセス

julius

cd julius-4.2.3-hark_2.0.0
sh configure
make
sudo make install
cd ..

julius-plugin

cd julius-4.2.2-hark-plugin_2.0.0
sudo make install
cd ..
Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away