From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Artem Khodush" To: Subject: Re: Getting SN5 running over a 452 install. Date: Sat, 19 May 2001 18:47:00 -0000 Message-id: <005d01c0e0cf$78f220c0$3737370a@artem> References: <01051717584000.30629@incognito.switchco.com> X-SW-Source: 2001-q2/msg00164.html Benjamin Scherrey wrote: > > Yes - the behavior I described was under that scenerio. When I try to run as > root I get a different error: 'Error: invalid command name > "Preferences&::load_default_settings"'. > I was hit by this, too. Somehow the tclIndex file in the share/sourcenav/gui directory is not built completely - the script that builds it during install time fails with the error message: application-specific initialization failed: invalid command name "tcl_findLibrary". After I rerun that command by hand, everything works. The script is: here=\`pwd\` && TCL_LIBRARY=%{source_dir}/tcl8.1/library && export TCL_LIBRARY && \\ PATH="\$PATH":%{build_dir}/tcl8.1/unix && export PATH && \\ cd %{prefix}/usr/local/share/sourcenav/gui && \\ rm -f tclIndex && \\ echo "auto_mkindex %{prefix}/usr/local/share/sourcenav/gui" > mkindex.tcl && \\ %{build_dir}/itcl/itcl/unix/itclsh mkindex.tcl && \\ rm -f mkindex.tcl && \\ chmod 644 tclIndex To verify that /usr/local/share/sourcenav/gui/tclIndex is built properly, see if it lists Preferences::load_default_settings among other things. Or you may just grab that file from the binary and drop it onto your installation.