This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Cannot find Tcl shell
- From: Andrew Lunn <andrew at lunn dot ch>
- To: "Meulendijks, J." <Meulendijks at WT dot TNO dot NL>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 9 Sep 2004 15:33:37 +0200
- Subject: Re: [ECOS] Cannot find Tcl shell
- References: <6B80E71673E6D611AC1D0008C7F37BC203F8E5C2@wt15.wt.tno.nl>
On Thu, Sep 09, 2004 at 03:25:23PM +0200, Meulendijks, J. wrote:
> Before he comes up with this error a couple of other tcl files has passed not
> giving an error...
Oh, OK then. This how it find the tcl shell.
#!/bin/bash
# restart using a Tcl shell \
exec sh -c 'for tclshell in tclsh tclsh83 cygtclsh80 ; do \
( echo | $tclshell ) 2> /dev/null && exec $tclshell "`( cygpath -w \
"$0\" ) 2> /dev/null || echo $0`" "$@" ; \
done ; \
echo "heapgen.tcl: cannot find Tcl shell" ; exit 1' "$0" "$@"
See if you can work out why this does not work for you.
Andrew
>
> -----Original Message-----
> From: Andrew Lunn [mailto:andrew@lunn.ch]
> Sent: donderdag 9 september 2004 15:19
> To: Meulendijks, J.
> Cc: 'ecos-discuss@sources.redhat.com'
> Subject: Re: [ECOS] Cannot find Tcl shell
>
>
> On Thu, Sep 09, 2004 at 03:16:26PM +0200, Meulendijks, J. wrote:
> > Hi everybody,
> >
> > When I try to build the default kernel for an ec555 development board with the
> > mpc555 on it. I get the following output:
> > make[1]: Entering directory
> > `/ecos-c/cygwin/Work/Macs_build/services/memalloc/common/v2_0'
> > XPWD=`pwd` ; cd
> > /ecos-c/Cygwin/opt/ecos/ecos-2.0/packages/services/memalloc/common/v2_0/src ;
> sh
> > heapgen.tcl "/ecos-c/cygwin/Work/Macs_install" "$XPWD"
> > heapgen.tcl: cannot find Tcl shell
> > make[1]: Leaving directory
> > `/ecos-c/cygwin/Work/Macs_build/services/memalloc/common/v2_0'
> > make[1]: *** [heaps.cxx] Error 1
> > make: Leaving directory `/ecos-c/cygwin/Work/Macs_build'
> > make: *** [build] Error 2
> >
> > In my opinion the problem lies in heapgen.tcl: cannot find Tcl shell. I
> searched
> > for on answer but I couldn't find it. Has anyone got an idea to solve this
> > problem?
>
> Install tcl!
>
> Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss