8000 fix: Fedora deps to build · Issue #87 · euclio/fm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: Fedora deps to build #87

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

Open
pythoninthegrass opened this issue Mar 30, 2025 · 1 comment · May be fixed by #88
Open

fix: Fedora deps to build #87

pythoninthegrass opened this issue Mar 30, 2025 · 1 comment · May be fixed by #88

Comments

@pythoninthegrass
Copy link

I'm on Fedora 42 x86_64. The readme is missing necessary dependencies to successfully build fm.

These are the truncated errors:

warning: poppler-sys-rs@0.24.0:
error: failed to run custom build command for `poppler-sys-rs v0.24.0`
warning: build failed, waiting for other jobs to finish...
warning: sourceview5-sys@0.9.0:
error: failed to run custom build command for `sourceview5-sys v0.9.0`
warning: build failed, waiting for other jobs to finish...
warning: libpanel-sys@0.5.0:
error: failed to run custom build command for `libpanel-sys v0.5.0`

I had to install the following:

sudo dnf install -y gtk4-devel libadwaita-devel libpanel-devel gtksourceview5-devel poppler-glib-devel

Then was able to run cargo build successfully 🎉

@pythoninthegrass
Copy link
Author

FWIW passing the --release flag dropped the bin by almost 100mb (106mb -> 5.9mb)

I.e., cargo build --release

@pythoninthegrass pythoninthegrass linked a pull request Mar 30, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant
0