From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3626 invoked by alias); 19 Mar 2010 04:32:31 -0000 Received: (qmail 3599 invoked by uid 22791); 19 Mar 2010 04:32:30 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,RCVD_IN_SORBS_WEB,SPF_HELO_PASS 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, 19 Mar 2010 04:32:25 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NsTsj-0004Vf-3B for insight@sources.redhat.com; Fri, 19 Mar 2010 05:32:21 +0100 Received: from aph0z28a.sea.siemens.com ([208.5.44.21]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Mar 2010 05:32:21 +0100 Received: from gds by aph0z28a.sea.siemens.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Mar 2010 05:32:21 +0100 To: insight@sources.redhat.com From: Gene Smith Subject: Using system tcl/tk version 8.5 Date: Fri, 19 Mar 2010 07:10:00 -0000 Message-ID: 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.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3 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-q1/txt/msg00040.txt.bz2 I followed these instructions from Keith on how to build (cvs head) insight w/o using the included tcl/tk: To build using the system-supplied tcl/tk, make sure you have the dev packages (on linux) installed: tcl-devel, tk-devel, itcl-devel, itk-devel. Remove (or rename) tcl, tk, and itcl from your source directory, and the build will find the system-installed versions. [I don't recall if this is absolutely necessary, but I do it anyway.] When starting an untested build configuration for the first time, I usually do a "make configure-gdb" and check the output of configure that it found the tcl/tk/itcl/itk stuff that I expected it to. I did what he said in the first paragraph but my system (fedora 12) has tk/tcl 8.5 and the build process expects 8.4. But if I rename my installed libtcl8.5.so and libtcl8.5.so to 8.4 the link works. But when I run insight it expects 8.5 again so it fails to run. But if I rename the system files above back to 8.5 it runs. Is there a way to specify in configure the version of tcl/tk that you have on your system or, even better, to try to work with whatever you have? Regarding his 2nd paragraph above, where do you run the "make configure-gdb" he speaks of? It does not seem to be a supported target. -gene