public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* Invalid command "sn_tcl_tk_init"
@ 2000-08-06 10:28 Helmut Herrmann
  2000-08-06 11:37 ` Carl Petersen
  2000-08-06 13:18 ` Mo DeJong
  0 siblings, 2 replies; 4+ messages in thread
From: Helmut Herrmann @ 2000-08-06 10:28 UTC (permalink / raw)
  To: Source Navigator RedHat

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Invalid command "sn_tcl_tk_init"
  2000-08-06 10:28 Invalid command "sn_tcl_tk_init" Helmut Herrmann
@ 2000-08-06 11:37 ` Carl Petersen
  2000-08-06 13:18 ` Mo DeJong
  1 sibling, 0 replies; 4+ messages in thread
From: Carl Petersen @ 2000-08-06 11:37 UTC (permalink / raw)
  To: Helmut Herrmann, sourcenav

Helmut Herrmann wrote:
> 
> 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

There was a problem with permissions on a couple of files which
prevented non-root users from running SN. Applying the patches and
rebuilding the SN source should take care of the problem, at least
it does here.

-Carl

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Invalid command "sn_tcl_tk_init"
  2000-08-06 10:28 Invalid command "sn_tcl_tk_init" Helmut Herrmann
  2000-08-06 11:37 ` Carl Petersen
@ 2000-08-06 13:18 ` Mo DeJong
  2000-08-07 11:01   ` Helmut Herrmann
  1 sibling, 1 reply; 4+ messages in thread
From: Mo DeJong @ 2000-08-06 13:18 UTC (permalink / raw)
  To: Helmut Herrmann; +Cc: Source Navigator RedHat

> 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-000725-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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Invalid command "sn_tcl_tk_init"
  2000-08-06 13:18 ` Mo DeJong
@ 2000-08-07 11:01   ` Helmut Herrmann
  0 siblings, 0 replies; 4+ messages in thread
From: Helmut Herrmann @ 2000-08-07 11:01 UTC (permalink / raw)
  To: Source Navigator RedHat

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-08-07 11:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-06 10:28 Invalid command "sn_tcl_tk_init" Helmut Herrmann
2000-08-06 11:37 ` Carl Petersen
2000-08-06 13:18 ` Mo DeJong
2000-08-07 11:01   ` Helmut Herrmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).