Hi Mike,

You don't need to install libcriterion-dev to build Daffodil because sbt never 
compiles and runs the C code generator's C unit tests.  You would need 
libcriterion-dev only if you wanted to make changes to the C unit tests and/or 
run them yourself.   BUILD.md tells you how to set up a Daffodil developer's 
complete environment, but not everyone needs to make changes to the C code 
generator so you can skip installing the packages used to develop the C code 
generator.  

If you still want to install libcriterion-dev anyway and you cannot upgrade the 
machine to Ubuntu 22.04 (choosing the same version of OS, compiler, and 
everything else used by CI and developers avoids these kind of problems), then 
<https://github.com/Snaipe/Criterion> says:

Binary releases for Linux x86_64 are available on the release page: 
<https://github.com/Snaipe/Criterion/releases>

If you have a different platform, you can still build the library from source: 
<https://criterion.readthedocs.io/en/latest/setup.html#installation>

If the first binary release you download doesn't work, downloading a 
sufficiently old binary release should work, or you can build the library from 
source.  But as I said, you probably should not worry about libcriterion-dev at 
all.

John

-----Original Message-----
From: Mike Beckerle <mbecke...@apache.org> 
Sent: Thursday, March 14, 2024 3:31 PM
To: dev@daffodil.apache.org
Subject: EXT: unable to build daffodil on ubuntu 20.04

The build instructions call for a module libcriterion-dev which ubuntu (20.04) 
seems to not know about.

Trying to install it piece by piece leads to libcriterion-dev requires 
libcriterion3 which requires libc6(>=2.38)... at that point I figured I better 
stop and ask, as I have libc6 2.31-1 installed (came with the OS)

Reply via email to