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: Insight 5.0 make error - /bin/sh: tk: No such file or directory


Adam Schuetze wrote:
> 
> On Wed, Oct 25, 2000 at 07:02:03AM -0700, Adam Schuetze scribbled:
> > On Wed, Oct 25, 2000 at 12:18:32PM +0000, Fernando Nasser scribbled:
> > >
> > > Sorry, making Insight work with the installed versions of Tcl/Tk is in the
> > > TODO list.  For now you must use the versions that come with it.
> 
> Fernando,
> 
> I ran the ./configure, make, and make install on the tcl/unix,
> tix/unix, and tk/unix.  That went off without a hitch.  Looks
> like it installs it in a subdirectory of the insight5.0 dir.  Is
> that ok?
> 
> Now, when I run make in the insight5.0 dir (after a make clean,
> and ./configure), it gives me a whole TON of undefined reference
> errors.  The following is a short bunch of them:
> 
> gcc -g -O2        -o gdb main.o libgdb.a    ../bfd/libbfd.a
> ../readline/libreadline.a ../opcodes/libopcodes.a
> ../libiberty/libiberty.a -lncurses    ../libgui/src/libgui.a
> -lm  ../libiberty/libiberty.a  -ldl -rdynamic
> libgdb.a(gdbtk.o): In function `TclDebug':
> /home/compile/insight5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:231:
> undefined reference to `Tcl_Merge'
> /home/compile/insight5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:232:
(...)
> 
> and so on
> 
> Any ideas?
> 

Yes, I believe I know what went wrong.  There are some variables that are
set by the configuration scripts that tell where Tcl, Tk etc reside.
As you run the configure in the Tcl related pieces separately and had 
already run the configure in the other directories when Tcl/TK was not
there these variables were not set correctly.

You will need to run configure from the top directory again. Sorry :(



-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

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