This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Cannot find Tcl shell
- From: "Meulendijks, J." <Meulendijks at WT dot TNO dot NL>
- To: "'Andrew Lunn'" <andrew at lunn dot ch>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 9 Sep 2004 16:42:29 +0200
- Subject: RE: [ECOS] Cannot find Tcl shell
I looks for tclsh83 right? But I got tclsh84 so I changed tclsh83 to tclsh84 but
then he doesn't generate an error so I thought problem solved... But Not :-(
Now he doesn't proceed with building he keeps saying he's building but he
doesn't do anything?!?! Anyone knows an answer to this problem??
-----Original Message-----
From: Andrew Lunn [mailto:andrew@lunn.ch]
Sent: donderdag 9 september 2004 15:34
To: Meulendijks, J.
Cc: 'ecos-discuss@sources.redhat.com'
Subject: Re: [ECOS] Cannot find Tcl shell
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