Hi Alan,
I just uploaded the modified makefiles to cvs - you might want to have a try,
since I modified them extensively (now there is a var OS_FLAVOR like you
suggested: running "make world OS_FLAVOR=MAC" should do it). Please let me
know if you find some time to test it. As soon as I fix the remaining problem
with Getline, I will prepare a new release.
Thanks, Bernhard
> Hi,
>
> The attached tar.gz contains:
>
> * libreadline-java-0.8.0/Makefile
> - Changed PREFIX to /usr/local
> - Changed location of Java & JNI header files.
>
> * libreadline-java-0.8.0/src/native/Makefile.
> - Changed location of TERMCAP & GNUReadline headers & libs.
> - Changed .so extension to .jnilib (only Apple knows why they name it
> this way:-)
> - Changed the link flags for Apple.
>
> i've marked the areas i've fiddled in with '# arp'.
>
> A few potential gotchas:
> - According to Apple's docs, *.jnilib must either live in
> /Library/Java/Extensions (available system wide for all users),
> ~/Library/Java/Extension (available only for that user) or pointed to
> be DYLD_LIBRARY_PATH. i only tested the second option so can't make any
> guarantees as to the accuracy of Apple's docs :-(
>
> - i've only tried this is using GNU readline as the underlying readline
> code.
>
> BTW, it might be worthwhile defining a platform variable in the
> makefiles (.e.g. PLATFORM=linux) rather than using various
> platform-specific vars (MSC, cygwin, etc.)?
|