This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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


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