This is the mail archive of the sourcenav@sources.redhat.com mailing list for the Source Navigator.


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

Re: Getting SN5 running over a 452 install.


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.





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