-4

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
Zanna
  • 72,312

1 Answers1

3

The correct way on installation is as follows (tested on Ubuntu 16.04 LTS and 18.04 LTS):

  1. Get all needed dependencies

    sudo apt-get install cmake build-essential git libmicrohttpd-dev \
    libssl-dev libhwloc-dev
    
  2. Clone repository

    git clone https://github.com/fireice-uk/xmr-stak.git
    
  3. Configure and compile source

    cd xmr-stak
    mkdir build
    cd build
    
    # I do not have CUDA and OpenCL-capable hardware, so I disabled them
    cmake .. -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF 
    
    make
    
  4. Install the application

    sudo make install
    
N0rbert
  • 103,263