xmr-stak-amd icon indicating copy to clipboard operation
xmr-stak-amd copied to clipboard

Archlinux dependencies

Open noraj opened this issue 6 years ago • 9 comments

Archlinux dependencies

# pacman -Syu --needed ocl-icd libmicrohttpd openssl cmake base-devel

noraj avatar Sep 18 '17 21:09 noraj

Hey thank you for posting the dependencies, now can you please post your procedure on building xmr-stak-amd. I tried running cmake in Arch but it would not find my OpenCL headers --- and I do not know how to compile it properly, please help.

ghost avatar Sep 25 '17 20:09 ghost

@eugeneccnp Sorry I just did cmake ..

noraj avatar Sep 27 '17 07:09 noraj

What Kernel, what AMD driver, what Xorg Version, and what GPU do you have if you don't mind me asking?

ghost avatar Sep 30 '17 12:09 ghost

  • Kernel 4.9.52-1, 4.12.14-1, 4.13.4-1
  • OS Manjaro
  • GPU MSI RADEON RX 480 GAMING X 8G
  • X.org X Server 1.19.3, Release date 2017-03-15, X Protocol Version 11 Revision 0
  • xf86-video-amdgpu 1.4.0-1

noraj avatar Oct 03 '17 17:10 noraj

Thank you, appreaciate it!

ghost avatar Oct 03 '17 18:10 ghost

This will do the job. OpenCL is in AUR repository.

$ sudo pacman -S xf86-video-amdgpu clinfo opencl-headers libmicrohttpd ocl-icd openssl cmake base-devel git
$ yaourt -S opencl-amd
$ git clone https://github.com/fireice-uk/xmr-stak-amd
$ cd xmr-stak-amd
$ cmake .
$ make

frankcoderL avatar Oct 07 '17 19:10 frankcoderL

I had to disable openssl in cmake (cmake . -DOpenSSL_ENABLE=OFF)

elisaado avatar Oct 17 '17 18:10 elisaado

If openssl is installed it should normally compile. Until now I had never an issue with openssl.

frankcoderL avatar Oct 18 '17 19:10 frankcoderL

I've had many problems with openssl, when building *coin wallets too, I don't know why though...

elisaado avatar Oct 19 '17 09:10 elisaado