public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* ide_initialize_paths failed: Can't find the GUI Tcl
@ 1999-12-22 10:59 Brandon Metcalf
  1999-12-23  8:49 ` Keith Seitz
  0 siblings, 1 reply; 3+ messages in thread
From: Brandon Metcalf @ 1999-12-22 10:59 UTC (permalink / raw)
  To: insight

Just finished installing the 19991213 snapshot of insight and I'm getting
the following error...

piper bin $ ls
gdb*             itkwish3.0*      tixindex*        wish*
itclsh3.0*       tclsh*           tixwish4.1.8.0
piper bin $ ./gdb

warning: Unrecognized range check setting: "auto; currently off"
ide_initialize_paths failed: Can't find the GUI Tcl library in the
following directories:
    /nms/tools/packages/insight/0010-19991213/SunOS/share/cygnus/gui
/nms/tools/packages/insight/0010-19991213/share/cygnus/gui
/nms/tools/packages/insight/0010-19991213/common/libgui/library
/nms/tools/packages/insight/0010-19991213/SunOS/share/cygnus/ide
/nms/tools/packages/insight/0010-19991213/share/cygnus/ide
/nms/tools/packages/insight/0010-19991213/common/libide/library



I'm sure I'm not launching it correctly, but can't seem to find any info on
it.

Thanks,
Brandon

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ide_initialize_paths failed: Can't find the GUI Tcl
  1999-12-22 10:59 ide_initialize_paths failed: Can't find the GUI Tcl Brandon Metcalf
@ 1999-12-23  8:49 ` Keith Seitz
  2000-01-04  9:24   ` Brandon Metcalf
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 1999-12-23  8:49 UTC (permalink / raw)
  To: Brandon Metcalf; +Cc: insight

Brandon Metcalf wrote:
> 
> Just finished installing the 19991213 snapshot of insight and I'm getting
> the following error...
> 

[snip]

>
> warning: Unrecognized range check setting: "auto; currently off"
> ide_initialize_paths failed: Can't find the GUI Tcl library in the
> following directories:
>     /nms/tools/packages/insight/0010-19991213/SunOS/share/cygnus/gui
> /nms/tools/packages/insight/0010-19991213/share/cygnus/gui
> /nms/tools/packages/insight/0010-19991213/common/libgui/library
> /nms/tools/packages/insight/0010-19991213/SunOS/share/cygnus/ide
> /nms/tools/packages/insight/0010-19991213/share/cygnus/ide
> /nms/tools/packages/insight/0010-19991213/common/libide/library

Don't worry -- you're starting it properly. Invoking "gdb" will start
Insight by default (unless gdb was built without Insight, that is). 

It's been a little while, but let me see if I can't give you a push in
the right direction... It looks like you are running this from an
installed toolchain, so does the directory "INSTALLDIR/share/cygnus/gui"
exist? This directory should contain a lot of generic GUI code (all tcl
files):

$ ls share/cygnus/gui/
advice.tcl    cframe.tcl    hooks.tcl      multibox.tcl     prefs.tcl   
treetable.tcl
balloon.tcl   combobox.tcl  internet.tcl   pane.tcl         print.tcl   
ulset.tcl
bbox.tcl      debug.tcl     lframe.tcl     panedwindow.tcl  sendpr.tcl  
ventry.tcl
bgerror.tcl   def.tcl       list.tcl       parse_args.tcl   tclIndex    
wframe.tcl
bindings.tcl  font.tcl      looknfeel.tcl  path.tcl         toolbar.tcl 
wingrab.tcl
canvas.tcl    gensym.tcl    menu.tcl       pkgIndex.tcl     topbind.tcl
center.tcl    gettext.tcl   mono.tcl       postghost.tcl    tree.tcl
 
Is the environment variable CYGNUS_GUI_LIBRARY set? If it is and it is
pointing to la-la land, I guess that could cause problems.
(Alternatively, you could attempt to set this variable to the location
of this directory and see what happens...)

Please let us know what happens (or if you resolved this already).
Keith

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ide_initialize_paths failed: Can't find the GUI Tcl
  1999-12-23  8:49 ` Keith Seitz
@ 2000-01-04  9:24   ` Brandon Metcalf
  0 siblings, 0 replies; 3+ messages in thread
From: Brandon Metcalf @ 2000-01-04  9:24 UTC (permalink / raw)
  To: Keith Seitz, Brandon Metcalf; +Cc: insight

At 08:48 AM 12/23/99 -0800, Keith Seitz wrote:
>Is the environment variable CYGNUS_GUI_LIBRARY set? If it is and it is
>pointing to la-la land, I guess that could cause problems.
>(Alternatively, you could attempt to set this variable to the location
>of this directory and see what happens...)

Hi Keith,

Setting CYGNUS_GUI_LIBRARY did the trick.  The problem is that my install
directory structure looks like this:

root@lovett 0010-19991213 # ls -l
total 8
drwxr-xr-x   2 root     root         512 Dec 22 10:06 AIX/
drwxr-xr-x   2 root     root         512 Dec 22 10:06 HP-UX/
drwxr-xr-x   4 root     root         512 Jan  4 09:13 SunOS/
drwxr-xr-x   6 root     root         512 Dec 22 10:38 common/

where common contains architecture independent files such as the
share/cygnus/gui directory.  Even though I specified this during the
configure phase, gdb can't find what it needs.  After looking at the code,
I found that if I create the following symlink

root@lovett 0010-19991213 # ls -l SunOS
total 6
drwxr-xr-x   2 root     root         512 Jan  4 09:14 bin/
drwxr-xr-x   2 root     root         512 Dec 22 13:55 lib/
lrwxrwxrwx   1 root     root          15 Jan  4 09:13 share ->
../common/share/

everything works fine without setting CYGNUS_GUI_LIBRARY.  It seems like
this is a bug in the software because configure should take care of letting
gdb know where to find its dependencies.

Anyway, thanks for the tip.

Brandon

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-01-04  9:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-22 10:59 ide_initialize_paths failed: Can't find the GUI Tcl Brandon Metcalf
1999-12-23  8:49 ` Keith Seitz
2000-01-04  9:24   ` Brandon Metcalf

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