This is the mail archive of the insight@sourceware.cygnus.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: Building Insight (2)


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 


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