This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cannot run from build directory



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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]