public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1000566] New: ecos-install.tcl  install fails: "Failed to retrieve metadata"/Bad option
@ 2008-06-03 18:55 bugzilla-daemon
  2008-06-04  6:32 ` [Bug 1000566] " bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2008-06-03 18:55 UTC (permalink / raw)
  To: ecos-bugs

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000566

           Summary: ecos-install.tcl  install fails: "Failed to retrieve
                    metadata"/Bad option
           Product: eCos
           Version: 2.0
          Platform: ixdp425 (Intel XScale IXDP425 board)
               URL: http://ecos.sourceware.org/getstart.html
        OS/Version: HostOS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: high
         Component: Other
        AssignedTo: jifl@ecoscentric.com
        ReportedBy: rrajapakse@bfrx.com
         QAContact: ecos-bugs@ecos.sourceware.org
             Class: ---


Downloaded as follows:
      wget --passive-ftp ftp://ecos.sourceware.org/pub/ecos/ecos-install.tcl 
Ran as followes:
      sh ecos-install.tcl 
Result is:
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:
bad option "equal": must be compare, first, index, last, length, match, range,
tolower, toupper, trim, trimleft, trimright, wordend, or wordstart

running on:
Linux 2.6.20-1.2962.fc6 on a PC
tcl ver 8.4


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


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

* [Bug 1000566] ecos-install.tcl  install fails: "Failed to retrieve metadata"/Bad option
  2008-06-03 18:55 [Bug 1000566] New: ecos-install.tcl install fails: "Failed to retrieve metadata"/Bad option bugzilla-daemon
@ 2008-06-04  6:32 ` bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2008-06-04  6:32 UTC (permalink / raw)
  To: ecos-bugs

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.


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

end of thread, other threads:[~2008-06-04  6:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-03 18:55 [Bug 1000566] New: ecos-install.tcl install fails: "Failed to retrieve metadata"/Bad option bugzilla-daemon
2008-06-04  6:32 ` [Bug 1000566] " bugzilla-daemon

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