31 lines
675 B
Plaintext
31 lines
675 B
Plaintext
# How to compile:
|
|
|
|
## Prerequisites
|
|
|
|
Before you try to compile µHub, please make sure the following prerequisites are met.
|
|
* GNU make
|
|
* gcc > 3.0 (or MinGW on Windows)
|
|
* Perl 5
|
|
* openssl > 0.9.8 (or use "make USE_SSL=NO")
|
|
* sqlite > 3.x
|
|
|
|
For Ubuntu / Debian:
|
|
|
|
$ sudo apt-get install cmake make gcc git libsqlite3-dev libssl-dev
|
|
|
|
## Linux, Mac OSX, FreeBSD, NetBSD and OpenBSD
|
|
|
|
$ cmake .
|
|
$ make
|
|
% make install
|
|
|
|
If you have an old gcc compiler, try disabling pre-compiled headers like this:
|
|
gmake USE_PCH=NO
|
|
|
|
### Default install directories:
|
|
|
|
Binaries /usr/local/bin/
|
|
Configuration files /etc/uhub/
|
|
Plugins /usr/lib/uhub/
|
|
Manual pages /usr/share/man/man1/
|