This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem installing toolchain under Cygwin/Windows


There are a few small problems int the toolchain installation running
the ecos-install.tcl script as indicated in
http://ecos.sourceware.org/getstart.html.  By default the script
doesn't indicate what the problem is but does when verbose output is
enabled.  The script is failing to properly capture the contents of
stderr to report them after the problem occurs (why not just leave
stderr unredirected?).  The original problem is that the hard links in
the ecoscentric-gnutools-arm-elf-1.4-2.cygwin.tar.bz2 cannot be
untarred/reproduced when used under Cygwin / WindowsXP.  This problem
also prevents the environment setup files from being produced.

My Cygwin tar is
$ tar --version
tar (GNU tar) 1.16
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.

Running the program as documented results in the following:
$ sh ecos-install.tcl

Unpacking ecoscentric-gnutools-arm-elf-1.4-2.cygwin.tar.bz2...
*** tar returned error.
*** First five lines of error output believed to be:

*** ecos-install.tcl error: tar unpack failed

Running it again with -v option, a few lines like the following occur
mixed in with the rest of the tar verbose output
hrwxr-xr-x bartv/None        0 2003-02-02 18:45
gnutools/arm-elf/arm-elf/bin/g++.exe link to
gnutools/arm-elf/arm-elf/bin/c++.exe
/usr/bin/tar: gnutools/arm-elf/arm-elf/bin/g++.exe: Cannot hard link
to `gnutools/arm-elf/arm-elf/bin/c++.exe': No such file or directory

And it ends with
/usr/bin/tar: Error exit delayed from previous errors
child process exited abnormally
   while executing
"close file10100648"
   invoked from within
"catch "close $tar_fd" code"
   (procedure "ecos_install::cli_fatal_error_handler" line 25)
   invoked from within
"$ecos_install::fatal_error_handler "$msg""
   (procedure "fatal_error" line 2)
   invoked from within
"fatal_error "tar unpack failed""
   (procedure "ecos_install::unpack_tarballs" line 42)
   invoked from within
"ecos_install::unpack_tarballs"
   (procedure "ecos_install::cli_fatal_error_handler" line 15)
   invoked from within
"$ecos_install::fatal_error_handler "$msg""
   (procedure "ecos_install::fatal_error" line 2)
   invoked from within
"ecos_install::fatal_error "*** ecos-install.tcl error: $error_message""
   invoked from within
"if { ! [info exists ecos_install_not_standalone] } {
       # catch any errors while processing the specified command
       if { [ catch {
       ..."
   (file "ecos-install.tcl" line 1184)

--
Chris

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]