This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
bug report: tclsh update for freebsd
- From: Chuck McManis <ecos at mcmanis dot com>
- To: ECOS Discussion Group <ecos-discuss at sources dot redhat dot com>
- Date: Sun, 12 Feb 2006 22:25:51 -0800
- Subject: [ECOS] bug report: tclsh update for freebsd
When using FreeBSD the code :
#!/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" "$@"
In $PACKAGES/services/memalloc/common/current/src/heapgen.tcl fails to find
the TCL shell because none of those names map to the one installed on the
system. I added "tclsh8.4" to the line and that fixed it for my install.
In the future, this value should be generated by the configure command in
the sources somewhere so that this script can pick up the installed TCL
(and version) as configured. The workaround is to add the name of your
installed tclsh into this script.
--Chuck
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss