Re: Installation on CentOS 5.2 (readline trouble)

From: Carlos Moreno <morenopg(at)mochima(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Installation on CentOS 5.2 (readline trouble)
Date: 2008-10-07 14:32:45
Message-ID: 48EB730D.6040404@mochima.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
>
> libreadline depends on libtermcap in RHEL-5, but so far as I can see
> this dependency is explicit in the RPM, so it shouldn't have been
> possible to not install termcap. (However, I'm not sure just how bright
> the dependency solver was in RHEL-5 ... maybe it let you install a
> 64-bit readline but only the 32-bit version of termcap?)
>

I suspected something like that after the results of a Google
search (before posting here) --- I tried termcap-devel, and it
tells me that there's no such package; then I noticed that
there is the package termcap, and also libtermcap, with the
accompanying libtermcap-devel.

Turns out that, as Greg pointed out, it was the missing
ncurses-devel.

Strangely enough, the little dummy test program still reports
the exact same errors when compiling with -lreadline. But
PostgreSQL's configure script now runs successfully!

Thanks, and thanks Greg for the valuable tip !

Carlos
--

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2008-10-07 14:35:03 Re: postgres/postgis
Previous Message Rob Richardson 2008-10-07 14:00:03 Re: How do I save data and then raise an exception?