JPEG AI Reference Software is hard to build and run
I tried the README.md instructions at head and at DIS tag. I encountered multiple issues and could not make the JPEG AI Reference Software build and run.
The environment is a VM with Debian GNU/Linux rodete (Linux 6.12.20-1rodete1-amd64).
Reproducing
git clone -b DIS https://gitlab.com/wg1/jpeg-ai/jpeg-ai-reference-software.git jpeg-ai-dis
cd jpeg-ai-dis
System
make setup_system
sudo ./scripts/setup_system.sh
Package doxygen is a virtual package provided by:
doxygen:i386 1.9.8+ds-2.1 (= 1.9.8+ds-2.1)
You should explicitly select one to install.
Error: Version '1.8.13-10' for 'doxygen' was not found
Package graphviz is a virtual package provided by:
graphviz:i386 2.42.4-2+gu3 (= 2.42.4-2+gu3)
You should explicitly select one to install.
Error: Version '2.40.1-2' for 'graphviz' was not found
python3-dev is already the newest version (3.12.3-1).
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
git-lfs is already the newest version (3.6.1-1).
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
The errors seem fine, more recent versions of the packages are already installed. Could a range of versions be checked instead of a specific one?
Setup with conda
Following https://gitlab.com/wg1/jpeg-ai/jpeg-ai-reference-software/-/tree/DIS?ref_type=tags#setup-environment:
Installed miniconda as described at https://www.anaconda.com/docs/getting-started/miniconda/install#linux.
make configure
...
pyrtools/pyramids/c/convolve.c:240:5: error: type of ‘x_stop’ defaults to ‘int’ [-Wimplicit-int]
error: command '/usr/bin/gcc' failed with exit code 1
ERROR: Failed building wheel for pyrtools
...
error: legacy-install-failure
...
The errors seem critical. I have gcc version 14.2.0 (Debian 14.2.0-19+build4).
Setup with docker
Following https://gitlab.com/wg1/jpeg-ai/jpeg-ai-reference-software/-/tree/DIS?ref_type=tags#setup-environment:
make run_docker
docker run -it --mount src=.,target=/root/vm_init,type=bind diveraak/jpeg_ai:latest /bin/bash
docker: Error response from daemon: invalid mount config for type "bind": invalid mount path: '.' mount path must be absolute.
Not sure where to go from here.