From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3831 invoked by alias); 7 May 2009 02:06:18 -0000 Received: (qmail 3657 invoked by uid 22791); 7 May 2009 02:06:16 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 May 2009 02:06:07 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n47263iv019647; Wed, 6 May 2009 22:06:03 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n472620v028779; Wed, 6 May 2009 22:06:02 -0400 Received: from lindt.uglyboxes.com (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n4725reC008556; Wed, 6 May 2009 22:06:00 -0400 Message-ID: <4A024201.20007@redhat.com> Date: Thu, 07 May 2009 02:06:00 -0000 From: Keith Seitz User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Pierre Muller CC: insight@sourceware.org Subject: Re: cygwin runtime woes References: <002a01c9b707$9d795b40$d86c11c0$@u-strasbg.fr> <49DA8771.4040007@redhat.com> <002b01c9b70d$6badcd20$43096760$@u-strasbg.fr> <49DA8DBF.1000502@redhat.com> <002d01c9b70f$db0cc750$912655f0$@u-strasbg.fr> <49DA95C4.2070007@redhat.com> <000701c9b74d$a8143070$f83c9150$@u-strasbg.fr> <4A01B691.7060909@redhat.com> <001501c9ce66$f3ddb870$db992950$@u-strasbg.fr> <4A01BB62.6070609@redhat.com> <000c01c9ce8b$9e54bfa0$dafe3ee0$@u-strasbg.fr> In-Reply-To: <000c01c9ce8b$9e54bfa0$dafe3ee0$@u-strasbg.fr> 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: 2009-q2/txt/msg00050.txt.bz2 Pierre Muller wrote: > Tried it another way: > > ./gdb ./insight.exe > > (gdb) run --nw ./gdb.exe Did you mean "run -nx ./gdb.exe"? > Insight starts but no source window with 'main' function code appears. Odd... Are you sure you erased all of the gdbtk.ini files lying around? If "-nx" works, then insight must be finding one of these files somewhere. > E SrcWin constructor {_build_win returned: invalid command name > "iwidgets::scrolledtext" Yeah, for whatever reason, iwidgets::scrolledtext seems to be missing on your system. I can't even imagine how. Are any of TCL_LIBRARY, TK_LIBRARY, ITCL_LIBRARY, ITK_LIBRARY, or IWIDGETS_LIBRARY defined in your environment? > All seems to start with the failure to handle > iwidgets::scrolledtext command, > any ideas what this is all about? > > I tried reinstalling tcl/tk for cygiwn, no effect. From what I can tell, the tcl/tk distributed with cygwin are not usable for an insight build: they are missing some internal headers that are required to build insight (specifically, tclInt.h and tkInt.h -- probably a few more). You *must* use the in-tree tcl, tk, and itcl. I've verified this on a build of CVS HEAD on my own (ancient) x86 cygwin box. If you attempt to use the system-supplied tcl and tk, you will get errors about "private headers" missing. Keith PS. Getting a lot of build warnings that stop the build? Use --disable-werror at configure time. I did NOT have to do this on my machine...