Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  26 Jan 2022, Frederik Wauters, Forum, .gz files 
    Reply  26 Jan 2022, Konstantin Olchanski, Forum, .gz files 
       Reply  31 Jan 2022, Frederik Wauters, Forum, .gz files 
Message ID: 2311     Entry time: 26 Jan 2022     In reply to: 2310     Reply to this: 2328
Author: Konstantin Olchanski 
Topic: Forum 
Subject: .gz files 
> I adapted our analyzer to compile against the manalyzer included in the midas repo.
> TMReadEvent: error: short read 0 instead of -1193512213

I think this problem is fixed in the latest version of midasio and manalyzer, but this update
was not pulled into midas yet. (Canada is in the middle of a covid wave since December).

What happens is you do not have the gzip library installed on your computer and
your analyzer is built without support for gzip.

The fix is done the hard way, the gzip library is no longer optional, but required.

You do not say what linux you use, so I cannot give exact instructions, but for:
ubuntu: apt -y install libz-dev
centos7: installed by default
centos8: installed by default
debian11/raspbian: same as ubuntu

K.O.
ELOG V3.1.4-2e1708b5