Page 1 of 2

XMR-STAK install issues.

Posted: 2018/01/16 01:38:47
by supertight
I'm running an Nvidia Geforce 1050 ti card and I'm having trouble with the last bit of the XMR-Stak install.

I can get my drivers and CUDA to install. I've successfully compiled the git clone with cmake3.
when I try to run # make install. I hit errors at about 70%.

Code: Select all

[ 67%] Built target xmr-stak-backend
[ 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

I have no clue what to do here. I've tried googling around. I've got nothing after days of trying to install.
ANY help is greatly appreciated. Thank you for reading.

Re: XMR-STAK install issues.

Posted: 2018/01/16 07:18:34
by TrevorH
cc: error trying to exec 'cc1plus': execvp: No such file or directory
yum provides '*/bin/cc1plus'

Re: XMR-STAK install issues.

Posted: 2018/01/16 13:25:20
by supertight
TrevorH wrote:
cc: error trying to exec 'cc1plus': execvp: No such file or directory
yum provides '*/bin/cc1plus'
I ran 'yum search cc1plus'

Code: Select all

yum search cc1plus
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.xmission.com
 * epel: mirrors.xmission.com
 * extras: mirror.raystedman.net
 * updates: repos.lax.quadranet.com
Warning: No matches found for: cc1plus
No matches found

Re: XMR-STAK install issues.

Posted: 2018/01/16 14:49:43
by stevemowbray
cc1plus is in the gcc-c++ package.

Re: XMR-STAK install issues.

Posted: 2018/01/16 15:39:46
by TrevorH
Why would you run a different command to the one I gave you when the one I gave you is the right one to help you solve your own issue?

Re: XMR-STAK install issues.

Posted: 2018/01/16 16:03:53
by stevemowbray
Actually that won't work as cc1plus is at /usr/libexec/gcc/x86_64-redhat-linux/4.8.2/cc1plus - the path doesn't contain bin/.

Re: XMR-STAK install issues.

Posted: 2018/01/16 16:05:39
by TrevorH
Useful, yeah, normally when I run that I miss the /bin/ bit and sort out the duplicates in the output myself...

Re: XMR-STAK install issues.

Posted: 2018/01/17 00:03:59
by supertight
TrevorH wrote:Why would you run a different command to the one I gave you when the one I gave you is the right one to help you solve your own issue?

Which command? I didn't see one in your initial reply. I apologize and appreciate all the help you have given me over the past 2 years as I learn linux. I just didn't see the command you supplied I guess. Sorry, Trevor.

Re: XMR-STAK install issues.

Posted: 2018/01/17 02:38:36
by TrevorH
yum provides '*/cc1plus'

Re: XMR-STAK install issues.

Posted: 2018/01/17 13:15:14
by supertight
TrevorH wrote:yum provides '*/cc1plus'
I'm get it now. 'yum provides' is part of the command, not commentary. lol

Thanks, Trevor. Will report later.