This repository has been archived by the owner on Dec 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Build on GNU Linux
pierobot edited this page Jun 12, 2016
·
22 revisions
#####Arch Install everything already available as a package
sudo pacman -S boost cmake git icu libunrar libzip opencv openssl zlib
Install the mstch library
git clone https://github.com/no1msd/mstch && cd mstch && mkdir build && cd build && cmake ../. && make && sudo make install
Download this project and compile.
git clone https://github.com/pierobot/mangapp-server && cd mangapp-server && mkdir build && cd build && cmake ../. && make
#####Debian If your distribution has an old version of cmake you can do the following to get cmake 3.x without building it yourself
sudo -i
echo 'deb http://ppa.launchpad.net/george-edison55/precise-backports/ubuntu precise main' >> /etc/apt/sources.list
echo 'deb-src http://ppa.launchpad.net/george-edison55/precise-backports/ubuntu precise main' >> /etc/apt/sources.list
exit
sudo apt-get update
Install git, icu, boost, zlib, and OpenSSL if you haven't already.
sudo apt-get install build-essential git cmake libicu-dev libboost-all-dev zlib1g-dev libssl-dev
Download, build, and install libzip
wget http://www.nih.at/libzip/libzip-1.1.2.tar.gz && tar -zxvf libzip-1.1.2.tar.gz && cd libzip-1.1.2 && cmake . && make && sudo make install && sudo cp zipconf.h /usr/local/include && cd ..
Download, build, and install the unrar library.
wget http://www.rarlab.com/rar/unrarsrc-5.3.11.tar.gz && tar -zxvf unrarsrc-5.3.11.tar.gz && cd unrar && make lib && sudo make install-lib && sudo mkdir /usr/local/include/unrar && sudo cp dll.hpp /usr/local/include/unrar
Download, build, and install the mstch library.
git clone https://github.com/no1msd/mstch && cd mstch && mkdir build && cd build && cmake ../. && make && sudo make install
Download, build, and install the opencv libraries.
git clone https://github.com/itseez/opencv && cd opencv && mkdir build && cd build
cmake -D WITH_IPP=OFF -D WITH_IPP_A=OFF -D WITH_JASPER=OFF -D WITH_OPENEXR=OFF -D WITH_TBB=OFF -D WITH_TIFF=OFF -D WITH_WEBP=OFF -D BUILD_opencv_calib3d=OFF -D BUILD_opencv_flann=OFF -D BUILD_opencv_ml=OFF -D BUILD_opencv_photo=OFF -D BUILD_opencv_video=OFF -D BUILD_opencv_shape=OFF -D BUILD_opencv_objdetect=OFF -D BUILD_opencv_superres=OFF -D BUILD_opencv_ts=OFF .. && make && sudo make install
Download this project and compile.
git clone https://github.com/pierobot/mangapp-server && cd mangapp-server && mkdir build && cd build && cmake ../. && make