public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Pierre Muller <muller@ics.u-strasbg.fr>
Cc: insight@sourceware.org
Subject: Re: cygwin runtime woes
Date: Thu, 07 May 2009 02:06:00 -0000	[thread overview]
Message-ID: <4A024201.20007@redhat.com> (raw)
In-Reply-To: <000c01c9ce8b$9e54bfa0$dafe3ee0$@u-strasbg.fr>

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...

  reply	other threads:[~2009-05-07  2:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-06 22:32 [RFA] ARI fixes for gdbtk directories Pierre Muller
2009-04-06 22:51 ` Keith Seitz
2009-04-06 23:14   ` Pierre Muller
2009-04-06 23:18     ` cygwin runtime woes (was Re: [RFA] ARI fixes for gdbtk directories) Keith Seitz
2009-04-06 23:32       ` Pierre Muller
2009-04-06 23:52         ` Keith Seitz
2009-04-07  6:54           ` Pierre Muller
2009-05-06 16:11             ` cygwin runtime woes Keith Seitz
2009-05-06 16:24               ` Pierre Muller
2009-05-06 16:31                 ` Keith Seitz
2009-05-06 20:45                   ` Pierre Muller
2009-05-07  2:06                     ` Keith Seitz [this message]
2009-05-06 16:41               ` Pierre Muller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A024201.20007@redhat.com \
    --to=keiths@redhat.com \
    --cc=insight@sourceware.org \
    --cc=muller@ics.u-strasbg.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).