diff options
author | Gene <feuGeneA@users.noreply.github.com> | 2017-12-18 10:04:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-18 10:04:22 -0500 |
commit | dd9bacd6282f533fb5c850d26a73fbb1e152eecd (patch) | |
tree | 8ce3a3a17e0f9833867ccc5d19bef8f82d4a7125 /doc | |
parent | 606edc908daceb007b141110683cf2c791f84608 (diff) | |
download | xmr-stak-dd9bacd6282f533fb5c850d26a73fbb1e152eecd.zip xmr-stak-dd9bacd6282f533fb5c850d26a73fbb1e152eecd.tar.gz |
for CentOS, do scl without sudo
I ran into a problem following these instructions, and this change got me past it.
The command in question enables access to the C++ compiler (puts it on the PATH or something like that). If you do it with `sudo`, it leaves you at a root shell prompt. If you then exit that root prompt, to go back to non-root, then g++ is no longer accessible. If you want to compile as non-root, then you need to do `scl` as non-root.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/compile_Linux.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/compile_Linux.md b/doc/compile_Linux.md index 6b5c819..b7104ac 100644 --- a/doc/compile_Linux.md +++ b/doc/compile_Linux.md @@ -43,7 +43,7 @@ # CentOS sudo yum install centos-release-scl epel-release sudo yum install cmake3 devtoolset-4-gcc* hwloc-devel libmicrohttpd-devel openssl-devel make - sudo scl enable devtoolset-4 bash + scl enable devtoolset-4 bash git clone https://github.com/fireice-uk/xmr-stak.git mkdir xmr-stak/build cd xmr-stak/build |