* Insight 5.0 make error - /bin/sh: tk: No such file or directory @ 2000-10-24 21:27 Adam Schuetze 2000-10-25 5:18 ` Fernando Nasser 0 siblings, 1 reply; 4+ messages in thread From: Adam Schuetze @ 2000-10-24 21:27 UTC (permalink / raw) To: Insight Mailing List Hi all, I am trying to build Insight 5.0 for my redhat6.1 x86 machine. A little background, perhaps pertinent. I already have tcl (ver 8.0.5-30), tk (ver 8.0.5-30), and tix (ver 4.1.0.6-30) installed, so I did not compile/install the source that came with the Insight tarball. After unpacking the source, I ran the following commands in the /<path>/insight-5.0/ directory: ./configure make The following is a the error I got (+ some lines around it): test -n "ranlib" && ranlib libreadline.a rm -f libhistory.a ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o xmalloc.o test -n "ranlib" && ranlib libhistory.a make[1]: Leaving directory `/home/compile/insight5.0/insight-5.0/readline' make[1]: Entering directory `/home/compile/insight5.0/insight-5.0/sim' make[1]: Leaving directory `/home/compile/insight5.0/insight-5.0/sim' make[1]: Entering directory `/home/compile/insight5.0/insight-5.0/tix' make[2]: Entering directory `/home/compile/insight5.0/insight-5.0/tix/unix' /bin/sh: tk: No such file or directory make[2]: *** [all] Error 1 make[2]: Leaving directory `/home/compile/insight5.0/insight-5.0/tix/unix' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/compile/insight5.0/insight-5.0/tix' make: *** [all-tix] Error 2 alpha:/home/compile/insight5.0/insight-5.0$ ls Any ideas on this? I should mention right up front, that I am a relative newbie to this stuff; I do not know enough to go digging and fix the problem. I don't know where to start. Is this a common error with a common gotcha? Should I post more of the surrounding make output? thanks so much, -- Adam Schuetze <adam at adam-schuetze dot org> Get my pgp keys at http://www dot adam-schuetze dot org rsa f'print B8 80 DA D6 BB CA 80 5F C5 68 1C 08 FE 3E 65 1C dss f'print 46 CB B3 C3 A1 C9 BA 57 7C B4 A1 6A BF 8F 2D 95 2B 7A 1D 77 Boycott the "HackSDMI Challenge"! ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Insight 5.0 make error - /bin/sh: tk: No such file or directory 2000-10-24 21:27 Insight 5.0 make error - /bin/sh: tk: No such file or directory Adam Schuetze @ 2000-10-25 5:18 ` Fernando Nasser [not found] ` <20001025070203.A1282@alpha.adam-schuetze.org> 0 siblings, 1 reply; 4+ messages in thread From: Fernando Nasser @ 2000-10-25 5:18 UTC (permalink / raw) To: Adam Schuetze; +Cc: Insight Mailing List Adam Schuetze wrote: > > Hi all, > > I am trying to build Insight 5.0 for my redhat6.1 x86 machine. > > A little background, perhaps pertinent. I already have tcl (ver > 8.0.5-30), tk (ver 8.0.5-30), and tix (ver 4.1.0.6-30) > installed, so I did not compile/install the source that came > with the Insight tarball. > 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 Nasser Red Hat Canada Ltd. E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9 ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20001025070203.A1282@alpha.adam-schuetze.org>]
* Re: Insight 5.0 make error - /bin/sh: tk: No such file or directory [not found] ` <20001025070203.A1282@alpha.adam-schuetze.org> @ 2000-10-25 19:08 ` Adam Schuetze 2000-10-26 1:19 ` Fernando Nasser 0 siblings, 1 reply; 4+ messages in thread From: Adam Schuetze @ 2000-10-25 19:08 UTC (permalink / raw) To: Insight Mailing List 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: undefined reference to `Tcl_Eval' /home/compile/insight5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:233: undefined reference to `Tcl_BackgroundError' /home/compile/insight5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:234: undefined reference to `Tcl_Free' libgdb.a(gdbtk.o): In function `cleanup_init': /home/compile/insight5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:252: undefined reference to `Tcl_DeleteInterp' libgdb.a(gdbtk.o): In function `gdbtk_cleanup': /home/compile/insight5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:359: undefined reference to `Tcl_Eval' /home/compile/insight5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:360: undefined reference to `Tcl_Finalize' libgdb.a(gdbtk.o): In function `gdbtk_init': /home/compile/insight5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:391: undefined reference to `Tcl_FindExecutable' /home/compile/insight5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:392: undefined reference to `Tcl_CreateInterp' /home/compile/insight5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:401: undefined reference to `Tcl_Init' /home/compile/insight5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:407: undefined reference to `Tcl_SetVar2' /home/compile/insight5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:411: undefined reference to `Tcl_SetVar2' and so on Any ideas? -- Adam Schuetze <adam at adam-schuetze dot org> Get my pgp keys at http://www dot adam-schuetze dot org rsa f'print B8 80 DA D6 BB CA 80 5F C5 68 1C 08 FE 3E 65 1C dss f'print 46 CB B3 C3 A1 C9 BA 57 7C B4 A1 6A BF 8F 2D 95 2B 7A 1D 77 Boycott the "HackSDMI Challenge"! ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Insight 5.0 make error - /bin/sh: tk: No such file or directory 2000-10-25 19:08 ` Adam Schuetze @ 2000-10-26 1:19 ` Fernando Nasser 0 siblings, 0 replies; 4+ messages in thread From: Fernando Nasser @ 2000-10-26 1:19 UTC (permalink / raw) To: Adam Schuetze; +Cc: Insight Mailing List 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-10-26 1:19 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2000-10-24 21:27 Insight 5.0 make error - /bin/sh: tk: No such file or directory Adam Schuetze 2000-10-25 5:18 ` Fernando Nasser [not found] ` <20001025070203.A1282@alpha.adam-schuetze.org> 2000-10-25 19:08 ` Adam Schuetze 2000-10-26 1:19 ` Fernando Nasser
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).