Re: Readline error building 7.3-2 RPM

Поиск
Список
Период
Сортировка
От Michael Carmack
Тема Re: Readline error building 7.3-2 RPM
Дата
Msg-id 20021209072806.GE30122@ariel.karmak.org
обсуждение исходный текст
Ответ на Readline error building 7.3-2 RPM  (Hadley Willan <hadley.willan@deeper.co.nz>)
Ответы Re: Readline error building 7.3-2 RPM  (Hadley Willan <hadley.willan@deeper.co.nz>)
Список pgsql-general
On Mon, Dec 09, 2002 at 08:25:31PM +1300, Hadley Willan wrote:
> Hi,
>   Does anybody know what this unusual error from the src.rpm build mean?
> It's bailing at the readline check and inclusion.
>
> I'm running readline/readline-devel 4.2a-4. In fact, I've just
> reinstalled my system today, and thought now would be a good time to
> goto Postgresql 7.3.
> I'm running RH Linux 7.3, Kernel 2.4.18-18.7.x, and haven't really done
> anything particularly unusual.
> >>
> configure:5837: gcc -o conftest -O2 -march=i386 -mcpu=i686
> -I/usr/kerberos/include   -L/usr/kerberos/lib conftest.c -lreadline
> -lcrypt -lresolv -lnsl -ldl -lm -lbsd  >&5
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so:
> undefined reference to `tgetnum'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so:
> undefined reference to `tgoto'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so:
> undefined reference to `tgetflag'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so:
> undefined reference to `BC'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so:
> undefined reference to `tputs'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so:
> undefined reference to `PC'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so:
> undefined reference to `tgetent'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so:
> undefined reference to `UP'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libreadline.so:
> undefined reference to `tgetstr'
>
> Other than doing a rebuild with --without-readline. I was hoping
> somebody might give me a pointer.

It's not pickup up the ncurses stuff. This should have been taken
care of during configure, but you can probably force it to work
if you get -lncurses, -L/path/to/ncurses/libs and
-I/path/to/ncurses/headers in there.

m.

d

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

Предыдущее
От: Hadley Willan
Дата:
Сообщение: Readline error building 7.3-2 RPM
Следующее
От: Hadley Willan
Дата:
Сообщение: Re: Readline error building 7.3-2 RPM