This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Compile Kawa with readline
- From: Leo <sdl dot web at gmail dot com>
- To: kawa at sources dot redhat dot com
- Date: Fri, 29 Jul 2011 13:49:42 +0800
- Subject: Compile Kawa with readline
I compiled Kawa with readline support on OSX. The readline lib is
installed in /usr/local/unix/readline and somehow I need to modify
bin/Makefile to complete the build successfully. I wonder if there is a
bug or am I doing it wrongly?
I use:
CFLAGS='-I/usr/local/unix/readline/include' LDFLAGS='-L/usr/local/unix/readline/lib' ./configure --with-android=/Users/Shared/Development/android-sdk-mac_x86/platforms/android-13/android.jar --enable-kawa-frontend --enable-jemacs --enable-brl
================================
+++ a/bin/Makefile 2011-07-29 13:23:54.000000000 +0800
+++ b/bin/Makefile 2011-07-29 13:23:54.000000000 +0800
@@ -671,7 +671,7 @@
$(GCJ) $(AM_CFLAGS) $(CFLAGS) -o kawa-bin$(EXEEXT) --main=kawa.repl libkawa-$(libkawa_VERSION).so $(EXTRA_LIB_SERVLET) $(EXTRA_LIB_XML) $(RPATH_OPTION)
kawa$(EXEEXT): $(kawa_OBJECTS)
- $(CCLD) -o kawa$(EXEEXT) $(kawa_LDFLAGS) $(kawa_OBJECTS) $(kawa_LDADD) $(LIBS)
+ $(CCLD) -o kawa$(EXEEXT) $(LDFLAGS) $(kawa_OBJECTS) $(kawa_LDADD) $(LIBS)
cgi-servlet$(EXEEXT): $(cgi_servlet_OBJECTS)
$(CCLD) -o cgi-servlet$(EXEEXT) $(cgi_servlet_LDFLAGS) $(cgi_servlet_OBJECTS) $(LIBS)
Diff finished. Fri Jul 29 13:45:24 2011
Leo