Closed mvz closed 1 month ago
I just finished installing the latest commonmarker gem which uses rb-sys. This failed at first with:
commonmarker
rb-sys
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.
libclang-dev
Please consider adding some guidelines on what to install in order to compile gems that use rb-sys to the README.
Thanks, @ianks!
I just finished installing the latest
commonmarker
gem which usesrb-sys
. This failed at first with: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.