mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-29 10:43:14 +00:00
Doc: building gtest on Debian and Ubuntu
This commit is contained in:
parent
a39b1d56c8
commit
313edb2504
1 changed files with 8 additions and 1 deletions
|
@ -187,7 +187,14 @@ library archives (`.a`).
|
||||||
| libudev | ? | No | `libudev-dev` | `systemd` | `eudev-libudev-devel` | `systemd-devel` | YES | Hardware wallet |
|
| 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
|
[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
|
[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:
|
Install all dependencies at once on Debian/Ubuntu:
|
||||||
|
|
Loading…
Reference in a new issue