XMR-STAK install issues.

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

XMR-STAK install issues.

Post by supertight » 2018/01/16 01:38:47

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.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: XMR-STAK install issues.

Post by TrevorH » 2018/01/16 07:18:34

cc: error trying to exec 'cc1plus': execvp: No such file or directory
yum provides '*/bin/cc1plus'
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

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

Re: XMR-STAK install issues.

Post by supertight » 2018/01/16 13:25:20

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

stevemowbray
Posts: 519
Joined: 2012/06/26 14:20:47

Re: XMR-STAK install issues.

Post by stevemowbray » 2018/01/16 14:49:43

cc1plus is in the gcc-c++ package.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: XMR-STAK install issues.

Post by TrevorH » 2018/01/16 15:39:46

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?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

stevemowbray
Posts: 519
Joined: 2012/06/26 14:20:47

Re: XMR-STAK install issues.

Post by stevemowbray » 2018/01/16 16:03:53

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/.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: XMR-STAK install issues.

Post by TrevorH » 2018/01/16 16:05:39

Useful, yeah, normally when I run that I miss the /bin/ bit and sort out the duplicates in the output myself...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

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

Re: XMR-STAK install issues.

Post by supertight » 2018/01/17 00:03:59

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.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: XMR-STAK install issues.

Post by TrevorH » 2018/01/17 02:38:36

yum provides '*/cc1plus'
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

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

Re: XMR-STAK install issues.

Post by supertight » 2018/01/17 13:15:14

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.

Post Reply