This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1000566] ecos-install.tcl install fails: "Failed to retrievemetadata"/Bad option
- From: bugzilla-daemon at ecoscentric dot com
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Wed, 4 Jun 2008 07:31:32 +0100
- Subject: [Bug 1000566] ecos-install.tcl install fails: "Failed to retrievemetadata"/Bad option
- References: <bug-1000566-13@http.bugs.ecos.sourceware.org/>
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000566
--- Comment #2 from ravi <rrajapakse@bfrx.com> 2008-06-04 07:31:31 ---
(In reply to comment #1)
> That is odd. It must be complaining about "string equal" but "string equal" has
> existed since at least Tcl 8.1, released eons ago.
>
> For my interest, can you run the following bunch of commands for me and tell me
> the output?
>
> which tclsh
> which tclsh83
> which cygtclsh80
> echo "puts [info tclversion]"| tclsh
>
> Nevertheless I have made a modification to ecos-install.tcl which should allow
> it to work for you, so after you have sent the answer to the above ;-), you
> should be able to retry and it should work.
>
> Jifl
>
I am using tcl 8.0 - which I didn't realize was so old.
Based on your question I updated tcl to 8.5 and now the script WORKS FINE.
Thanks
----------------------------
FYI by the way, before updating tcl (using tcl 8.0) the updated script still
did not work:
sh ecos-install.tcl
eCos installer v2.0 starting...
Written and maintained by Jonathan Larmour <jifl@eCosCentric.com>
Retrieving installer metadata information...
*** ecos-install.tcl error: Failed to retrieve metadata:
wrong # args: should be "string compare string1 string2"
----------------------------
With regard to the commands (run Before the update to tcl 8.5)
[sempron ~]# which tclsh
/opt/redhat/xscale-030422/H-i686-pc-linux-gnulibc2.2/bin/tclsh
[sempron ~]# which tclsh83
/usr/bin/which: no tclsh83 in
(/opt/redhat/xscale-030422/H-i686-pc-linux-gnulibc2.2/bin:/opt/redhat/xscale-030422/H-i686-pc-linux-gnulibc2.2/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/usr/bin:/sbin:/sd/adi/usr/local/bin::/root/bin:/usr/sbin:/usr/bin:/sbin:/sd/adi/usr/local/bin:)
[sempron ~]# which cygtclsh80
/usr/bin/which: no cygtclsh80 in
(/opt/redhat/xscale-030422/H-i686-pc-linux-gnulibc2.2/bin:/opt/redhat/xscale-030422/H-i686-pc-linux-gnulibc2.2/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/usr/bin:/sbin:/sd/adi/usr/local/bin::/root/bin:/usr/sbin:/usr/bin:/sbin:/sd/adi/usr/local/bin:)
[sempron ~]# echo "puts [info tclversion]"| tclsh
8.0
[sempron ~]#
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.