Yeah, unfortunately I have had to back out of ubuntu 22.04 to ubuntu 20.04
due to the system hangs problem. I'm now setting up the 20.04 system and
that does not have libcriterion-dev available.

We will see if an older Ubuntu version solves my hanging VM problem.



On Thu, Mar 14, 2024 at 4:47 PM Interrante, John A (GE Aerospace, US) <
john.interra...@ge.com> wrote:

> 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