From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27561 invoked by alias); 25 May 2012 22:11:00 -0000 Received: (qmail 27547 invoked by uid 22791); 25 May 2012 22:10:59 -0000 X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_PM X-Spam-Check-By: sourceware.org Received: from mail-pz0-f41.google.com (HELO mail-pz0-f41.google.com) (209.85.210.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 May 2012 22:10:44 +0000 Received: by dakp5 with SMTP id p5so1887137dak.0 for ; Fri, 25 May 2012 15:10:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.232.73 with SMTP id tm9mr1669356pbc.43.1337983843631; Fri, 25 May 2012 15:10:43 -0700 (PDT) Received: by 10.68.40.66 with HTTP; Fri, 25 May 2012 15:10:43 -0700 (PDT) In-Reply-To: <4FBEC003.2000902@redhat.com> References: <4FBEC003.2000902@redhat.com> Date: Fri, 25 May 2012 22:11:00 -0000 Message-ID: Subject: Re: Error while "make all": "make[2]: *** No rule to make target `/libreadline.a', needed by `gdb'. Stop." From: David Fernandez To: Keith Seitz Cc: insight@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2012-q2/txt/msg00037.txt.bz2 Hi Keith, On Fri, May 25, 2012 at 12:10 AM, Keith Seitz 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=3Darm-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 =A0 -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=3D"\"/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 > > =A0^^^^^^^^^^^^^^^^ > > This is the problem. readline-devel is probably not installed on your > system. Have you tried passing "--resolve" to yumdownloader to also downl= oad > 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 bui= ld > 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 s= ee > 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=3D"-g -O2 >> -Wno-error=3Dset-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.