Skip to content
Takeshi Nakatani edited this page Dec 9, 2016 · 7 revisions

Building To Japanese

The build method for K2HFTFUSE and K2HFTFUSESVR is explained below.

  1. Install prerequisites before compiling
  • Debian / Ubuntu
aptitude update
aptitude install git autoconf autotools-dev gcc g++ make gdb dh-make fakeroot dpkg-dev devscripts libtool pkg-config libssl-dev libyaml-dev
  • Fedora / CentOS
yum install git autoconf automake gcc libstdc++-devel gcc-c++ make libtool openssl-devel libyaml-devel
  1. Clone source codes from Github
$ git clone [email protected]:yahoojapan/chmpx.gif
$ git submodlue update --init --recursive
$ git clone --recursive git://github.com/yahoojapan/fullock
$ git clone --recursive git://github.com/yahoojapan/k2hash
$ git clone --recursive git://github.com/yahoojapan/chmpx
$ git clone --recursive git://github.com/yahoojapan/k2htp_dtor
  1. Building and installing FULLOCK
$ cd fullock
$ ./autogen.sh
$ ./configure --prefix=/usr
$ make
$ sudo make install
  1. Building and installing K2HASH
$ cd k2hash
$ ./autogen.sh
$ ./configure --prefix=/usr
$ make
$ sudo make install
  1. Building and installing CHMPX
$ cd chmpx
$ ./autogen.sh
$ ./configure --prefix=/usr
$ make
$ sudo make install
  1. Building and installing K2HTPDTOR
$ cd k2htp_dtor
$ ./autogen.sh
$ ./configure --prefix=/usr
$ make
$ sudo make install
  1. Building and installing K2HFTFUSE
$ ./autogen.sh
$ ./configure --prefix=/usr
$ make
$ sudo make install
Clone this wiki locally