mcgillij / amdfan

Updated AMD Fan control utility forked from amdgpu-fan and updated.
https://mcgillij.dev/pages/amdfan.html
GNU General Public License v2.0
33 stars 7 forks source link

Question: Binary not found #39

Closed nopunYntendeed closed 3 weeks ago

nopunYntendeed commented 3 weeks ago

Many thanks for the work

Hi. I am on a Debian machine trying this for the first time. With poetry, it works like a charm. The issue the binary to daemon

The build does not create a /usr/lib/amdfan although I am using the exact prefix on the install instructions. There should be a message for it here (red), correct? helpamdfan_20240817_223528

I also tried running it manually as per the README but no dice either. What am I doing wrong?

mcgillij commented 3 weeks ago

the configure script is really only to allow me to create Arch/gentoo packages, and isn't whats used to actually install the package it just generates the config files with the correct paths. You could use poetry along with the pyproject.toml to install it into a venv, you'd have to modify the .service file to point to the correct location etc afterwards.

Something like poetry install && poetry run amdfan should install it into a venv and run it for ya.

nopunYntendeed commented 3 weeks ago

Got it working. There were 2 things I was doing wrong: We need to target the folder that has pyproject.toml with -C flag

Because I had saved it under the user's home/ is not accessible to root Here is how I got it working: Screenshot_20240820_080352

Thanks and good day