From mboxrd@z Thu Jan 1 00:00:00 1970 From: Duane Ellis To: spolk@redhat.com Cc: insight@sources.redhat.com Subject: Re: Cannot run from build directory Date: Tue, 10 Oct 2000 11:26:00 -0000 Message-id: <200010101826.OAA10657@mercury.franklin.com> References: <4.2.0.58.20001010110910.00dce5e0@pop.cygnus.com> X-SW-Source: 2000-q4/msg00045.html here's what is happening: the tcl/tk code is trying to backtrack from the executable filename (argv[0]) and discover all the shared files. (ie: blah.tcl). Use: "strace -o foobar ./gdb.exe" and watch what it tries to do. What is a real pain runing GDB under a debugger that does not pass "argv[0]" in a nice way. In your case, you have not 'installed' GDB, the files in 'gdbtcl2' are not inplace. Nore are all the other TCL files, nor the itcl files, nor.... and the list goes on. Also, the way these are stored "pre-install" vrs "post-install" are very different. You basically have to install the entire thing.... you have no choice. It's *NOT* something you are going to easily be able to fix. there are some shell variables, TCL_LIB... or something like that you can use to point to a directory or two... but that does not solve the "pre-install" layout -vrs- "post-install" layout of files. -Duane, who has been there and done that. http://www.franklin.com/ebookman (see what I've been doing)