diff options
author | ralphmapper <ralphmapper@gmail.com> | 2021-09-18 13:50:01 +0200 |
---|---|---|
committer | mj-xmr <mjxmr@protonmail.com> | 2021-09-18 20:16:12 +0200 |
commit | 313edb2504b3ebf95d1d0f20242a1fbaa31a14dd (patch) | |
tree | b9031e928954887f13dc1451781694eb18b53a19 | |
parent | Merge pull request #7899 (diff) | |
download | monero-313edb2504b3ebf95d1d0f20242a1fbaa31a14dd.tar.xz |
Doc: building gtest on Debian and Ubuntu
-rw-r--r-- | README.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -187,7 +187,14 @@ library archives (`.a`). | libudev | ? | No | `libudev-dev` | `systemd` | `eudev-libudev-devel` | `systemd-devel` | YES | Hardware wallet | [1] On Debian/Ubuntu `libgtest-dev` only includes sources and headers. You must -build the library binary manually. This can be done with the following command ```sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libg* /usr/lib/ ``` +build the library binary manually. This can be done with the following command `sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make` +then: + +* on Debian: + `sudo mv libg* /usr/lib/` +* on Ubuntu: + `sudo mv lib/libg* /usr/lib/` + [2] libnorm-dev is needed if your zmq library was built with libnorm, and not needed otherwise Install all dependencies at once on Debian/Ubuntu: |