Closed vorburger closed 1 year ago
Hello @vorburger! We've updated our docs for linux installation here:
Give that a try and see if it works :)
@AmeanAsad aha! So https://github.com/OCL-dev/ocl-icd was the missing secret ingredient... 😄
sudo dnf install ocl-icd-devel
(on Fedora) did the trick to fix the build error shown above!
I now have saturn-contracts --help
working, so let me close this; I'll open new issues for other problems, if any.
PS: Which GitHub repo has the sources for https://docs.saturn.tech?
When I do
cargo install --git https://github.com/filecoin-saturn/contracts cli
as per https://docs.saturn.tech/claim-your-rewards#02957f285bbb448aa2255f00f609a447 on a Fedora 37 Workstation, a bunch of system lib dependencies appear to be missing.I was able to fix the missing
libudev
by doingsudo dnf install libudev-devel
(which actually installssystemd-devel
, as per this Stack Overflow, but I am stuck with this:I tried
sudo dnf install opencl-headers opencl-filesystem opencl-utils opencl-utils-devel clinfo clpeak ocl-icd mesa-libGL mesa-libGL-devel pocl
but none of those pacakges seems to make the require OpenCL library available (on Fedora), and I'm giving up digging further into this for now.