New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for DragonFly BSD x86_64 #1593
Add support for DragonFly BSD x86_64 #1593
Conversation
For the record, the main steps to build it on DragonFly are:
By the way, I've put the built native library at: https://leaf.dragonflybsd.org/~aly/java/jna/dragonflybsd-x86-64.jar Thank you. |
I was naive:
Any pointers? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First impression is good, I left two inline comments and will look some more when I can build this.
Hi @tuxillo, any ideas about this Thanks. |
b1ef244
to
923bc3a
Compare
Can you please check if you have the ca_nss_root package installed?
If it's installed, see if the cert.pem symlink is in place:
|
Ah, it seems you were making a typo in the repo config... The So the AUTO repo config should read like:
Cheers. |
If the SSL issue still exists, a workaround is to use an HTTP mirror, like the |
@liweitianux thanks for the pointers. Your pointer to check the After that the build worked surprisingly well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from a the question regarding the default include directories, I think this looks done.
There is #1587 for fixing a resource leak, which means all native libraries need to be rebuild and a request to rebuild the loongarch64 binaries for older glibc. With that wave, I'll also build the dragonfly binaries.
@liweitianux could you please add either an empty version of |
923bc3a
to
7b2a4dc
Compare
DragonFly BSD is currently x86_64 only, so don't bother with other architectures at the moment. The changes are based on the existing support for other BSDs. Enhance 'native/Makefile' to include more paths for searching for X11 headers, because the X11 header paths are different on BSDs. In addition, add the 'X11INC' variable to allow user to specify extra paths for X11 headers if really necessary. Tested on DragonFly 6.5 with OpenJDK 17.0.8 and Ant 1.10.13.
7b2a4dc
to
c9637f6
Compare
Merged to master and rebuild native libraries. Thank you. |
DragonFly BSD is currently x86_64 only, so don't bother with other
architectures at the moment.
The changes are based on the existing support for other BSDs.
Enhance
native/Makefile
to include more paths for searching for X11headers, because the X11 header paths are different on BSDs. In
addition, add the
X11INC
variable to allow user to specify extra pathsfor X11 headers if really necessary.
Tested on DragonFly 6.5 with OpenJDK 17.0.8 and Ant 1.10.13.