On Fri, Jul 4, 2014 at 4:20 PM, y2s1982 . <[email protected]> wrote:
> That let me start compiling... and fail right away on account that
> editline/readline.h doesn't exist.
> Well, turns out, in FreeBSd,
> http://www.freebsd.org/cgi/man.cgi?query=readline&apropos=0&sektion=3&manpath=FreeBSD+10.0-RELEASE&arch=default&format=html
> the file exists in readline/readline.h
> So, I've changed system.hh by changing #include <editline/readline.h> to
> #include <readline/readline.h>
>
> That allowed me to continue further until output.cc error occurs.
I also made that change to the name of the include file, but I think
there are some differences in the function signatures that get/set the
history -- which resulted in some linking errors for undefined
symbols. What I did was simply add a line in system.hh (or
system.hh.in, depending) just before the #include to say
#undef HAVE_EDIT
This prevents the errors but also means you don't get the nice
{read,edit}line interface. But this only affects the ledger "shell"
which I never used anyway so it didn't bother me.
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.