From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6214 invoked by alias); 24 May 2012 23:11:22 -0000 Received: (qmail 6198 invoked by uid 22791); 24 May 2012 23:11:21 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,TW_PM,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 May 2012 23:11:02 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q4ONB1N9023940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 24 May 2012 19:11:02 -0400 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q4ONAx3J028384 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 24 May 2012 19:11:01 -0400 Message-ID: <4FBEC003.2000902@redhat.com> Date: Thu, 24 May 2012 23:11:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: David Fernandez CC: insight@sourceware.org Subject: Re: Error while "make all": "make[2]: *** No rule to make target `/libreadline.a', needed by `gdb'. Stop." References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/msg00030.txt.bz2 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] > 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? 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. > 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)] Keith