You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is perhaps very Arch linux specific but I found i had to remove this line line in avi/install.clj to get it to install on Arch. I think this is because ncurses-dev is bundled with the normal ncurses package on Arch but I'm not sure.
The text was updated successfully, but these errors were encountered:
Hrmm. I know that I added that line to fix a build error on Ubuntu. I think the real solution is to break out the JNI stuff into a maven or autoconf-based project, but I'm pretty clueless on how to put jars with native dependencies in Maven. Let me ask on research that.
There's nar-maven-plugin. AFAICT (haven't used it) binaries are packed in JARs with platform-specific classifiers. It also generates some glue code to unpack and load the binary.
There's also the option, which I have used, of building all your binaries into a single jar and doing the unpack/load yourself. Keeping the binaries up-to-date is kind of a pain, though.
I've been thinking a bit about this, and decided to look at JNA again. It looks like a good solution because it makes all the binary packaging Somebody Else's Problem.
It seems like I can do everything needed with it. I'll have to spike it out.
This is perhaps very Arch linux specific but I found i had to remove this line line in
avi/install.clj
to get it to install on Arch. I think this is because ncurses-dev is bundled with the normal ncurses package on Arch but I'm not sure.The text was updated successfully, but these errors were encountered: