From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Ingham To: Cor van Loos , Subject: Re: Building Insight (2) Date: Thu, 29 Jun 2000 17:24:00 -0000 Message-id: References: <17962774.962279561504.JavaMail.imail@derby> X-SW-Source: 2000-q2/msg00364.html Also sprach Cor van Loos: > Hello again, > > I downloaded the insight+dejagnu-2000-0612.tar.bz2 file and decompressed it. > > After that I did the following: > > > bash-2.04$ mkdir win32 > bash-2.04$ cd win32 > bash-2.04$ ../insight/configure --target=h8300-hms > ... > ... (All goes okay here, I think..) > ... > bash-2.04$ make > ... > ... > ... > make all-recursive > make[2]: Entering directory `/win32/libgui' > Making all in library > make[3]: Entering directory `/win32/libgui/library' > TCL_LIBRARY=../../../insight/libgui/library/../../tcl/library; export > TCL_LIBRAR > Y; \ > here=`pwd`; \ > \ > cd ../../../insight/libgui/library && \ > echo " auto_mkindex `pwd` advice.tcl balloon.tcl bbox.tcl bgerror.tcl > bindings > .tcl canvas.tcl cframe.tcl center.tcl debug.tcl def.tcl internet.tcl > font.tcl ge > nsym.tcl gettext.tcl hooks.tcl lframe.tcl list.tcl looknfeel.tcl menu.tcl > mono.t > cl multibox.tcl parse_args.tcl path.tcl postghost.tcl prefs.tcl print.tcl > sendpr > .tcl topbind.tcl toolbar.tcl treetable.tcl ulset.tcl wframe.tcl wingrab.tcl > vent > ry.tcl combobox.tcl pane.tcl panedwindow.tcl tree.tcl" | > $here/../../itcl/itcl/u > nix/itclsh.exe > /win32/libgui/library/../../itcl/itcl/unix/itclsh.exe: not found > make[3]: *** [tclIndex] Error 127 > make[3]: Leaving directory `/win32/libgui/library' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/win32/libgui' > make[1]: *** [all-recursive-am] Error 2 > make[1]: Leaving directory `/win32/libgui' > make: *** [all-libgui] Error 2 > bash-2.04$ > Yeah, this looks like a configure bug in libgui. I vaguely remember fixing this in the past (or maybe Chris or Syd did?)? Anyway, the configure is setting ITCL_SH to point to the unix directory. Clearly, it should conditionalize based on whether the HOST is windows or not, and look in the win directory if it is. I think you can fix this with an environment variable, so if itclsh.exe is in /win32/itcl/itcl/win, then try: make ITCL_SH=/win32/itcl/itcl/win/itclsh.exe If this doesn't work, just go edit libgui/Makefile, and replace the unix/itclsh.exe with win/itclsh.exe, and that also will work. Somebody should fix this (not me, I ain't got no Windows boxes...) P.S. I also agree with Keith that libgui should NOT be trying to make the tclIndex as part of the build. It is too fragile, particularly since the wrong version of Itclsh can cause really bad things to happen... Jim Apple Computer