On 25/12/22 13:30, Vinay wrote:
for oj-introspect required the following header files oj.h, cache8.h, rxclass.h , parser.h , buf.h , usual.hQuoting terceiro's reply here "I think using a ruby version-specific path is the right directory to use. You won't be able to build something against nokogiri and use it with a given Ruby version before nokogiri itself is available for that version" sed 's/nokogiri/oj/g' I think this makes sense so we should install the header files in /usr/include/ruby-<ver>/vendor_ruby [1] - https://lists.debian.org/debian-ruby/2021/09/msg00022.htmlafter adding all the header files under vendor_ruby (using vendorhdrdir) couldn't find cache8.h,rxclass,h ...
Sorry i had some local problem, adding all the files under the directory vendor_ruby/ worked (:
Thanks ,will update the package and send the RFS.
or adding only oj.h under /usr/include/x86_64-linux-gnu/ruby-3.1.0/vendor_ruby/and other files under /usr/include works ?