From 5876be4b24327a12fbc37d6e983f67d44f868c90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana?= Date: Mon, 20 Nov 2023 20:39:22 +0100 Subject: [PATCH] Add more install instructions of Boost to README --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8eb2318..2acf581 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,24 @@ The best option is install the packages that the Linux distribution have in its sudo dnf install boost-devel ``` -If this is not possible and the compressed packaged is installed, the following environment variable has to be set: +If this is not possible and the compressed packaged is installed, the following environment variable has to be set pointing to the folder where it was unzipped to: ```bash export BOOST_ROOT=/path/to/library/ ``` +In some cases, it is needed to build the library, to do so: + +```bash +cd /path/to/library +mkdir own +./bootstrap.sh --prefix=/path/to/library/own +./b2 install +export BOOST_ROOT=/path/to/library/own/ +``` + +Don't forget to add the export BOOST_ROOT statement to .bashrc or wherever it is meant to be. + ### libxlswriter ```bash