From: | Michael Carmack <karmak(at)karmak(dot)org> |
---|---|
To: | Hadley Willan <hadley(dot)willan(at)deeper(dot)co(dot)nz> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Readline error building 7.3-2 RPM |
Date: | 2002-12-09 07:28:06 |
Message-ID: | 20021209072806.GE30122@ariel.karmak.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Hadley Willan | 2002-12-09 07:44:17 | Re: Readline error building 7.3-2 RPM |
Previous Message | Hadley Willan | 2002-12-09 07:25:31 | Readline error building 7.3-2 RPM |