From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26323 invoked by alias); 19 Mar 2010 07:10:02 -0000 Received: (qmail 26248 invoked by uid 22791); 19 Mar 2010 07:09:59 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS 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; Fri, 19 Mar 2010 07:09:54 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2J79qJi011262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 19 Mar 2010 03:09:52 -0400 Received: from [IPv6:::1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2J79m8M025737 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Mar 2010 03:09:51 -0400 Message-ID: <4BA3233C.9090604@redhat.com> Date: Fri, 19 Mar 2010 09:02:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc11 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: Gene Smith CC: insight@sources.redhat.com Subject: Re: Using system tcl/tk version 8.5 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: 2010-q1/txt/msg00041.txt.bz2 On 03/18/2010 09:32 PM, Gene Smith wrote: > 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. I use Fedora 11 (soon 13) with Tcl 8.5 (don't forget all the -devel RPMS on Red Hat-like systems): tcl-8.5.6-6.fc11.i586 tcl-devel-8.5.6-6.fc11.i586 tk-8.5.6-4.fc11.i586 tk-devel-8.5.6-4.fc11.i586 itcl-3.4-4.fc11.i586 itcl-devel-3.4-4.fc11.i586 itk-3.4-4.fc11.i586 itk-devel-3.4-4.fc11.i586 iwidgets-4.0.2-2.fc11.noarch Are you using x86_64? I believe I am sitting on a patch to fix some bad assumptions with that... Still need to test them some more, though. > 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. Yeah, definitely cannot do that... > 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? You can use: --with-tcl directory containing tcl configuration (tclConfig.sh) --with-tk directory containing tk configuration (tkConfig.sh) Normally, you only need to use --with-tcl -- the configury will assume that tkConfig.sh is in the same place. I believe I tested all this when I did this work a while ago, but I might have missed something. Testing three different configury scenarios can get a little confusing. > 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. Do "make configure-gdb" just after you do the configure. This is how I normally do it (when I do configure-gdb instead of all-gdb): $ CFLAGS="-g" ../src/configure --prefix=/home/keiths/insight/HEAD/built [snip] $ make configure-gdb [now you can check the configure log in gdb/] $ make all-gdb What version of insight are you trying to build, BTW. It might make a difference. [It might not, either. I remember fixing some build bugs a while ago...] I've built Insight this way for almost two-three years now, and I've used the resulting executable for my daily work on archer, so it can be done. Keith