It'd be nice if JavaReadline had a more flexible build system, like an
autoconf-based one.
Specifically, I'd like it to build out of the box on my OS X machine.
It's a pretty normal one, as far as OS X machines go:
- GNU readline is installed in /sw/lib and /sw/include (via fink)
- Linking is done via "gcc --dylib", not "gcc -shared"
- The shared library should be installed to /Library/Java/Extensions/
libsvnjavahl.jnilib
- The jar should be installed to /Library/Java/Extensions/libreadline-
java.jar
There should probably be a note in the readme also that, on OS X, if
readline is not found (it isn't shipped for licensing reasons), a "sudo
fink install readline5" will make it go. Assuming you have fink
installed, which most people do.
Logged In: YES
user_id=38836
I have a "works for me" grade solution to this issue. It
will probably take me a couple of days more to get chance to
test it enough to submit a patch.
If you're interested: it is based on the existing makefiles
and the built in Mac OS X readline implementation (which is
actually JavaEditline, but is installed in a slightly funky
manner).
I'll send a patch to the developers and post it to this FR
in the next few days.