Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dhtnet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
dhtnet
Commits
0d279a1e
Commit
0d279a1e
authored
1 year ago
by
Amna Snene
Committed by
Adrien Béraud
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
doc: update BUILD.md
Change-Id: I230526c82df25929875a020c205fe950dbf202b0
parent
7cd813c4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
BUILD.md
+24
-3
24 additions, 3 deletions
BUILD.md
with
24 additions
and
3 deletions
BUILD.md
+
24
−
3
View file @
0d279a1e
...
...
@@ -7,11 +7,33 @@ This document provides instructions on how to build DHTNet from source code. Ens
DHTNet depends on the following libraries:
-
**OpenDHT**
2.6, used to launch DHT nodes.
-
**[pjproject](https://github.com/savoirfairelinux/pjproject)**
, used for ICE negotiation.
-
**msgpack-c**
1.
2
+, used for data serialization.
-
**[pjproject
(specific fork)
](https://github.com/savoirfairelinux/pjproject)**
, used for ICE negotiation.
-
**msgpack-c**
1.
3
+, used for data serialization.
-
**GnuTLS**
3.3+, used for cryptographic operations.
-
**Nettle**
2.4+, a GnuTLS dependency for crypto.
-
**{fmt}**
9.0+, for log formatting.
-
**[Argen2](https://github.com/P-H-C/phc-winner-argon2)**
, a dependency for key stretching.
-
**Readline**
, an optional dependency for the DHT tools.
Follow these instructions to install DHTNet dependencies depending on your system:
### Debian/Ubuntu
#### Ubuntu 20.04+:
```
bash
sudo
apt
install
libncurses5-dev libreadline-dev nettle-dev libgnutls28-dev libargon2-0-dev libmsgpack-dev libssl-dev libfmt-dev libjsoncpp-dev libhttp-parser-dev libasio-dev
```
### Fedora
```
bash
sudo
dnf
install
readline-devel gnutls-devel msgpack-devel asio-devel libargon2-devel fmt-devel http-parser-devel
```
### macOS
```
bash
brew
install
gnutls msgpack-cxx argon2 asio
```
## Building Instructions
...
...
@@ -40,7 +62,6 @@ This step ensures that your project has the most up-to-date dependencies for the
Create a build directory and use CMake to configure the build:
```
bash
cd
dependencies
&&
./build.py
&&
cd
..
mkdir
build
cd
build
cmake ..
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment