* [ECOS] Problems installing on Windows 7 x64
@ 2012-04-13 23:33 Andrew Hannam
2012-04-14 10:06 ` Fabrizio Carrai
0 siblings, 1 reply; 9+ messages in thread
From: Andrew Hannam @ 2012-04-13 23:33 UTC (permalink / raw)
To: 'eCos Discussion'
When trying to install on Windows 7 x64 I got the following message after
picking the distribution site and the install directory...
Available prebuilt GNU tools:
*** ecos-install.tcl error: *** ecos-install.tcl error: can't read
"ecos_install::toolchains(CYGWIN_NT-6.1-WOW64)": no such element in array
What do I need to do to resolve this?
PS. Searched Archives but couldn't find anything similar.
--
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] 9+ messages in thread
* Re: [ECOS] Problems installing on Windows 7 x64
2012-04-13 23:33 [ECOS] Problems installing on Windows 7 x64 Andrew Hannam
@ 2012-04-14 10:06 ` Fabrizio Carrai
2012-04-14 12:37 ` Fabrizio Carrai
2012-04-14 13:56 ` Fabrizio Carrai
0 siblings, 2 replies; 9+ messages in thread
From: Fabrizio Carrai @ 2012-04-14 10:06 UTC (permalink / raw)
To: Andrew Hannam; +Cc: eCos Discussion
Same problem to me, with the same Windows configuration. Moreover at
the start, sometimes I got the error
$ sh ecos-install.tcl
eCos installer v2.0.1 starting...
Written and maintained by Jonathan Larmour <jifl@eCosCentric.com>
Retrieving installer metadata information...
0 [main] tclsh8.5 1316 child_info_fork::abort: libtcl8.5.dll:
Loaded to different address: parent(0x5E0000) != child(0x590000)
0 [main] tclsh8.5 3240 child_info_fork::abort: libtcl8.5.dll:
Loaded to different address: parent(0x5E0000) != child(0x410000)
0 [main] tclsh8.5 3836 child_info_fork::abort: libtcl8.5.dll:
Loaded to different address: parent(0x5E0000) != child(0x410000)
*** ecos-install.tcl error: Failed to retrieve metadata:
couldn't fork child process: resource temporarily unavailable
This message is in copy to the author: available for any further test.
Thanks in advance.
F.
Il 14 aprile 2012 01:32, Andrew Hannam <andrewh@inmarket.com.au> ha scritto:
> When trying to install on Windows 7 x64 I got the following message after
> picking the distribution site and the install directory...
>
> Available prebuilt GNU tools:
>
> *** ecos-install.tcl error: *** ecos-install.tcl error: can't read
> "ecos_install::toolchains(CYGWIN_NT-6.1-WOW64)": no such element in array
>
> What do I need to do to resolve this?
> PS. Searched Archives but couldn't find anything similar.
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
--
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] 9+ messages in thread
* Re: [ECOS] Problems installing on Windows 7 x64
2012-04-14 10:06 ` Fabrizio Carrai
@ 2012-04-14 12:37 ` Fabrizio Carrai
2012-04-16 15:37 ` Jonathan Larmour
2012-04-14 13:56 ` Fabrizio Carrai
1 sibling, 1 reply; 9+ messages in thread
From: Fabrizio Carrai @ 2012-04-14 12:37 UTC (permalink / raw)
To: eCos Discussion; +Cc: Jonathan Larmour
I found the reason of the error: the tcl_platform(os) call returns
"CYGWIN_NT-6.1-WOW64" instead of the expected "windows" string.
Here the patch that SHOULD avoid the error (the code part below starts
around line 67 of ecos-install.tcl):
# ----------------------------------------------------------------------------
# Namespaces. All code and variables in this script are kept in the namespace
# "ecos_install". This is not really necessary for stand-alone operation, but
# if it ever becomes desirable to embed this script in a larger application then
# using a namespace is a lot easier.
#
# As a fringe benefit, all global variables can be declared inside this
# namespace and initialised.
#
namespace eval ecos_install {
# What OS is this?
variable os $tcl_platform(platform)
# "unix" isn't specific enough, so:
if { $os == "unix" } {
set os $tcl_platform(os)
}
# ---------------- begin patch
if {[string match "CYGWIN*" $os]} {
set os "windows"
}
# ---------------- end patch
I wrote SHOULD since I still experience the random error "couldn't
fork child process: resource temporarily unavailable", so I'm not able
to fully test the patch.
Hope that help.
Ciao
Fabrizio
Il 14 aprile 2012 12:06, Fabrizio Carrai <f.carrai@libero.it> ha scritto:
> Same problem to me, with the same Windows configuration. Moreover at
> the start, sometimes I got the error
>
> $ sh ecos-install.tcl
> eCos installer v2.0.1 starting...
> Written and maintained by Jonathan Larmour <jifl@eCosCentric.com>
>
> Retrieving installer metadata information...
> 0 [main] tclsh8.5 1316 child_info_fork::abort: libtcl8.5.dll:
> Loaded to different address: parent(0x5E0000) != child(0x590000)
> 0 [main] tclsh8.5 3240 child_info_fork::abort: libtcl8.5.dll:
> Loaded to different address: parent(0x5E0000) != child(0x410000)
> 0 [main] tclsh8.5 3836 child_info_fork::abort: libtcl8.5.dll:
> Loaded to different address: parent(0x5E0000) != child(0x410000)
>
> *** ecos-install.tcl error: Failed to retrieve metadata:
> couldn't fork child process: resource temporarily unavailable
>
> This message is in copy to the author: available for any further test.
> Thanks in advance.
>
> F.
>
> Il 14 aprile 2012 01:32, Andrew Hannam <andrewh@inmarket.com.au> ha scritto:
>> When trying to install on Windows 7 x64 I got the following message after
>> picking the distribution site and the install directory...
>>
>> Available prebuilt GNU tools:
>>
>> *** ecos-install.tcl error: *** ecos-install.tcl error: can't read
>> "ecos_install::toolchains(CYGWIN_NT-6.1-WOW64)": no such element in array
>>
>> What do I need to do to resolve this?
>> PS. Searched Archives but couldn't find anything similar.
>>
>>
>> --
>> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>>
--
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] 9+ messages in thread
* Re: [ECOS] Problems installing on Windows 7 x64
2012-04-14 10:06 ` Fabrizio Carrai
2012-04-14 12:37 ` Fabrizio Carrai
@ 2012-04-14 13:56 ` Fabrizio Carrai
2012-04-16 2:38 ` Andrew Hannam
1 sibling, 1 reply; 9+ messages in thread
From: Fabrizio Carrai @ 2012-04-14 13:56 UTC (permalink / raw)
To: eCos Discussion
Solved with the latest CYGWIN update.
Now another problem show up:
$ configtool.exe
-bash: /opt/ecos/ecos-3.0/tools/bin/configtool.exe: Bad address
I also installed the latest cygwin snapshot but with no joy. Any suggestions ?
F.
Il 14 aprile 2012 12:06, Fabrizio Carrai <f.carrai@libero.it> ha scritto:
> Same problem to me, with the same Windows configuration. Moreover at
> the start, sometimes I got the error
>
> $ sh ecos-install.tcl
> eCos installer v2.0.1 starting...
> Written and maintained by Jonathan Larmour <jifl@eCosCentric.com>
>
> Retrieving installer metadata information...
> 0 [main] tclsh8.5 1316 child_info_fork::abort: libtcl8.5.dll:
> Loaded to different address: parent(0x5E0000) != child(0x590000)
> 0 [main] tclsh8.5 3240 child_info_fork::abort: libtcl8.5.dll:
> Loaded to different address: parent(0x5E0000) != child(0x410000)
> 0 [main] tclsh8.5 3836 child_info_fork::abort: libtcl8.5.dll:
> Loaded to different address: parent(0x5E0000) != child(0x410000)
>
> *** ecos-install.tcl error: Failed to retrieve metadata:
> couldn't fork child process: resource temporarily unavailable
>
> This message is in copy to the author: available for any further test.
> Thanks in advance.
>
> F.
>
> Il 14 aprile 2012 01:32, Andrew Hannam <andrewh@inmarket.com.au> ha scritto:
>> When trying to install on Windows 7 x64 I got the following message after
>> picking the distribution site and the install directory...
>>
>> Available prebuilt GNU tools:
>>
>> *** ecos-install.tcl error: *** ecos-install.tcl error: can't read
>> "ecos_install::toolchains(CYGWIN_NT-6.1-WOW64)": no such element in array
>>
>> What do I need to do to resolve this?
>> PS. Searched Archives but couldn't find anything similar.
>>
>>
>> --
>> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>>
--
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] 9+ messages in thread
* RE: [ECOS] Problems installing on Windows 7 x64
2012-04-14 13:56 ` Fabrizio Carrai
@ 2012-04-16 2:38 ` Andrew Hannam
2012-04-16 14:18 ` [ECOS] " John Dallaway
2012-04-16 17:32 ` [ECOS] " Fabrizio Carrai
0 siblings, 2 replies; 9+ messages in thread
From: Andrew Hannam @ 2012-04-16 2:38 UTC (permalink / raw)
To: 'eCos Discussion'
In c:\cygwin\bin
Copy libtcl8.5.dll to tcl84.dll
This fixed it for me.
-----Original Message-----
From: Fabrizio Carrai [mailto:f.carrai@libero.it]
Sent: Saturday, 14 April 2012 11:56 PM
To: eCos Discussion
Subject: Re: [ECOS] Problems installing on Windows 7 x64
Solved with the latest CYGWIN update.
Now another problem show up:
$ configtool.exe
-bash: /opt/ecos/ecos-3.0/tools/bin/configtool.exe: Bad address
I also installed the latest cygwin snapshot but with no joy. Any suggestions
?
F.
Il 14 aprile 2012 12:06, Fabrizio Carrai <f.carrai@libero.it> ha scritto:
> Same problem to me, with the same Windows configuration. Moreover at
> the start, sometimes I got the error
>
> $ sh ecos-install.tcl
> eCos installer v2.0.1 starting...
> Written and maintained by Jonathan Larmour <jifl@eCosCentric.com>
>
> Retrieving installer metadata information...
> 0 [main] tclsh8.5 1316 child_info_fork::abort: libtcl8.5.dll:
> Loaded to different address: parent(0x5E0000) != child(0x590000)
> 0 [main] tclsh8.5 3240 child_info_fork::abort: libtcl8.5.dll:
> Loaded to different address: parent(0x5E0000) != child(0x410000)
> 0 [main] tclsh8.5 3836 child_info_fork::abort: libtcl8.5.dll:
> Loaded to different address: parent(0x5E0000) != child(0x410000)
>
> *** ecos-install.tcl error: Failed to retrieve metadata:
> couldn't fork child process: resource temporarily unavailable
>
> This message is in copy to the author: available for any further test.
> Thanks in advance.
>
> F.
>
> Il 14 aprile 2012 01:32, Andrew Hannam <andrewh@inmarket.com.au> ha
scritto:
>> When trying to install on Windows 7 x64 I got the following message
>> after picking the distribution site and the install directory...
>>
>> Available prebuilt GNU tools:
>>
>> *** ecos-install.tcl error: *** ecos-install.tcl error: can't read
>> "ecos_install::toolchains(CYGWIN_NT-6.1-WOW64)": no such element in
>> array
>>
>> What do I need to do to resolve this?
>> PS. Searched Archives but couldn't find anything similar.
>>
>>
>> --
>> Before posting, please read the FAQ:
>> http://ecos.sourceware.org/fom/ecos
>> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>>
--
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] 9+ messages in thread
* [ECOS] Re: Problems installing on Windows 7 x64
2012-04-16 2:38 ` Andrew Hannam
@ 2012-04-16 14:18 ` John Dallaway
2012-04-16 17:32 ` [ECOS] " Fabrizio Carrai
1 sibling, 0 replies; 9+ messages in thread
From: John Dallaway @ 2012-04-16 14:18 UTC (permalink / raw)
To: eCos Discussion; +Cc: Andrew Hannam, Fabrizio Carrai
Andrew Hannam wrote:
> When trying to install on Windows 7 x64 I got the following message
> after picking the distribution site and the install directory...
>
> Available prebuilt GNU tools:
>
> *** ecos-install.tcl error: *** ecos-install.tcl error: can't read
> "ecos_install::toolchains(CYGWIN_NT-6.1-WOW64)": no such element in
> array
Fabrizio Carrai wrote:
> I found the reason of the error: the tcl_platform(os) call returns
> "CYGWIN_NT-6.1-WOW64" instead of the expected "windows" string.
> Here the patch that SHOULD avoid the error (the code part below starts
> around line 67 of ecos-install.tcl):
Fabrizio Carrai wrote:
> Now another problem show up:
>
> $ configtool.exe
> -bash: /opt/ecos/ecos-3.0/tools/bin/configtool.exe: Bad address
Andrew Hannam wrote:
> In c:\cygwin\bin
>
> Copy libtcl8.5.dll to tcl84.dll
>
> This fixed it for me.
I will fix up ecos-install.tcl as suggested by Fabrizio, but it looks
like new builds of ecosconfig.exe and configtool.exe that use
cygtcl8.5.dll are also desirable. I will take a look at this.
John Dallaway
eCos maintainer
http://www.dallaway.org.uk/john
--
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] 9+ messages in thread
* Re: [ECOS] Problems installing on Windows 7 x64
2012-04-14 12:37 ` Fabrizio Carrai
@ 2012-04-16 15:37 ` Jonathan Larmour
2012-04-16 17:19 ` Fabrizio Carrai
0 siblings, 1 reply; 9+ messages in thread
From: Jonathan Larmour @ 2012-04-16 15:37 UTC (permalink / raw)
To: Fabrizio Carrai; +Cc: eCos Discussion
On 14/04/12 13:37, Fabrizio Carrai wrote:
> I found the reason of the error: the tcl_platform(os) call returns
> "CYGWIN_NT-6.1-WOW64" instead of the expected "windows" string.
> Here the patch that SHOULD avoid the error (the code part below starts
> around line 67 of ecos-install.tcl):
Thanks for that, I've updated the installer.
> I wrote SHOULD since I still experience the random error "couldn't
> fork child process: resource temporarily unavailable", so I'm not able
> to fully test the patch.
That sounds like some sort of cygwin issue I'm afraid, or at least it
looks like some sort of incompatibility between the Tcl and the cygwin.
You might want to make sure that the Tcl installation comes from the same
sort of timeframe as the cygwin installation. For that matter, are you
sure your Tcl installation comes from the cygwin project at all? If it
didn't, that might also explain the new form of tcl_platform.
Jifl
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
** Visit us at NEW:UK - the UK Embedded & Electronics Exhibition **
** ARM Partner Pavilion/Stand #114. 18-19 April. Birmingham NEC **
------["Si fractum non sit, noli id reficere"]------ Opinions==mine
--
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] 9+ messages in thread
* Re: [ECOS] Problems installing on Windows 7 x64
2012-04-16 15:37 ` Jonathan Larmour
@ 2012-04-16 17:19 ` Fabrizio Carrai
0 siblings, 0 replies; 9+ messages in thread
From: Fabrizio Carrai @ 2012-04-16 17:19 UTC (permalink / raw)
To: Jonathan Larmour; +Cc: eCos Discussion
Hi Jonathan,
I'm using a fresh installation of Cygwin and I checked for latest
update of the modules.
Anyhow, now it works. See the past messages for the discussion.
Thanks.
F.
Il 16 aprile 2012 17:36, Jonathan Larmour <jifl@ecoscentric.com> ha scritto:
> On 14/04/12 13:37, Fabrizio Carrai wrote:
>> I found the reason of the error: the tcl_platform(os) call returns
>> [...]
>> I wrote SHOULD since I still experience the random error "couldn't
>> fork child process: resource temporarily unavailable", so I'm not able
>> to fully test the patch.
>
> That sounds like some sort of cygwin issue I'm afraid, or at least it
> looks like some sort of incompatibility between the Tcl and the cygwin.
> You might want to make sure that the Tcl installation comes from the same
> sort of timeframe as the cygwin installation. For that matter, are you
> sure your Tcl installation comes from the cygwin project at all? If it
> didn't, that might also explain the new form of tcl_platform.
>
> Jifl
> --
> eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
> Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
> Registered in England and Wales: Reg No 4422071.
> ** Visit us at NEW:UK - the UK Embedded & Electronics Exhibition **
> ** ARM Partner Pavilion/Stand #114. 18-19 April. Birmingham NEC **
> ------["Si fractum non sit, noli id reficere"]------ Opinions==mine
--
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] 9+ messages in thread
* Re: [ECOS] Problems installing on Windows 7 x64
2012-04-16 2:38 ` Andrew Hannam
2012-04-16 14:18 ` [ECOS] " John Dallaway
@ 2012-04-16 17:32 ` Fabrizio Carrai
1 sibling, 0 replies; 9+ messages in thread
From: Fabrizio Carrai @ 2012-04-16 17:32 UTC (permalink / raw)
To: Andrew Hannam; +Cc: eCos Discussion
It works!
Thanks.
F.
P.S. Only for the sake of completeness, the first time I run
"configtool" I got an error on the execution of the regedit command
("Insufficient privileges").
So, for the first time it is necessary to run the Cygwin shell "as
administrator".
Il 16 aprile 2012 04:38, Andrew Hannam <andrewh@inmarket.com.au> ha scritto:
> In c:\cygwin\bin
>
> Copy libtcl8.5.dll to tcl84.dll
>
> This fixed it for me.
>
> -----Original Message-----
> From: Fabrizio Carrai [mailto:f.carrai@libero.it]
> Sent: Saturday, 14 April 2012 11:56 PM
> To: eCos Discussion
> Subject: Re: [ECOS] Problems installing on Windows 7 x64
>
> Solved with the latest CYGWIN update.
> Now another problem show up:
>
> $ configtool.exe
> -bash: /opt/ecos/ecos-3.0/tools/bin/configtool.exe: Bad address
>
> I also installed the latest cygwin snapshot but with no joy. Any suggestions
> ?
>
> F.
>
> Il 14 aprile 2012 12:06, Fabrizio Carrai <f.carrai@libero.it> ha scritto:
>> Same problem to me, with the same Windows configuration. Moreover at
>> the start, sometimes I got the error
>>
>> $ sh ecos-install.tcl
>> eCos installer v2.0.1 starting...
>> Written and maintained by Jonathan Larmour <jifl@eCosCentric.com>
>>
>> Retrieving installer metadata information...
>> 0 [main] tclsh8.5 1316 child_info_fork::abort: libtcl8.5.dll:
>> Loaded to different address: parent(0x5E0000) != child(0x590000)
>> 0 [main] tclsh8.5 3240 child_info_fork::abort: libtcl8.5.dll:
>> Loaded to different address: parent(0x5E0000) != child(0x410000)
>> 0 [main] tclsh8.5 3836 child_info_fork::abort: libtcl8.5.dll:
>> Loaded to different address: parent(0x5E0000) != child(0x410000)
>>
>> *** ecos-install.tcl error: Failed to retrieve metadata:
>> couldn't fork child process: resource temporarily unavailable
>>
>> This message is in copy to the author: available for any further test.
>> Thanks in advance.
>>
>> F.
>>
>> Il 14 aprile 2012 01:32, Andrew Hannam <andrewh@inmarket.com.au> ha
> scritto:
>>> When trying to install on Windows 7 x64 I got the following message
>>> after picking the distribution site and the install directory...
>>>
>>> Available prebuilt GNU tools:
>>>
>>> *** ecos-install.tcl error: *** ecos-install.tcl error: can't read
>>> "ecos_install::toolchains(CYGWIN_NT-6.1-WOW64)": no such element in
>>> array
>>>
>>> What do I need to do to resolve this?
>>> PS. Searched Archives but couldn't find anything similar.
>>>
>>>
>>> --
>>> Before posting, please read the FAQ:
>>> http://ecos.sourceware.org/fom/ecos
>>> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>>>
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
--
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] 9+ messages in thread
end of thread, other threads:[~2012-04-16 17:32 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-13 23:33 [ECOS] Problems installing on Windows 7 x64 Andrew Hannam
2012-04-14 10:06 ` Fabrizio Carrai
2012-04-14 12:37 ` Fabrizio Carrai
2012-04-16 15:37 ` Jonathan Larmour
2012-04-16 17:19 ` Fabrizio Carrai
2012-04-14 13:56 ` Fabrizio Carrai
2012-04-16 2:38 ` Andrew Hannam
2012-04-16 14:18 ` [ECOS] " John Dallaway
2012-04-16 17:32 ` [ECOS] " Fabrizio Carrai
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).