This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Compile Kawa with readline
On Aug 3, 2011, at 11:43 AM, Per Bothner wrote:
On 08/03/2011 05:24 AM, Leo wrote:
On 2011-08-03 15:56 +0800, Per Bothner wrote:
make READLINE_INCLUDE_PATH=-I/usr/local/unix/readline/include \
READLINE_LIB_PATH=-L/usr/local/unix/readline/lib
I.e. READLINE_LIB_PATH (with an L) rather than READINE_LIB_PATH
Thanks.
I can confirm `make' completes successfully.
Thanks - I updated the documentation sources.
(The web site will be updated at some point later.)
FYI: These paths, which are mentioned verbatim in r7034, are non-
standard.
A typical Mac OS X user will not have a /usr/local/unix/readline
directory.
It's more likely that an up-to-date readline (the OS ships with an old
one
that doesn't have libhistory, IIRC) will be installed via a package
manager
like MacPorts or Fink, and end up in /opt/local/ or /sw/ as a result.
So at
the very least, the text in the documentation should say something like:
"For example on OS X you need to do something like the following,
substituting the correct paths for your readline installation:"
For example, I've got readline from MacPorts and can build with this:
make READLINE_INCLUDE_PATH=-I/opt/local/include READLINE_LIB_PATH=-L/
opt/local/lib
(Although I typically just use ant -- which builds the Java parts much
faster, in my experience -- and don't bother with the front end.)
-Jamie
--
Jamison Hope
The PTR Group
www.theptrgroup.com