Closed mvz closed 5 months ago
I figured it out: I needed to install the libclang-dev
package. I've created a new issue in rb-sys
asking for better documentation on this: https://github.com/oxidize-rb/rb-sys/issues/300.
When installing the version, you shouldn't need to compile the binaries. We ought to precompile them for you, based on your OS. See https://github.com/flavorjones/ruby-c-extensions-explained#strategy-3-precompiled for what that looks like in practice (albeit for C based gems, not Rust ones, the concept is the same).
But, I am currently waiting for https://github.com/oxidize-rb/rb-sys/pull/298 to be released to ensure that every build dependency supports Ruby 3.3.
xref #270
I'm getting a failure when trying to install version 1.0.3 on Ruby 3.3.0:
I don't know if the Ruby version is relevant, since installing on older Rubies just downloads the native gem from rubygems.
I do not yet know enough about rb_sys to debug this, so any pointers to what I should try or check are appreciated.