Обсуждение: problem with compiling with readline library

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

problem with compiling with readline library

От
"Sebastian Małyska"
Дата:
Hi all

I have got a problem. I try to install postgresql ver.8.1.3. on the Debian (2.4.27-2-sparc64). I got message that readline does not found. So I downloaded readline 5.1 and instaled it. But I still can not install postgresql I recive the same message :( . I don't know what I am doing wrong. Maybe postgresql's config checkig unproper direction? So what can I do check it and change it? Direction of my readline is /usr/local/include/readline .

Thx for help
Kindly sincerely
Sebastian M

Re: problem with compiling with readline library

От
Tino Wildenhain
Дата:
Sebastian Ma?yska wrote:
> Hi all
>
> I have got a problem. I try to install postgresql ver.8.1.3. on the
> Debian (2.4.27-2-sparc64). I got message that readline does not found.
> So I downloaded readline 5.1 and instaled it. But I still can not
> install postgresql I recive the same message :( . I don't know what I am
> doing wrong. Maybe postgresql's config checkig unproper direction? So
> what can I do check it and change it? Direction of my readline is
> /usr/local/include/readline .

compiling or installing? If you install,
via apt-get install postgresql-8.1, there is no "problem with
compiling" but rather the chance of a depency problem which you
better report to the debian staff (or the package maintainer).

If you really build from source, you need the respective -dev
package of the libs postgres needs. In your case, its

libreadline5-dev - GNU readline and history libraries, development files

since the header files are needed during the linking.

Regards
Tino