Обсуждение: Problem with installing Postgres 8.0 on Mandrake 10

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

Problem with installing Postgres 8.0 on Mandrake 10

От
Kaloyan Iliev Iliev
Дата:
Hello,
 I have a little problem. I suppose that this question is stupid but...
When I start the configure it gave me the following error:

checking for shmget in -lcygipc... no
checking for readline... no
configure: error: readline library not found
If you have readline already installed, see config.log for details on the
failure.  It is possible the compiler isn't looking in the proper directory.
Use --without-readline  to disable readline support.

So when I start it with --without-readline it goes all fine but psql
works terrible.
I have postgres 7.4 istalled corectly, so I suppose I have this library.

Any ideas what the problem could be.
 Kaloyan

Re: Problem with installing Postgres 8.0 on Mandrake 10

От
Oliver Elphick
Дата:
On Wed, 2004-08-18 at 18:56, Kaloyan Iliev Iliev wrote:
> Hello,
>  I have a little problem. I suppose that this question is stupid but...
> When I start the configure it gave me the following error:
>
> checking for shmget in -lcygipc... no
> checking for readline... no
> configure: error: readline library not found
> If you have readline already installed, see config.log for details on the
> failure.  It is possible the compiler isn't looking in the proper directory.
> Use --without-readline  to disable readline support.
>
> So when I start it with --without-readline it goes all fine but psql
> works terrible.
> I have postgres 7.4 istalled corectly, so I suppose I have this library.
>
> Any ideas what the problem could be.

readline is not part of postgresql but a separate library; find it and
install it.  If you are using a distribution you may have the shared
library installed but you need to install its development package as
well.

Since you don't say what system or distribution you are using, we can't
say where to look for it.

--
Oliver Elphick                                          olly@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
                 ========================================
     "For every one that asketh receiveth; and he that
      seeketh findeth; and to him that knocketh it shall be
      opened."                         Luke 11:10


Re: Problem with installing Postgres 8.0 on Mandrake 10

От
Arthur van Dorp
Дата:
 > readline is not part of postgresql but a separate library; find it and
 > install it.  If you are using a distribution you may have the shared
 > library installed but you need to install its development package as
 > well.

Use whatever program Mandrake offers to install software. Look for a
readline package and install it. The compiled readline program is
probably already installed, you need a development package with the
source code or at least the appropriate headers. Under SuSE the
development packages (which you need here) are called <package>-devel.
It's probably something similar for Mandrake.

 > Since you don't say what system or distribution you are using, we can't
 > say where to look for it.

Well, it says Mandrake 10 in the subject. ;)

Arthur