This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
re:epk and tcl error
- From: t dot michals at attbi dot com
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 01 Oct 2002 19:44:27 +0000
- Subject: [ECOS] re:epk and tcl error
The issue is that gunzip is a softlink to gzip, for some
reason it is not working.
replace gunzip with gzip. Would this cause problems on
Linux?
>
Currently testing a .epk distribution for testing and
I'm getting the
following error in both the Windows configuration tool
2.11 and using the
tcl script.
I'm using cygwin, the latest and greatest. I have
narrowed it down to the
following tcl line in the ecosadmin.tcl (yes I have no
clue about tcl) I
tried adding /bin/gunzip and it still yields the same
issue.
$ cygtclsh80 ecosadmin.tcl add ../../idtcode/idtpkt-
1.0.epk
ecosadmin error: extracting pkgadd.db:
couldn't execute "gunzip": no such file or directory
# extract the package data file from the specified
gzipped tar archive
if { [ catch { exec > $ecosadmin::null_device gunzip <
$abs_package | tar
xf - $datafile } message ] != 0 } {
fatal_error "extracting $datafile:\n$message"
}
I'm not sure why this is happening? At the $ I can type
in gunzip and it
works:
$ gunzip
gunzip: compressed data not read from a terminal. Use -f
to force
decompression
For help, type: gunzip -h
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss