-
Notifications
You must be signed in to change notification settings - Fork 6
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
Unable to install on Debian 12 #93
Comments
I'm not much of a Microsoft fan, but I think getting The linux-install.sh script would still need to be updated, perhaps by looking at the output of |
I think that we don't want to support the many varied versions of libc. I think the better solution here is to improve the documentation on how to build from scratch for people on systems we don't support. |
this is a sub issue of #29 |
This issue of releases not supporting Debian seems like it is orthogonal to improving the documentation. Asking people to set up an entire rust development environment is a lot to ask, let alone to ask it of journalists and activists. Maybe we can find some way we can make this easier for people to use, particularly those who are not developers. Would you be willing to add If not, would you be willing to add If not, would you accept a pull request that compiles a version of If neither of those are acceptable, would you be willing to switch to binaries that work on Debian, which is reportedly more popular the Ubuntu? |
I think adding the static compilation flag to serial or switching to MUSL would be the ideal solution here as it would make Serial more portablle and robust in line with my goals for #88 . It would also increase the number of systems we support installing on. So yes, that would be my ideal solution. |
Static compilation using glibc results in an executable that can't run (tested on Debian 12 and 13). I didn't do a deep dive into why since the musl route is probably going to be better. Static compilation using musl is something I'm still working on and am trying to collaborate with developers of rusb and udev-rs. Hopefully someone who is familiar with rust can help out on this one (I'm just a hacker, I don't actually know Rust) |
ohh right the rusb dependency might make this hard actually, I forgot about that!
Cooper Quintin
Senior Staff Technologist
EFF.org is member supported. Join today!<https://www.eff.org/donate>
Signal: hunter.02
Find me on bluesky @cooperq.com or @***@***.*** exchange on mastodon
…________________________________
From: Adam ***@***.***>
Sent: Thursday, January 30, 2025 2:38 PM
To: EFForg/rayhunter ***@***.***>
Cc: Cooper Quintin ***@***.***>; Assign ***@***.***>
Subject: Re: [EFForg/rayhunter] Unable to install on Debian 12 (Issue #93)
Static compilation using glibc results in an executable that can't run (tested on Debian 12 and 13). I didn't do a deep dive into why since the musl route is probably going to be better.
Static compilation using musl is something I'm still working on and am trying to collaborate with developers of rusb and udev-rs. Hopefully someone who is familiar with rust can help out on this one (I'm just a hacker, I don't actually know Rust)
—
Reply to this email directly, view it on GitHub<#93 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAAP3VNYHTAS645TAQHBKVT2NKSVXAVCNFSM6AAAAABVOH5G4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRVG42DGNZXGY>.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
Problem
When running ./install-linux.sh on Debian 12, the
serial
program failed to run due to a linking error.Solution
Include a version of
serial
with the release package that will work with Debian 12 (and other distros with the same version of GLIBC).Workaround
Compile serial from source and use the resulting executable.
The text was updated successfully, but these errors were encountered: