Closed erickguan closed 5 months ago
Hi @erickguan, thanks for reporting the issue. Nokolexbor ships with prebuilt binaries. Your bundler should have picked this one, I wonder why it chose to compile from the source.
Meanwhile, I'll look into the compiler errors.
macOS arm devices usually marks multiple platforms. I'm not 100% sure but arm instruction sets might have differences.
Here is what Bridgetown declares:
https://github.com/bridgetownrb/bridgetown/blob/main/Gemfile.lock#L226-L230
Happy to help testing the compilation and configuration.
@erickguan I pushed a fix. Can you clone this repo, bundle install
and then bundle exec rake compile
to see if it has any errors?
@zyc9012 Everything works. I don't see any complication errors.
Released 0.5.4
Hi,
Thanks for building the library. When I tried to build Bridgetown to fix an issue https://github.com/bridgetownrb/bridgetown/issues/852, bundle tried to install and compile nokolexbor.
My compiler is XCode's clang on macOS 14.4.1 (arm).
I skimmed through the code and the compiler complained about a few type signature problems.
I understand that clang can be more strict in implicit type conversions. Making explicit type conversations would help macOS users a bit more.
Details: