This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error while "make all": "make[2]: *** No rule to make target `/libreadline.a', needed by `gdb'. Stop."


David Fernandez wrote, On 05/25/2012 06:10 PM:
Hi Keith,

On Fri, May 25, 2012 at 12:10 AM, Keith Seitz<keiths@redhat.com> wrote:
On 05/24/2012 03:45 PM, David Fernandez wrote:

I get the sources by doing:
yumdownloader --source insight
rpm -i insight-7.4.50-1.20120403cvs.fc16.src.rpm
cd ~/rpmbuild/SPECS; rpmbuild -bp insight.spec
cd ~/rpmbuild/BUILDROOT/arm-eabi/insight-7.4.50

Actually cd ~/rpmbuild/BUILDROOT mkdir -p arm-eabi/insight-7.4.50 cd arm-eabi/insight-7.4.50

~/rpmbuild/BUILD/insight-7.4.50/configure --target=arm-eabi -v 2>&1 |
tee configure.out

I see the same error. Doing this instead allows it to build as is:
~/rpmbuild/BUILD/insight-7.4.50/configure --with-system-readline --target=arm-eabi -v 2>&1 | tee configure.out


The problem is that one of the patches to gdb/Makefile takes out the path to readline.
If I put it back in it also works w/o the --with-system-readline:
Remove last patch from rpmbuild/SOURCES/insight-7.4.50-readline-system.patch.


Are you trying to build an RPM for arm-eabi? I've never built an RPM (or maybe once long ago)
so what is the next step? "make install" ?? I use insight with embedded arm-eabi constantly but
have made my own custom version that works well from a CVS snapshot and codesourery's gdb source.


-gene


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]