[Box Backup-dev] Building in readline support
Martin Ebourne
boxbackup-dev@fluffy.co.uk
Mon, 26 Dec 2005 00:53:01 +0000
On Sat, 2005-12-24 at 23:30 +0000, James O'Gorman wrote:
> On 24/12/05 23:08, Martin Ebourne wrote:
> > If you're on bsd I would expect you've got libedit or libeditline >
> available. These should be drop in replacements for readline (but >
> without the licensing problems) and the build system should >
> automatically pick them up. If it doesn't then send the config.log
> output.
>
> There does seem to be a libedit, yes. Not quite sure if it was
> detected, though. I've attached the config.log.
I've now installed libedit on my machine (linux) and box detected that
and worked perfectly straight away. I'm using the version 2.9 from here
(which is derived from NetBSD):
http://www.thrysoee.dk/editline/
So we need to work out why it didn't like your libedit. The problem
appears to be a missing 'readline' function definition in the .so. Could
you 'nm -D' libedit.so and paste the output. Also check you've got the
header files etc. The full list of none documentation libedit files from
my system is:
/usr/include/editline
/usr/include/editline/readline.h
/usr/include/histedit.h
/usr/lib64/libedit.la
/usr/lib64/libedit.so
/usr/lib64/libedit.so.0
/usr/lib64/libedit.so.0.0.14
Cheers,
Martin.