firoorg / ccminer

mtp ccminer developpment
GNU General Public License v3.0
102 stars 55 forks source link

Compilation and miner working successfuly on GNU/Linux Debian10 #65

Open blackmennewstyle opened 4 years ago

blackmennewstyle commented 4 years ago

I managed to compile successfully ccminer on GNU/Linux Debian 10, using the backports cuda 10.1 driver and linux-headers-5.8.0-0.bpo.2-amd64. You don't need the official NVIDIA driver from their website, just use the latest ones in the backports repository and use also the dkms package for less hassle in the future.

However, i also needed to add one package to fix a dependency issue with openSSL, which was causing the command ./configure to fail.

That package is: libssl-dev

apt-get -y install gcc g++ build-essential automake linux-headers-$(uname -r) git gawk libcurl4-openssl-dev libssl-dev libjansson-dev xorg libc++-dev libgmp-dev python-dev

You also have a little typo in your README.md file regarding the build process: ./autogen.sh ./configure ./make

The latest command is wrong, it should be simply make

I managed to compile ccminer by the way, on a laptop which is running an annoying NVIDIA/INTEL OPTIMUS setup, so it should work properly as well, on a regular setup without that useless proprietary-licensed Nvidia blob.

Hope, that could help some people having issue with the build process.