-
Notifications
You must be signed in to change notification settings - Fork 4
Build
Takeshi Nakatani edited this page Dec 9, 2016
·
7 revisions
The build method for K2HFTFUSE and K2HFTFUSESVR is explained below.
- 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
- 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
- Building and installing FULLOCK
$ cd fullock
$ ./autogen.sh
$ ./configure --prefix=/usr
$ make
$ sudo make install
- Building and installing K2HASH
$ cd k2hash
$ ./autogen.sh
$ ./configure --prefix=/usr
$ make
$ sudo make install
- Building and installing CHMPX
$ cd chmpx
$ ./autogen.sh
$ ./configure --prefix=/usr
$ make
$ sudo make install
- Building and installing K2HTPDTOR
$ cd k2htp_dtor
$ ./autogen.sh
$ ./configure --prefix=/usr
$ make
$ sudo make install
- Building and installing K2HFTFUSE
$ ./autogen.sh
$ ./configure --prefix=/usr
$ make
$ sudo make install