lucasjones / cpuminer-multi

Multi-algo CPUMiner & Reference Cryptonote Miner (JSON-RPC 2.0)
Other
640 stars 1.5k forks source link

Compiling on Centos 7.4 #91

Open remotefixonline opened 6 years ago

remotefixonline commented 6 years ago

I don't have an issue, just making a note in case someone else runs into the same issues I did getting it to compile run on centos 7 had to do a little digging to get it to compile on centos 7.4 minimal if you run into issues try these.

The yum group install command wouldn't find any packages use this instead. yum --setopt=group_package_types=mandatory,default,optional groupinstall "Development Tools"

selinux was blocking some things, either fix it or disable it until you get it working edit /etc/selinux/config and set SELINUX=disabled then reboot

the configure command with * fails with "compiler cannot make executables" use this ./configure CFLAGS="-march=native" --with-crypto --with-curl