This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Cannot run from build directory
- To: spolk at redhat dot com
- Subject: Re: Cannot run from build directory
- From: Duane Ellis <duane_ellis at franklin dot com>
- Date: Tue, 10 Oct 2000 14:26:35 -0400
- CC: insight at sources dot redhat dot com
- References: <4.2.0.58.20001010110910.00dce5e0@pop.cygnus.com>
- Reply-to: duane_ellis at franklin dot com
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)