| From: | Denis Gantsev <gantsevdenis(at)gmail(dot)com> |
|---|---|
| To: | pgsql-novice(at)postgresql(dot)org |
| Subject: | psql: can't get readline support |
| Date: | 2020-03-25 21:41:35 |
| Message-ID: | CAPsvASsztP=BCXr5o30j=4TiOe1q8b-YOU45ko8m99Uvh+uBTw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
Hello psql-novice
I am trying to compile postgres with readline support, but no luck, even if
I am pretty sure I have readline available...
Stackoverflow question is here with all details
*https://stackoverflow.com/questions/60855645/psql-cant-compile-with-readline-support
<https://stackoverflow.com/questions/60855645/psql-cant-compile-with-readline-support>*
denis ~/CProjects/postgres (REL_12_STABLE) $ pkg-config --libs
readline-L/usr/local/lib -lreadline
denis ~/CProjects/postgres (REL_12_STABLE) $ pwd
/home/denis/CProjects/postgres
./configure --with-readline=yes
...
checking readline/readline.h usability... yes
...
make
sudo make install
But then when using it:
denis ~/CProjects/postgres (REL_12_STABLE) $ which
psql/home/denis/CProjects/postgres/bin/psql
denis ~/CProjects/postgres (REL_12_STABLE) $ psql -d postgres
psql (12.0)
Type "help" for help.
postgres=# \s
history is not supported by this installation
System: Linux 4.15
Readline version: 8.0
gcc (GCC) 9.2.0
Could someone kindly help?
Regards
Denis
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2020-03-25 22:12:19 | Re: psql: can't get readline support |
| Previous Message | David G. Johnston | 2020-03-25 12:58:47 | Re: Another view |