First I would like to say that I am new to Ubuntu and Linux.
I get an error with the make install when following the below instructions to install a Linux version of cpuminer-multi
.
make: No rule to make target 'install'. Stop.
I have placed what is in the folder that gets created when I attempt to install at the end. What am I missing?
SCRIPTS USED
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install gcc-5 g++-5 make
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1 --slave /usr/bin/g++ g++ /usr/bin/g++-5
curl -L http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xvzf - -C /tmp/## Heading ##
cd /tmp/cmake-3.4.1/ && ./configure && make && sudo make install && cd -
sudo update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force
sudo apt install libmicrohttpd-dev libssl-dev libhwloc-dev
git clone https://github.com/fireice-uk/xmr-stak.git
mkdir xmr-stak/build
cd xmr-stak/build
cmake ..
make install
FILES/FOLDERS GENERATED
build
CMakeLists.txt
doc
LICENSE
scripts
xmrstak
CI
CONTRIBUTING.md
Dockerfile
README.md
THIRD-PARTY-LICENSES
cmake
is likeconfigure
. You have to runmake
after it. – Melebius May 21 '18 at 13:14sudo make
make install
– Antonio Figueroa May 21 '18 at 13:17install
target, it typically depends on the defaultall
target and builds that first. It also wouldn't explain theNo rule to make target 'install'
error. – steeldriver May 21 '18 at 13:21sudo make
, justmake
.sudo
should be only applicable for the install phase. BTW do you have anyMakefile
? It should be generated by CMake. If not, check the CMake output for errors. @steeldriver You might be right. It looks like CMake did not finish successfully. – Melebius May 21 '18 at 13:28-DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF
to thecmake
command if these are not available on their system – steeldriver May 21 '18 at 13:33apt
like you did for the other build tools – steeldriver May 21 '18 at 13:35apt-get install cmake
. In recent Ubuntu versions, you can replace theapt-get
calls with simpleapt
. After all, APT is the name of all the complex system. – Melebius May 21 '18 at 13:39apt
when you didsudo apt install gcc-5 g++-5 make
– steeldriver May 21 '18 at 15:04