Specifying 

    --with-readline=/opt/local 

fills up the READLINE_LIBS and INCS, and adds #define HAVE_LIBREADLINE 1, as expected

However, some other build issues rear there heads which I need to solve now.

Thanks,
- m.



On Thu, Nov 29, 2012 at 1:11 PM, Masood Mortazavi <masoodmortazavi@gmail.com> wrote:
On Wed, Nov 28, 2012 at 11:10 PM, Stefan Manegold <Stefan.Manegold@cwi.nl> wrote:
What does

grep -i readline <BUILDDIR>/config.*

say?


config.log:configure:18493: checking readline/readline.h usability
config.log:configure:18493: checking readline/readline.h presence
config.log:configure:18493: checking for readline/readline.h
config.log:configure:18495: checking for readline in -lreadline
config.log:configure:18520: gcc -o conftest  -g    conftest.c -lreadline    >&5
config.log:configure:18631: checking for rl_completion_matches in -lreadline
config.log:configure:18656: gcc -o conftest  -g    conftest.c -lreadline  -lreadline   >&5
config.log:| #include <readline/readline.h>
config.log:ac_cv_header_readline_readline_h=yes
config.log:ac_cv_lib_readline_readline=yes
config.log:ac_cv_lib_readline_rl_completion_matches=yes
config.log:READLINE_INCS=''
config.log:READLINE_LIBS=''
config.status:S["READLINE_INCS"]=""
config.status:S["READLINE_LIBS"]=""

 


----- Original Message -----
> On my system, with default (no argument or options) configure, make
> and
> make install, I have:
>
> masood$ mclient --version
> mclient, the MonetDB interactive terminal (unreleased)
> character encoding: UTF-8
>
>
> despite the fact that readline (headers and libraries) seem to be
> installed
> under /opt/local.
>
> Thanks,
> - m.
>
>
>
> On Wed, Nov 28, 2012 at 4:44 AM, Fabian Groffen <fabian@monetdb.org>
> wrote:
>
> > On 26-11-2012 08:40:41 +0100, Masood Mortazavi wrote:
> > > It seems "readline" isn't linked in the Mac build and
> > > installation.
> > >
> > > Configure or package repository don't indicate any issues, and
> > > yet
> > history
> > > completions fail on mclient's sql prompt.
> >
> > fabian% scanmacho --needed install/bin/mclient |grep readline
> > x86_64 MH_EXECUTE
> >
> > /Volumes/scratch/monet/GNU-Darwin-x86_64-propcheck-8324309eddfb-Oct2012/install/lib/libmapi.6.dylib,/Volumes/scratch/monet/GNU-Darwin-x86_64-propcheck-8324309eddfb-Oct2012/install/lib/libstream.3.dylib,/Volumes/scratch/gentoo/x86_64/lib/libz.1.dylib,/Volumes/scratch/gentoo/x86_64/lib/libbz2.1.dylib,/Volumes/scratch/gentoo/x86_64/usr/lib/libssl.1.0.0.dylib,/Volumes/scratch/gentoo/x86_64/usr/lib/libcrypto.1.0.0.dylib,/Volumes/scratch/gentoo/x86_64/lib/libreadline.6.dylib,/Volumes/scratch/gentoo/x86_64/usr/lib/libcurl.4.dylib,/Volumes/scratch/gentoo/x86_64/lib/libiconv.2.dylib,/Volumes/scratch/gentoo/x86_64/usr/lib/gcc/x86_64-apple-darwin9/4.2.1/libgcc_s.1.dylib,/usr/lib/libSystem.B.dylib
> > install/bin/mclient
> > fabian% ./install/bin/mclient --version
> > mclient, the MonetDB interactive terminal (Oct2012-8324309eddfb)
> > support for command-line editing compiled-in
> > character encoding: UTF-8
> >
> > Seems to be working fine for me?
> >
> > Fabian
> >
> >
> > --
> > Fabian Groffen                              fabian@monetdb.org
> > column-store pioneer               http://www.monetdb.org/Home