1 |
On Wednesday 21 August 2002 20:16, Joe McMahon wrote: |
2 |
> I installed gdb today and found I couldn't get the darn thiing to run. It |
3 |
> would always just die with a message saying that it couldn't find the |
4 |
> Cygnus GUI libraries. |
5 |
> |
6 |
> After a batch of Googling, I figured out that it wasn't properly set up |
7 |
> to find all its Tcl/Tk stuff by default. Add this to your .bashrc |
8 |
> and gdb will at least run: |
9 |
> |
10 |
> GDBTK_LIBRARY=/opt/insight/share/gdbtcl |
11 |
> export GDBTK_LIBRARY |
12 |
> TCL_LIBRARY=/opt/insight/share/tcl8.0 |
13 |
> export TCL_LIBRARY |
14 |
> TK_LIBRARY=/opt/insight/share/tk8.0 |
15 |
> export TK_LIBRARY |
16 |
> TIX_LIBRARY=/opt/insight/share/tix4.1 |
17 |
> export TIX_LIBRARY |
18 |
> ITCL_LIBRARY=/opt/insight/share/itcl3.0 |
19 |
> export ITCL_LIBRARY |
20 |
> ITK_LIBRARY=/opt/insight/share/itk3.0 |
21 |
> export ITK_LIBRARY |
22 |
> CYGNUS_GUI_LIBRARY=/opt/insight/share/cygnus/gui |
23 |
> export CYGNUS_GUI_LIBRARY |
24 |
> |
25 |
> This is stuff gdb is supposed to be able to find itself, but it doesn't |
26 |
> seem to be able to. |
27 |
> |
28 |
> --- Joe M. |
29 |
|
30 |
Hey Joe |
31 |
|
32 |
I would say I think you should file this as a bug if it doesn't detect stuff, |
33 |
that's not too great :( good workaround tho ;) |
34 |
|
35 |
Mark |