From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23931 invoked by alias); 3 Aug 2008 21:51:08 -0000 Received: (qmail 23923 invoked by uid 22791); 3 Aug 2008 21:51:08 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 03 Aug 2008 21:50:34 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m73LoWTB021193 for ; Sun, 3 Aug 2008 17:50:32 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m73LoUIB021200; Sun, 3 Aug 2008 17:50:30 -0400 Received: from opsy.redhat.com (vpn-10-45.bos.redhat.com [10.16.10.45]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m73LoUgd003359; Sun, 3 Aug 2008 17:50:30 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id B58553784FE; Sun, 3 Aug 2008 15:50:29 -0600 (MDT) To: Keith Seitz Cc: insight Subject: Re: [PATCH] Use system Tcl et al References: <4894DE8F.4090306@redhat.com> <4894F1BF.7000802@redhat.com> <4895EDA6.8040008@redhat.com> From: Tom Tromey Reply-To: Tom Tromey X-Attribution: Tom Date: Sun, 03 Aug 2008 21:51:00 -0000 In-Reply-To: (Tom Tromey's message of "Sun\, 03 Aug 2008 14\:58\:56 -0600") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2008-q3/txt/msg00024.txt.bz2 Keith> A clean build of libgui fails with no tcl, tk, itcl? What's the Keith> failure? Do you have the -devel packages installed? Tom> Whoops, sorry about that. I had itcl-devel but not the others. I'm Tom> rebuilding now. Ok. I deleted tcl,tk,itcl from the source tree. I have tcl,tk,itcl,iwidgets and -devel packages all installed. I built -- went fine. However, insight does not start up: opsy. ./install/bin/insight Error: Can't find a usable itcl.tcl in the following directories: /usr/share/itcl3.3 /home/tromey/gnu/baseline-gdb/install/bin/../lib/itcl3.3 /home/tromey/gnu/baseline-gdb/install/bin/../lib64/itcl3.3 /home/tromey/gnu/baseline-gdb/install/bin/../library /home/tromey/gnu/baseline-gdb/install/bin/../../library /home/tromey/gnu/baseline-gdb/install/bin/../../itcl/library /home/tromey/gnu/baseline-gdb/install/bin/../../../itcl/library This probably means that Itcl/Tcl weren't installed properly. If you know where the Itcl library directory was installed, you can set the environment variable ITCL_LIBRARY to point to the library directory. That /usr/share is funny ... the file is actually in /usr/lib. FWIW if I run tclsh and 'package require' each of Itcl,Itk,Iwidgets, it works just fine. Tom