This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: epk and tcl error
- From: "Koeller, T." <Thomas dot Koeller at baslerweb dot com>
- To: "'t dot michals at attbi dot com'" <t dot michals at attbi dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Wed, 2 Oct 2002 09:15:51 +0200
- Subject: RE: [ECOS] epk and tcl error
This is a problem I encountered too. It is apparently
caused by the fact that the Windows implementation of
Tcl/Tk uses Windows paths. I could work around the
problem by copying gunzip.exe to ./gunzip, like so:
cp "$(which gunzip).exe" ./gunzip
HTH
tk
-----------------------------------------------
Thomas Koeller, Software Development
Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany
Tel +49 (4102) 463-390
Fax +49 (4102) 463-46390
mailto:Thomas.Koeller@baslerweb.com
http://www.baslerweb.com
> -----Original Message-----
> From: t.michals@attbi.com [mailto:t.michals@attbi.com]
> Sent: Tuesday, October 01, 2002 9:44 PM
> To: ecos-discuss@sources.redhat.com
> 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
>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss