public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: David Fernandez <david.fernandez.work@googlemail.com>
To: Keith Seitz <keiths@redhat.com>
Cc: insight@sourceware.org
Subject: Re: Error while "make all": "make[2]: *** No rule to make target `/libreadline.a', needed by `gdb'. Stop."
Date: Fri, 25 May 2012 22:11:00 -0000	[thread overview]
Message-ID: <CAA6dH32ciBQcAc=9ER2UVWmHx=jL5eFhpxj=Y2WYm1thu7jvHg@mail.gmail.com> (raw)
In-Reply-To: <4FBEC003.2000902@redhat.com>

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
>> ~/rpmbuild/BUILD/insight-7.4.50/configure --target=arm-eabi -v 2>&1 |
>> tee configure.out
>> make -w all 2>&1 | tee make.out
>
>
> Zowie. Until recently, I didn't even know that Insight was in fedora!
> [cough]
>

Yes, you are in Fedora 15 (6.8-1), and 16 (7.4.50)


>> gcc -g -O2   -I. -I../../../../BUILD/insight-7.4.50/gdb
>> -I../../../../BUILD/insight-7.4.50/gdb/common
>> -I../../../../BUILD/insight-7.4.50/gdb/config
>> -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
>> -I../../../../BUILD/insight-7.4.50/gdb/../include/opcode
>> -I../../../../BUILD/insight-7.4.50/gdb/../opcodes/..
>> -I@READLINE_SRC@/.. -I../bfd
>
>  ^^^^^^^^^^^^^^^^
>
> This is the problem. readline-devel is probably not installed on your
> system. Have you tried passing "--resolve" to yumdownloader to also download
> any dependencies?
>

I have readline-devel installed:

[root@localhost ~]# yum install readline-devel
Package readline-devel-6.2-2.fc16.i686 already installed and latest version
Nothing to do


> Looking through the 6.8 rpm (I'm on F15 right now), I see that it does not
> list all the build requirements for gdb. I would recommend you
> download/install the corresponding gdb sources (and deps). If you can build
> the gdb RPM, then all the necessary "hidden" requirements are present to
> build insight. All you then might be missing are the insight deps. I'll see
> if I can't check out the latest insight RPM and get it fixed.
>

I can build gdb-7.3.50.20110722-13.fc16 without problems.


>> The same thing happens with insight-6.8-1 (after adding CFLAGS="-g -O2
>> -Wno-error=set-but-unused-variable" to avoid a few benign errors).
>
>
> Eew. 6.8-1 is based on a version gdb that somewhere near four years old.
> That spec file is obviously really, really wrong in many ways. [It also
> includes a private copy of tcl, tk, itcl, etc. This is no longer a
> requirement. The sources now look for system-installed versions. (hint:
> install tcl, tk, itcl, itk, iwidgets, itcl-devel, tcl-devel, tk-devel)]
>

Yes, the src.rpm's require you to install all those before allowing
the "rpmbuild -bp"


So no idea what could be wrong.

Let me know if you need me to give you somo more info, or do some
quick test for you to find out.

Cheers

David.

  reply	other threads:[~2012-05-25 22:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAA6dH30n=i40xuuAFxcwZzKHpLHcEP2J5GOr+03hb5B0qJ+vTw@mail.gmail.com>
2012-05-24 22:45 ` David Fernandez
2012-05-24 23:11   ` Keith Seitz
2012-05-25 22:11     ` David Fernandez [this message]
2012-05-27  6:19       ` Gene Smith
2012-05-27 18:49         ` David Fernandez
2012-05-28  3:25           ` Gene Smith
2012-05-29 12:48     ` Patrick Monnerat
2012-05-29 22:52       ` David Fernandez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA6dH32ciBQcAc=9ER2UVWmHx=jL5eFhpxj=Y2WYm1thu7jvHg@mail.gmail.com' \
    --to=david.fernandez.work@googlemail.com \
    --cc=insight@sourceware.org \
    --cc=keiths@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).