Re: failing to compile v. 9.0.1 on debian squeeze with readline

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: failing to compile v. 9.0.1 on debian squeeze with readline
Дата
Msg-id 2140.1291589382@sss.pgh.pa.us
обсуждение исходный текст
Ответ на failing to compile v. 9.0.1 on debian squeeze with readline  (Imre Oolberg <imre@auul.pri.ee>)
Ответы Re: failing to compile v. 9.0.1 on debian squeeze with readline  (Devrim GÜNDÜZ <devrim@gunduz.org>)
Список pgsql-admin
Imre Oolberg <imre@auul.pri.ee> writes:
> $ make
> ...
> gcc -O2 -Wall -Wmissing-prototypes ...
> ...
> postmaster/postmaster.o: In function `PostmasterMain':
> postmaster.c:(.text+0x420c): undefined reference to `optreset'
> tcop/postgres.o: In function `process_postgres_switches':
> postgres.c:(.text+0x122b): undefined reference to `optreset'
> utils/misc/ps_status.o: In function `set_ps_display':
> ps_status.c:(.text+0xd6): undefined reference to `setproctitle'
> collect2: ld returned 1 exit status
> make[2]: *** [postgres] Error 1
> make[2]: Leaving directory `/opt/postgres/tmp/postgresql-9.0.1/src/backend'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/opt/postgres/tmp/postgresql-9.0.1/src'
> make: *** [all] Error 2

> A workaround seems to ./configure with '--without-readline' (and the
> above mentioned parameter values get st to 'no') but I would like to ask

Maybe you need to lobby the Debian folks to revert to a less broken
version of libreadline.  It surely has got no business exporting either
of those symbols.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: Imre Oolberg
Дата:
Сообщение: failing to compile v. 9.0.1 on debian squeeze with readline
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: failing to compile v. 9.0.1 on debian squeeze with readline