kou commented on issue #15279:
URL: https://github.com/apache/arrow/issues/15279#issuecomment-1378319602

   > we actually had an issue with red-parquet because the dependency check 
Rakefile [looks up the major/minor/micro version in 
pkg-config](https://github.com/apache/arrow/blob/master/ruby/red-parquet/dependency-check/Rakefile)
 and gem 10.0.0 won't find 10.0.1
   
   It's strange. `PKGConfig.check_version?("parquet-glib", 10, 0, 0)` must be 
`true` with `parquet-glib.pc` 10.0.1.
   See also: 
https://github.com/ruby-gnome/pkg-config/blob/master/lib/pkg-config.rb#L627-L630
   
   Could you try `PATH=$(brew --prefix [email protected])/bin:$PATH ruby -r pkg-config 
-e 'p PKGConfig.check_version?("parquet-glib", 10, 0, 0)'?
   
   For `register`, it's a Ruby problem not red-*. `register` is removed since 
Ruby 2.7. Ruby 2.6 is EOL. I recommend that you use Ruby 3.0 or later. (Ruby 
2.7 will reach EOL soon.)
   
   Workaround: `PATH=/tmp/local/bin:$(brew --prefix [email protected])/bin:$PATH gem 
install red-arrow -- --with-cxxflags="-Wno-register"`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to