Compile
Prerequisites
Before you try to compile uhub, please make sure the following prerequisites are met.
- CMake (2.8.3+)
- GCC, Clang, MinGW, Cygwin or Visual Studio 2010.
- OpenSSL 0.9.8+ (optional)
- SQLite3 (optional)
Linux, Mac OSX, BSD, Solaris
uhub should compile on most systems just fine:
cmake .
make
make install
Default install directories:
Binaries | /usr/local/bin/ |
Configuration files | /etc/uhub/ |
Plugins | /usr/lib/uhub/ |
Manual pages | /usr/share/man/man1/ |
Compiling on Ubuntu and Debian
First make sure you have installed all the dependencies:
sudo apt-get install cmake make gcc git libsqlite3-dev libssl-dev
git clone https://github.com/janvidar/uhub.git