Thread: readline support

readline support

From
Marcin Mazurek
Date:
Hi,
simple/stupid question, but can't figureout it myself:
Why can't it find radline headers files if they really are there?
pg7.0.2, Linux Debian 2.2
mtldb:/usr/local/src/postgresql-7.0.2/src# ./configure
--with-includes=/usr/include/readline  | grep readline
- setting CPPFLAGS=  -I/usr/include/readline
checking for main in -lreadline... (cached) no
checking for using_history in -lreadline... (cached) no
checking for readline.h... (cached) no
checking for readline/history.h... (cached) no
checking for readline/readline.h... (cached) no

mtldb:/usr/local/src/postgresql-7.0.2/src# ls /usr/include/readline
chardefs.h  history.h  keymaps.h  readline.h  rlconf.h  rlstdc.h  tilde.h
mtldb:/usr/local/src/postgresql-7.0.2/src#

tia
mazek

Marcin Mazurek

--
Kierownik Działu Systemowego
MULTINET SA o/Poznan
http://www.multinet.pl/

Re: readline support

From
Peter Eisentraut
Date:
Marcin Mazurek writes:

> Hi,
> simple/stupid question, but can't figureout it myself:
> Why can't it find radline headers files if they really are there?
> pg7.0.2, Linux Debian 2.2
> mtldb:/usr/local/src/postgresql-7.0.2/src# ./configure
> --with-includes=/usr/include/readline  | grep readline
> - setting CPPFLAGS=  -I/usr/include/readline
> checking for main in -lreadline... (cached) no
> checking for using_history in -lreadline... (cached) no
> checking for readline.h... (cached) no
> checking for readline/history.h... (cached) no
> checking for readline/readline.h... (cached) no

Remove the config.cache file before running configure.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


Re: readline support

From
Bogdan Paduraru
Date:
Remove the config.cache  and after that runn configure!

Marcin Mazurek wrote:

> Hi,
> simple/stupid question, but can't figureout it myself:
> Why can't it find radline headers files if they really are there?
> pg7.0.2, Linux Debian 2.2
> mtldb:/usr/local/src/postgresql-7.0.2/src# ./configure
> --with-includes=/usr/include/readline  | grep readline
> - setting CPPFLAGS=  -I/usr/include/readline
> checking for main in -lreadline... (cached) no
> checking for using_history in -lreadline... (cached) no
> checking for readline.h... (cached) no
> checking for readline/history.h... (cached) no
> checking for readline/readline.h... (cached) no
>
> mtldb:/usr/local/src/postgresql-7.0.2/src# ls /usr/include/readline
> chardefs.h  history.h  keymaps.h  readline.h  rlconf.h  rlstdc.h  tilde.h
> mtldb:/usr/local/src/postgresql-7.0.2/src#
>
> tia
> mazek
>
> Marcin Mazurek
>
> --
> Kierownik Działu Systemowego
> MULTINET SA o/Poznan
> http://www.multinet.pl/