From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17402 invoked by alias); 9 Apr 2010 04:13:35 -0000 Received: (qmail 17279 invoked by uid 22791); 9 Apr 2010 04:13:32 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Apr 2010 04:13:26 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O05aq-0003Xe-7J for insight@sources.redhat.com; Fri, 09 Apr 2010 06:13:20 +0200 Received: from 24-158-184-117.dhcp.jcsn.tn.charter.com ([24.158.184.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Apr 2010 06:13:20 +0200 Received: from gds by 24-158-184-117.dhcp.jcsn.tn.charter.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Apr 2010 06:13:20 +0200 To: insight@sources.redhat.com From: Gene Smith Subject: Re: Using system tcl/tk version 8.5 Date: Fri, 09 Apr 2010 04:13:00 -0000 Message-ID: References: <4BA3233C.9090604@redhat.com> <4BB2DF85.10208@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 In-Reply-To: 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: 2010-q2/txt/msg00006.txt.bz2 Gene Smith wrote, On 04/06/2010 11:11 PM: > > If I try a native 64bit build with system tcl/tk like this, > > ../insight_sources/configure -v --quiet --prefix=$PREFIX \ > --with-tcl=/usr/lib64 --with-tk=/usr/lib64 --with-itcl=/usr/lib64 \ > --with-itk=/usr/lib64 > > I see this error: > > Configuring in ./itcl > config.status: WARNING: ../../../insight_sources/itcl/itcl/Makefile.in > seems to ignore the --datarootdir setting > config.status: WARNING: ../../../insight_sources/itcl/itk/Makefile.in > seems to ignore the --datarootdir setting > configure: error: Can't find Itcl source. Use --with-itcl to specify the > the toplevel incr Tcl directory on your system. (This directory should > contain itcl/library/itcl.tcl, itk/library/itk.tcl, and > config/mkinstalldirs.) > configure: error: ../../../insight_sources/itcl/iwidgets/configure > failed for iwidgets > make[1]: *** [configure-itcl] Error 1 > make[1]: Leaving directory `/home/gene/addons/insight-cvs/insight_build' > make: *** [all] Error 2 > This error seems to be due to the fact that I left insight's tcl and tk dirs in the tree. When I rename or delete them the build works and installs. Don't know that it actually debugs correctly but it runs. Was able to build for 64 or 32bit host. The --with-itcl=... is not needed but doesn't hurt. To build for 32 bit host I do this: ../insight_sources/configure -v --quiet --prefix=$PREFIX \ --target=$TARGET --enable-interwork --enable-multilib \ --with-gnu-ld --with-gnu-as --with-tcl=/usr/lib \ --with-tk=/usr/lib \ --disable-werror --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu \ CFLAGS="-m32" LDFLAGS="-m32" Also, today built CVS head on a 32-bit f8 system w/ insight's own tk/tcl. It ran but the source gui window would not debug. I was able to see code, load code to flash etc but no stepping or GREEN highlight line was ever visible. Was able to step and set BPs using console/gdb window however. Gdb does not inform the GUI source window as to what is going on, it seems. This is configured as target arm-none-eabi so I guess that has something to do with it since a default/native x86_64 or i686 target works OK with cvs head. -gene