Skip to content
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

-ltinfo breaks the intall on Arch linux #12

Open
justgage opened this issue Mar 13, 2015 · 3 comments
Open

-ltinfo breaks the intall on Arch linux #12

justgage opened this issue Mar 13, 2015 · 3 comments

Comments

@justgage
Copy link

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.

@eraserhd
Copy link
Member

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.

@smmckay
Copy link

smmckay commented Dec 2, 2015

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.

@eraserhd
Copy link
Member

eraserhd commented Dec 7, 2015

@smmckay Thanks for the pointer.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants