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

List dependencies needed to install gems that use rb-sys in the README #300

Closed
mvz opened this issue Dec 31, 2023 · 1 comment
Closed

List dependencies needed to install gems that use rb-sys in the README #300

mvz opened this issue Dec 31, 2023 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@mvz
Copy link

mvz commented Dec 31, 2023

I just finished installing the latest commonmarker gem which uses rb-sys. This failed at first with:

thread 'main' panicked at 'generate bindings: ClangDiagnostic("/home/matijs/.rbenv/versions/3.3.0/include/ruby-3.3.0/ruby/ruby.h:23:10: fatal error: 'stdarg.h' file not found\n")', /home/matijs/.cargo/registry/src/github.com-1ecc6299db9ec823/rb-sys-0.9.85/build/main.rs:55:6

The comments in #268 suggested I maybe need (part of?) clang in addition to rust, so I installed libclang-dev as a lucky guess.

Please consider adding some guidelines on what to install in order to compile gems that use rb-sys to the README.

@mvz
Copy link
Author

mvz commented Jul 25, 2024

Thanks, @ianks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants