Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for other Linux distributions/binary packages #6

Open
XZVB12 opened this issue Jan 20, 2025 · 2 comments
Open

Support for other Linux distributions/binary packages #6

XZVB12 opened this issue Jan 20, 2025 · 2 comments

Comments

@XZVB12
Copy link

XZVB12 commented Jan 20, 2025

Hello.
I tried to use your cockpit plugin on Arch Linux, but encountered dependency issues.
Problem is that the repositories lack the required libzfs package. It is also impossible to build from AUR.
As reported in this topic truenas/py-libzfs#249 it cannot be compiled with the current python version 3.13 and Cython3.
Without this component I get error messages

Image

And I can’t even get a list of pool

Image

Is it possible to publish a binary build of this plugin with dependencies now or in the future ? Or at least publish the required python libraries
This would give the ability to extract libraries and use it.
I tried to get them out of here https://packages.debian.org/sid/python3-libzfs , but the package seems too old.
Thanks.

@symo521
Copy link

symo521 commented Jan 22, 2025

Is this what you are looking for?
https://github.com/45Drives/python3-libzfs

I also want to get this working on arch so may take a look at building and see how I go

@XZVB12
Copy link
Author

XZVB12 commented Jan 22, 2025

Is this what you are looking for?

in theory yes. I tried to unpack a package from Stable Release to /usr/lib/ or /usr/lib/python3.13/site-packages/libzfs or /home/d/.local/lib/python3.13/site-packages/ This did not give any result.

Image

When trying to compile it from source, he argues that there is no zfs-header.

Image

They are in AUR, but trying to install them conflicts with zfs-dkms.
While I have no time to figure it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants