Open tod-yangyd opened 3 years ago
unfortunately, sparcv9
platform isn't supported
could you help us to add missing bits, since you have access to the platform?
we need a new variant for sparcv9 https://github.com/jnr/jnr-posix/blob/master/src/main/java/jnr/posix/SolarisPOSIX.java#L21 take a look at Linux variant for inspiration https://github.com/jnr/jnr-posix/blob/master/src/main/java/jnr/posix/LinuxPOSIX.java#L47
and constants should be also generated https://github.com/jnr/jnr-constants
Although I have access to this version of Solaris, but I'm sorry, I can't help you with add missing bits because I'm not good at development.....T_T If there is anything else I can help, please let me know... Thank you for your answer!
feel free to ask on https://app.element.io/#/room/#jruby:matrix.org for guidance
it shouldn't be hard to support it. Does CRuby work?
could you clone https://github.com/jnr/jnr-constants run rake generate:platform
and send us generated files?
the second change is about fixing the struct layout for your platform https://github.com/jnr/jnr-posix/pull/168/files it should be based on these files
/usr/include/sys/stat.h
/usr/include/sys/types.h
I found that jruby had incompatible problems running on solaris 10. I've seen people find solutions to the same problems as ubuntu, but they don't apply to the solaris version. The error is shown below.
Environment Information
Expected Behavior