Readline error building 7.3-2 RPM

Started by Hadley Willanover 23 years ago3 messagesgeneral
Jump to latest
#1Hadley Willan
hadley.willan@deeper.co.nz

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.

Thank you.
--
Hadley Willan > Systems Development > Deeper Design Limited.
hadley@deeper.co.nz > www.deeperdesign.com > +64 (21) 28 41 463
Level 1, 4 Tamamutu St, PO Box 90, TAUPO 2730, New Zealand.

#2Michael Carmack
karmak@karmak.org
In reply to: Hadley Willan (#1)
Re: Readline error building 7.3-2 RPM

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

#3Hadley Willan
hadley.willan@deeper.co.nz
In reply to: Michael Carmack (#2)
Re: Readline error building 7.3-2 RPM

Ah ha. Thanks for that. I discovered this not long after posting the
message. duh! ;-)

I had ncurses installed, but not ncurses-devel. Which after installing
allowed the build to proceed okay.

Perhaps it would be wise ncurses-devel to the build pre-reqs of the RPM.

Thanks for your quick reply.

Hadley.

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

--
Hadley Willan > Systems Development > Deeper Design Limited.
hadley@deeper.co.nz > www.deeperdesign.com > +64 (21) 28 41 463
Level 1, 4 Tamamutu St, PO Box 90, TAUPO 2730, New Zealand.