XMR-STAK install issues.

Issues related to applications and software problems
supertight
Posts: 149
Joined: 2017/02/07 21:47:51

Re: XMR-STAK install issues.

Postby supertight » 2018/01/17 13:31:59

TrevorH wrote:yum provides '*/cc1plus'


This brakes it.
Now cmake3 to compile errors out on start.


Code: Select all

[root@localhost xmr-stak]# cmake3 .
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:1 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/home/xmr-stak/CMakeFiles/CMakeOutput.log".
See also "/home/xmr-stak/CMakeFiles/CMakeError.log".

User avatar
TrevorH
Forum Moderator
Posts: 21730
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: XMR-STAK install issues.

Postby TrevorH » 2018/01/17 13:36:34

Try setting that

export CMAKE_CXX_COMPILER=/usr/bin/cmake3
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

supertight
Posts: 149
Joined: 2017/02/07 21:47:51

Re: XMR-STAK install issues.

Postby supertight » 2018/01/19 13:22:06

TrevorH wrote:Try setting that

export CMAKE_CXX_COMPILER=/usr/bin/cmake3



Stall out at %70 again.

Code: Select all

[ 70%] Building NVCC (Device) object CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/xmrstak_cuda_backend_generated_cuda_extra.cu.o
cc: error trying to exec 'cc1plus': execvp: No such file or directory
CMake Error at xmrstak_cuda_backend_generated_cuda_extra.cu.o.Release.cmake:207 (message):
  Error generating
  /home/xmr-stak/CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/./xmrstak_cuda_backend_generated_cuda_extra.cu.o


make[2]: *** [CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/xmrstak_cuda_backend_generated_cuda_extra.cu.o] Error 1
make[1]: *** [CMakeFiles/xmrstak_cuda_backend.dir/all] Error 2
make: *** [all] Error 2

User avatar
TrevorH
Forum Moderator
Posts: 21730
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: XMR-STAK install issues.

Postby TrevorH » 2018/01/19 13:33:33

cc: error trying to exec 'cc1plus': execvp: No such file or directory


So you still didn't yum install the package that yum provides '*/cc1plus' says you should?
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

supertight
Posts: 149
Joined: 2017/02/07 21:47:51

Re: XMR-STAK install issues.

Postby supertight » 2018/01/20 02:21:50

TrevorH wrote:
cc: error trying to exec 'cc1plus': execvp: No such file or directory


So you still didn't yum install the package that yum provides '*/cc1plus' says you should?


I did sir. I also found the problem. I deleted the files from the failed install and bingo.

Thank you, TrevorH. Do you have a Monero public address? I would like to donate.