Are there any help resources for building/installing insight (the gdb
gui interface)?
I am able to build gdb and insight out of the box. But there seems to
be a problem with installation of insight. In particular there seems to
be a misconfiguration in the install directories for the version of Tcl
insight uses.
In order to get insight to install with "make install", I had to change
the following line in (plus 4 others)
/usr/src/insight-5.0/itcl/iwidgets3.0.0/unix/Makefile:
from
TCL_SRC_DIR = /usr/src/bs/BUILD/tcltk-8.3.1/tcl-8.3.1
to
TCL_SRC_DIR = /usr/src/insight-5.0/tcl
When running gdb with gdb -w, I get the following:
Can't find a usable main.tcl in the following directories:
/usr/local/share/gdbtcl /usr/local/gdbtcl /usr/local/gdb/gdbtk/library
/usr/local/gdb1.0/gdbtk/library
/usr/local/share/gdbtcl/main.tcl: can't read "errMsg": no such variable
can't read "errMsg": no such variable
while executing
"tk_messageBox -title Error -message "Could not find the Iwidgets libraries.
Got nameofexec: [info nameofexecutable]
Error(s) were: \n$errMsg" -icon e..."
invoked from within
"if {![find_iwidgets_library]} {
tk_messageBox -title Error -message "Could not find the Iwidgets libraries.
Got nameofexec: [info nameofexecutable]
...."
(file "/usr/local/share/gdbtcl/main.tcl" line 53)
invoked from within
"source /usr/local/share/gdbtcl/main.tcl"
("uplevel" body line 1)
invoked from within
"uplevel \#0 [list source $file]"
This probably means that gdb wasn't installed properly.
while executing
"error $msg"
(procedure "tcl_findLibrary" line 84)
invoked from within
"tcl_findLibrary gdb 1.0 {} main.tcl GDBTK_LIBRARY GDBTK_LIBRARY gdbtk/library gdbtcl
{} $debug_startup"
(procedure "gdbtk_find_main" line 11)
invoked from within
"gdbtk_find_main"