Package Details: sgminer 5.6.1-1

Git Clone URL: https://aur.archlinux.org/sgminer.git (read-only)
Package Base: sgminer
Description: A multi-threaded multi-pool GPU miner for scrypt-based coins.
Upstream URL: https://github.com/nicehash/sgminer/
Keywords: crypto miner multipool
Licenses: GPL3
Conflicts: sgminer-gm
Provides: sgminer
Submitter: blackleg
Maintainer: None
Last Packager: TheGoliath
Votes: 1
Popularity: 0.000000
First Submitted: 2015-09-05 00:12
Last Updated: 2018-02-06 17:52

Latest Comments

1 2 Next › Last »

ILMostro7 commented on 2018-10-19 03:02

This fails if "jansson" is already installed on the system. The configure script doesn't appear to have an option to work around this easily. The PKGBUILD does not take this into account either.

error: failed to commit transaction (conflicting files)
sgminer: /usr/include/jansson.h exists in filesystem (owned by jansson)
sgminer: /usr/include/jansson_config.h exists in filesystem (owned by jansson)
sgminer: /usr/lib/libjansson.so exists in filesystem (owned by jansson)
sgminer: /usr/lib/libjansson.so.4 exists in filesystem (owned by jansson)
sgminer: /usr/lib/pkgconfig/jansson.pc exists in filesystem (owned by jansson)
Errors occurred, no packages were upgraded.
==> WARNING: Failed to install built package(s).

wincraft71 commented on 2018-02-06 03:43

Assuming you have the necessary packages (wget, unzip, opencl-headers, opencl-catalyst, ocl-icd, base-devel, headers package for your kernel), what worked for me was getting the files directly:

  1. Download the latest .bz2 for either "32-bit Linux or 64-bit Linux" from https://developer.amd.com/amd-accelerated-parallel-processing-app-sdk/

  2. Move it to your desired directory for unpacking.

  3. tar xvjf the .bz2 file and run the installer .sh as root.

  4. reboot your system.

  5. Download the latest .zip from https://developer.amd.com/display-library-adl-sdk/

  6. Move it to your desired directory and unzip it. We will refer to the folder as 'folder/ADL_SDK'.

  7. cd into your desired directory first.

  8. git clone https://github.com/sgminer-dev/sgminer

  9. Edit replace all files in the 'sgminer/algorithm' folder: "sed -i 's/^inline //g' sgminer/algorithm/*"

  10. cp the files from your 'folder/ADL_SDK/include' folder into 'sigminer/ADL_SDK'

  11. cd into the 'sigminer' folder.

  12. git submodule init

  13. git submodule update

  14. autoreconf -i

  15. CFLAGS="-O2 -Wall -march=native -std=gnu99" ./configure

  16. make && make install

sum01 commented on 2018-02-05 23:09

Consider changing to nicehash's sgminer? https://github.com/nicehash/sgminer

sgminer-dev hasn't had a release since 2015, but nicehash still patches theirs.

Also, I think opencl-mesa as an optdepend instead of catalyst would be good, unless it doesn't work?

jDally987 commented on 2017-10-29 03:26

I used noraj's suggestion of changing url= to the sgminer-dev github; and also changed libcl in the PKGBUILD to ocl-icd. Get this error trying to build:

make all-recursive
make[1]: Entering directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1'
Making all in lib
make[2]: Entering directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/lib'
GEN arg-nonnull.h
GEN c++defs.h
GEN warn-on-use.h
GEN signal.h
GEN string.h
make all-recursive
make[3]: Entering directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/lib'
make[4]: Entering directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/lib'
CC dummy.o
AR libgnu.a
ar: `u' modifier ignored since `D' is the default (see `U')
make[4]: Leaving directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/lib'
make[3]: Leaving directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/lib'
make[2]: Leaving directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/lib'
Making all in submodules
make[2]: Entering directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/submodules'
Making all in jansson
make[3]: Entering directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/submodules/jansson'
make[3]: *** No rule to make target 'all'. Stop.
make[3]: Leaving directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/submodules/jansson'
make[2]: *** [Makefile:512: all-recursive] Error 1
make[2]: Leaving directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1/submodules'
make[1]: *** [Makefile:1402: all-recursive] Error 1
make[1]: Leaving directory '/home/john/Downloads/sgminer/sgminer/src/sgminer-5.1.1'
make: *** [Makefile:629: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

noraj commented on 2017-07-11 10:08

When wanting to keep ocl-icd (libcl) build fails:

==> Install or build missing dependencies for sgminer:
resolving dependencies...
looking for conflicting packages...
:: opencl-catalyst and ocl-icd are in conflict (libcl). Remove ocl-icd? [y/N] N
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: opencl-catalyst and ocl-icd are in conflict

noraj commented on 2017-07-11 10:02

In PKGBUILD, change url="https://github.com/veox/sgminer" to url="https://github.com/sgminer-dev/sgminer"

Anonymous comment on 2017-06-13 19:11

Muelso reporting a known issue is not "out of date" there is no newer version of this package. Use the features of the AUR appropriately.

Anonymous comment on 2017-04-25 10:40

This is the new lib i'll replace libcl with "ocl-icd"

Anonymous comment on 2017-04-25 07:00

EDIT: Not renamed, totally new package but provides the same dependency

Anonymous comment on 2017-04-25 06:42

First issue, libcl was renamed to ocl-icd AFAIK. I'll fix that first.