Two problems:
(1) I got the same problem on both my Sun/Solaris 2.6 box and my x86/linux
(Redhat 6.1) box.
I did:
gtar xzvf gdb-5.0.tar.gz
cd gdb-5.0
./configure --prefix=${HOME} --disable-nls
make
and it said something like (I've lost the actual line):
make: no rule for ../readline/libreadline.a
Easily fixed by:
( cd readline && make )
make
I don't get the problem if I omit --disable-nls.
I'm using GNU make 3.77 on both. I also have readline-4.0 installed on
both, so it probably shouldn't even bother compiling its own copy.
(2) This one is only on my Solaris box. It didn't like that libgdb.a was
built with 'ar q' -- when linking gdb, it complained about the lack of a
symbol table, I re-built libgdb.a with 'ar r', and then it worked
fine.
-- Benoit