in the libreadline-java-0.7.4/ dir make these changes to the Makefile:
The following should variables should be defined, but changes their values like so:
T_LIBS = JavaReadline #JavaEditline JAVANATINC = $(JAVA_HOME)/includeAdd the following:
JAVA_HOME = /Library/Java/HomeAnd rename the variable LD_LIBRARY_PATH to DYLD_LIBRARY_PATH (do a search to find it)
DYLD_LIBRARY_PATH=. java -jar $(JAR) src/test/tinputrcin the libreadline-java-0.7.3/src/native dir make these changes to the Makefile
LIBPATH = -L/usr/local/lib # should be where you put termcap CC = cc CFLAGS=-fno-commonAlso change this line:
$(CC) -shared org_gnu_readline_Readline.o $(LIBPATH) $($(TG)_LIBS) -o $@
to this:
$(CC) -bundle -flat_namespace -undefined suppress org_gnu_readline_Readl ine.o $(LIBPATH) $($(TG)_LIBS) -o $@
mv libJavaReadline.so libJavaReadline.dylib
./
/usr/lib
/usr/lib/java
/lib
/System/Library/Framworks/JavaVM.framework/Versions/1.3/Libraries
$Header: /home/iancooke/Docs/RCS/HT-install-java-readline-on-osx.html,v 1.5 2002/09/29 00:24:48 iancooke Exp iancooke $