Обсуждение: Installation Postgres 8.1.3 on Linux Suse 9.1

Поиск
Список
Период
Сортировка

Installation Postgres 8.1.3 on Linux Suse 9.1

От
"Moritz Bayer"
Дата:
Hello list,
 
I've got a problem installing postgres on my Linux machine. The Linux Version is Suse 9.1 and had a 7.4 postgres-version installed. Now I wanted to update to 8.1.3 using the source files, when I run into the following problem after using the ./configure - command.
The running of the script failed saying I have to get "readline" on my system working. Well, "readline" is already installed, in Version 4.3. There are new Versions out (5), but not for Suse 9.1. So I don't know what to do now. I know that I can run the configure-script with the option without-readline, but before I do so I would like to know what readline is for and - if I run installation without readline -, what features won't work on my database server.
 
So please list, make me a little smarter!
Thanks in advance,
Moritz  

Re: Installation Postgres 8.1.3 on Linux Suse 9.1

От
"Hakan Kocaman"
Дата:
Hi,
 
as far as i know , readline is only needed for the hstory in psql.
Ther is no impact on any feature of the server.
 
Best regards
 
 

Hakan Kocaman
Software-Development

digame.de GmbH
Richard-Byrd-Str. 4-8
50829 Köln

Tel.: +49 (0) 221 59 68 88 31
Fax: +49 (0) 221 59 68 88 98
Email: hakan.kocaman@digame.de

-----Original Message-----
From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Moritz Bayer
Sent: Wednesday, February 22, 2006 10:43 AM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] Installation Postgres 8.1.3 on Linux Suse 9.1

Hello list,
 
I've got a problem installing postgres on my Linux machine. The Linux Version is Suse 9.1 and had a 7.4 postgres-version installed. Now I wanted to update to 8.1.3 using the source files, when I run into the following problem after using the ./configure - command.
The running of the script failed saying I have to get "readline" on my system working. Well, "readline" is already installed, in Version 4.3. There are new Versions out (5), but not for Suse 9.1. So I don't know what to do now. I know that I can run the configure-script with the option without-readline, but before I do so I would like to know what readline is for and - if I run installation without readline -, what features won't work on my database server.
 
So please list, make me a little smarter!
Thanks in advance,
Moritz  

Re: Installation Postgres 8.1.3 on Linux Suse 9.1

От
Andy Shellam
Дата:
You also need termcap (or another terminal emulator) to get readline working with PostgreSQL.  If you need I can send you termcap 1.3.1 (the latest as far as I know.)

If however you don't want command string support, you can add --without-readline to the configure command.

As far as I know readline support is mainly for command string (so you can see what queries are being run on the server etc) and for the psql client, so you can use command history etc.

Also you can get readline 5.0 source code and compile it on your system - I can also send this to you if necessary, just takes about a minute to compile depending on your system spec.

Regards

Andy

Moritz Bayer wrote:
Hello list,
 
I've got a problem installing postgres on my Linux machine. The Linux Version is Suse 9.1 and had a 7.4 postgres-version installed. Now I wanted to update to 8.1.3 using the source files, when I run into the following problem after using the ./configure - command.
The running of the script failed saying I have to get "readline" on my system working. Well, "readline" is already installed, in Version 4.3. There are new Versions out (5), but not for Suse 9.1. So I don't know what to do now. I know that I can run the configure-script with the option without-readline, but before I do so I would like to know what readline is for and - if I run installation without readline -, what features won't work on my database server.
 
So please list, make me a little smarter!
Thanks in advance,
Moritz  
!DSPAM:43fc3360296741875717849!


--
the mail network - an alternative in a standardised worldAndy Shellam
the mail network (Server Support)

0 845 838 0879  Phone
www.mailnetwork.co.uk  Web
andy.shellam@mailnetwork.co.uk  E-mail

Вложения

Re: Installation Postgres 8.1.3 on Linux Suse 9.1

От
Peter Eisentraut
Дата:
Am Mittwoch, 22. Februar 2006 10:42 schrieb Moritz Bayer:
> The running of the script failed saying I have to get "readline" on my
> system working. Well, "readline" is already installed, in Version 4.3.

Install the package readline-devel.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

Re: Installation Postgres 8.1.3 on Linux Suse 9.1

От
Andy Shellam
Дата:
Hi moritz,

termcap seems stable at 1.3.1 (it hasn't been updated since 2002 so chances are it wont be again.)
readline is now up to 5.1 - I've updated the 5.0 library on my server and all seems OK.

Termcap you can get from: ftp://prep.ai.mit.edu/pub/gnu/termcap/termcap-1.3.1.tar.gz
(cd into your /tmp folder and do wget ftp://prep.ai.mit.edu/pub/gnu/termcap/termcap-1.3.1.tar.gz)

For readline 5.1 do:
wget ftp://ftp.cwru.edu/pub/bash/readline-5.1.tar.gz

Then if you un-tar each of the above 2 files, cd into readline-5.1 and termcap-1.3.1 respectively and in each one do:

./configure && make && make install

Then try re-configuring pgSQL 8.1.3.

Regards

Andy