From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Helmut Herrmann" To: "Source Navigator RedHat" Subject: Re: Invalid command "sn_tcl_tk_init" Date: Mon, 07 Aug 2000 11:01:00 -0000 Message-id: <003b01c00099$b778fdd0$0d20a8c0@double> References: X-SW-Source: 2000-q3/msg00248.html From: Mo DeJong > > Hello, > > > > I am new to this list. As I had difficulties in starting Source > > Navigator logged in as normal user after having it installed as root (on > > Linux SuSE 6.4) I searched the archive. I concluded from the > > contributions that one of the available patches fixes the problem. Thus, > > I tried those patches but without success. Could anybody point me into > > the right direction and tell me the actual status? > > > > Thanks, > > Helmut > > You applied this patch? > ftp://sources.redhat.com/pub/sourcenav/releases/patches/0001-spolk-00072 5-patch > > That should have fixed it. This is the part that fixes that > problem. > > Index: snavigator/gui/Makefile.am > =================================================================== > RCS file: /cvs/cvsfiles/devo/snavigator/gui/Makefile.am,v > retrieving revision 1.27.2.2.2.3.4.4 > diff -c -2 -p -r1.27.2.2.2.3.4.4 Makefile.am > *** snavigator/gui/Makefile.am 2000/02/11 23:48:34 1.27.2.2.2.3.4.4 > --- snavigator/gui/Makefile.am 2000/07/25 19:19:57 > *************** tclIndex: $(prog_DATA) > *** 43,47 **** > here=`pwd`; cd $(srcdir) && \ > rm -f tclIndex && \ > ! echo "source $(ITCL_MKINDEX_DIR)/itcl_mkindex.tcl; itcl_mkindex > $(SN_GUI_DIR)" | @ITCL_SH@ > > all-local: tclIndex > --- 43,48 ---- > here=`pwd`; cd $(srcdir) && \ > rm -f tclIndex && \ > ! echo "source $(ITCL_MKINDEX_DIR)/itcl_mkindex.tcl; itcl_mkindex > $(SN_GUI_DIR)" | @ITCL_SH@ && \ > ! chmod 644 tclIndex > > > You just need a chmod. > > Mo DeJong > Red Hat Inc Thank you for your reply. Applying this patch was exactly what I did. The Makefile was changed accordingly and after installation the files such as sninit.tcl were owned by root and had the permissions 644. However, I still got this error message: Error: invalid command name "sn_tcl_tk_init" I have no idea why. (That is why at the moment I have SN created and installed as normal user.) Helmut AEON helmut.herrmann@aeon.de