Skip site navigation (1) Skip section navigation (2)

Re: Read line feature

From: Dorin Grunberg <dorin(at)visgen(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Read line feature
Date: 2001-04-16 20:16:04
Message-ID: 4.2.0.58.20010416150954.00ad2ee0@pophost (view raw or flat)
Thread:
Lists: pgsql-novice
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(at)visgen(dot)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


In response to

Responses

pgsql-novice by date

Next:From: Dorin GrunbergDate: 2001-04-16 20:51:03
Subject: Re: Read line feature
Previous:From: Oliver ElphickDate: 2001-04-16 19:51:32
Subject: Re: createdb problem...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group