mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
Update build-run-rippled-macos.md
Solving the confusion and helping when adding Boost environment variable to .bash_profile
This commit is contained in:
committed by
GitHub
parent
59f8af21eb
commit
0dcc266f0c
@@ -36,11 +36,15 @@ For development purposes Ripple recommends running `rippled` as your own user, n
|
||||
./bootstrap.sh
|
||||
./b2 cxxflags="-std=c++14"
|
||||
|
||||
0. Ensure that your `BOOST_ROOT` environment variable points to the directory created by the Boost installation. To find your Boost install directory, use `brew info boost`. Put this environment variable in your `.bash_profile` file so it's automatically set when you log in. For example:
|
||||
0. Ensure that your `BOOST_ROOT` environment points to the directory created by the Boost installation:
|
||||
|
||||
export BOOST_ROOT=/Users/my_user/boost_1_70_0
|
||||
1. To find your Boost directory, use `pwd` if you installed the Boost manually or use `brew info boost` if you installed the Boost with Homebrew.
|
||||
|
||||
0. If you updated your `.bash_profile` file in the previous step, be sure to source it. For example:
|
||||
2. Edit below code with your Boost directory location and run to add Boost environment variable to your `.bash_profile` file so it's automatically set when you log in.
|
||||
|
||||
$ echo "export BOOST_ROOT=/Users/my_user/boost_1_70_0" >> ~/.bash_profile
|
||||
|
||||
0. If you updated your `.bash_profile` file in the previous step, be sure to source it in a new Terminal window. For example:
|
||||
|
||||
$ source .bash_profile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user