Re: Problem building scotty 2.1.0

Juergen Schoenwaelder (schoenw@cs.utwente.nl)
Thu, 27 Jun 1996 22:32:49 +0200

barnett@grymoire.crd.ge.com (Bruce Barnett) wrote:

> It didn't. Not completely. When I edited the file init.tcl, I got an
> error from TCL that complained about a corrupted index, and that
> init.tcl was being ignored.
>
> It would help if you added something that said:
>
> After adding the proper directories to the init.tcl file, you must
> rebuild the index. You can do this by 'cd'-ing to the directory
> containing the init.tcl file, and typing
>
> echo "auto_mkindex . *.tcl" | tclsh7.5
>
> etc. etc.

It is normally no need to re-create the index. So there is no need for
this additional text.

> Why not have a shell script that edits the init.tcl file, and
> rebuild the index?

This creates a lot of subtle problems in the long term if various
extensions try to "hack" the init.tcl file. There are also issues with
permissions (e.g. Tcl/Tk is already installed by your admin and you
just want to add the scotty extension) that must be taken into
account.

I will now stop responding to this particular topic since I think it
is much better to spend time to fix this bug in Tcl instead of going
through this arguments again and again.

Juergen