public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] Cannot find Tcl shell
@ 2004-09-09 13:25 Meulendijks, J.
  2004-09-09 13:33 ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: Meulendijks, J. @ 2004-09-09 13:25 UTC (permalink / raw)
  To: 'Andrew Lunn', Meulendijks, J.
  Cc: 'ecos-discuss@sources.redhat.com'

Before he comes up with this error a couple of other tcl files has passed not
giving an error...

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

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

* Re: [ECOS] Cannot find Tcl shell
  2004-09-09 13:25 [ECOS] Cannot find Tcl shell Meulendijks, J.
@ 2004-09-09 13:33 ` Andrew Lunn
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Lunn @ 2004-09-09 13:33 UTC (permalink / raw)
  To: Meulendijks, J.; +Cc: 'ecos-discuss@sources.redhat.com'

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

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

* RE: [ECOS] Cannot find Tcl shell
@ 2004-09-09 14:42 Meulendijks, J.
  0 siblings, 0 replies; 5+ messages in thread
From: Meulendijks, J. @ 2004-09-09 14:42 UTC (permalink / raw)
  To: 'Andrew Lunn'; +Cc: 'ecos-discuss@sources.redhat.com'

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

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

* Re: [ECOS] Cannot find Tcl shell
  2004-09-09 13:16 Meulendijks, J.
@ 2004-09-09 13:18 ` Andrew Lunn
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Lunn @ 2004-09-09 13:18 UTC (permalink / raw)
  To: Meulendijks, J.; +Cc: 'ecos-discuss@sources.redhat.com'

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

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

* [ECOS] Cannot find Tcl shell
@ 2004-09-09 13:16 Meulendijks, J.
  2004-09-09 13:18 ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: Meulendijks, J. @ 2004-09-09 13:16 UTC (permalink / raw)
  To: 'ecos-discuss@sources.redhat.com'

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?
By the way I am using eCos Configuration tool 2.0 and cygwin bash 2.05

Thanks in advance.
Jeroen

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2004-09-09 14:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-09 13:25 [ECOS] Cannot find Tcl shell Meulendijks, J.
2004-09-09 13:33 ` Andrew Lunn
  -- strict thread matches above, loose matches on Subject: below --
2004-09-09 14:42 Meulendijks, J.
2004-09-09 13:16 Meulendijks, J.
2004-09-09 13:18 ` Andrew Lunn

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).