This is the mail archive of the ecos-discuss@sources.redhat.com 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]

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


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