When running:
./configure --with-perl --with-includes=/usr/local/include
--with-libs=/usr/local/lib
the output is this ... same as before.
......................................
checking whether string.h and strings.h may both be included... (cached) yes
checking for readline/readline.h... (cached) yes
checking for readline/history.h... (cached) no
checking for history.h... (cached) no
......................................
The Readline is version 4.1 and this is the content of my readline directory:
-rw-r--r-- 1 root wheel 3848 Apr 16 13:32 chardefs.h
-rw-r--r-- 1 root wheel 9294 Apr 16 13:32 history.h
-rw-r--r-- 1 root wheel 3528 Apr 16 13:32 keymaps.h
-rw-r--r-- 1 root wheel 24657 Apr 16 13:32 readline.h
-rw-r--r-- 1 root wheel 2076 Apr 16 13:32 rlconf.h
-rw-r--r-- 1 root wheel 1363 Apr 16 13:32 rlstdc.h
-rw-r--r-- 1 root wheel 3180 Apr 16 13:32 tilde.h
wvgi2# pwd
/usr/local/include/readline
and history.h is there.
Dorin
At 02:55 PM 4/16/2001 -0400, Tom Lane wrote:
>Dorin Grunberg <dorin@visgen.com> writes:
> > When I am running:
> > ./configure --with-perl --with-includes=/usr/local/include/readline
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>Try just --with-includes=/usr/local/include. It shouldn't be necessary
>to point it directly at the readline subdirectory.
>
> > checking for readline/readline.h... (cached) yes
> > checking for readline/history.h... (cached) no
>
>Seems odd that you would have readline.h and not history.h. What
>version of libreadline do you have installed, anyway?
>
> regards, tom lane