1 |
I installed gdb today and found I couldn't get the darn thiing to run. It |
2 |
would always just die with a message saying that it couldn't find the |
3 |
Cygnus GUI libraries. |
4 |
|
5 |
After a batch of Googling, I figured out that it wasn't properly set up |
6 |
to find all its Tcl/Tk stuff by default. Add this to your .bashrc |
7 |
and gdb will at least run: |
8 |
|
9 |
GDBTK_LIBRARY=/opt/insight/share/gdbtcl |
10 |
export GDBTK_LIBRARY |
11 |
TCL_LIBRARY=/opt/insight/share/tcl8.0 |
12 |
export TCL_LIBRARY |
13 |
TK_LIBRARY=/opt/insight/share/tk8.0 |
14 |
export TK_LIBRARY |
15 |
TIX_LIBRARY=/opt/insight/share/tix4.1 |
16 |
export TIX_LIBRARY |
17 |
ITCL_LIBRARY=/opt/insight/share/itcl3.0 |
18 |
export ITCL_LIBRARY |
19 |
ITK_LIBRARY=/opt/insight/share/itk3.0 |
20 |
export ITK_LIBRARY |
21 |
CYGNUS_GUI_LIBRARY=/opt/insight/share/cygnus/gui |
22 |
export CYGNUS_GUI_LIBRARY |
23 |
|
24 |
This is stuff gdb is supposed to be able to find itself, but it doesn't |
25 |
seem to be able to. |
26 |
|
27 |
--- Joe M. |