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: 2328     Entry time: 31 Jan 2022     In reply to: 2311
Author: Frederik Wauters 
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.

My libz under ubuntu

-- Found ZLIB: /usr/lib/x86_64-linux-gnu/ (found version "1.2.11") 
-- MIDAS: Found ZLIB version 1.2.11

I got both the manalyzer example and mine going with
* the latest midas dev
* + the latest manalyzer (cf6c233)
* + almost latest midasio (568a617, otherwise I get an linking error 

./libmidas.a(midasio.cxx.o): In function `Lz4Error(int)':
midasio.cxx:(.text+0x359): undefined reference to `MLZ4F_getErrorName(unsigned long)'

So this works, I will assume that in the near future this all will come together in the standard midas release.

ELOG V3.1.4-2e1708b5