|
|
|
@ -16,11 +16,11 @@ and its dependencies.
@@ -16,11 +16,11 @@ and its dependencies.
|
|
|
|
|
Build notes |
|
|
|
|
=========== |
|
|
|
|
|
|
|
|
|
Common build/install process: |
|
|
|
|
Common build/install process from sources: |
|
|
|
|
|
|
|
|
|
* git clone https://github.com/PurpleI2P/i2pd.git |
|
|
|
|
* cd i2pd/build |
|
|
|
|
* cmake -DCMAKE_BUILD_TYPE=Release <more options> . |
|
|
|
|
* mkdir -p 'i2pd/build/tmp' && cd 'i2pd/build/tmp' |
|
|
|
|
* cmake -DCMAKE_BUILD_TYPE=Release <more options> .. |
|
|
|
|
* make |
|
|
|
|
* make install |
|
|
|
|
|
|
|
|
@ -29,18 +29,27 @@ Available cmake options:
@@ -29,18 +29,27 @@ Available cmake options:
|
|
|
|
|
* CMAKE_BUILD_TYPE -- build profile (Debug/Release) |
|
|
|
|
* WITH_AESNI -- AES-NI support (ON/OFF) |
|
|
|
|
* WITH_HARDENING -- enable hardening features (ON/OFF) (gcc only) |
|
|
|
|
* WITH_BINARY -- build i2pd itself |
|
|
|
|
* WITH_LIBRARY -- build libi2pd |
|
|
|
|
* WITH_STATIC -- build static versions of library and i2pd binary |
|
|
|
|
* WITH_UPNP -- build with UPnP support (requires libupnp) |
|
|
|
|
* WITH_PCH -- use pre-compiled header (experimental, speeds up build) |
|
|
|
|
|
|
|
|
|
Debian |
|
|
|
|
------ |
|
|
|
|
|
|
|
|
|
Required "-dev" packages: |
|
|
|
|
For building from source on debian system you will need the following "-dev" packages: |
|
|
|
|
|
|
|
|
|
* libboost-chrono-dev |
|
|
|
|
* libboost-date-time-dev |
|
|
|
|
* libboost-filesystem-dev |
|
|
|
|
* libboost-program-options-dev |
|
|
|
|
* libboost-regex-dev |
|
|
|
|
* libboost-system-dev |
|
|
|
|
* libboost-date-time-dev |
|
|
|
|
* libssl-dev |
|
|
|
|
* libboost-thread-dev |
|
|
|
|
* libssl-dev (e.g. openssl) |
|
|
|
|
* zlib1g-dev (libssl-dev already depends on it) |
|
|
|
|
* libminiupnpc-dev (optional, if WITH_UPNP=ON) |
|
|
|
|
|
|
|
|
|
FreeBSD |
|
|
|
|
------- |
|
|
|
|