Here is how I like to install chicken for building Megatest.
This guide assumes you have the Megatest fossil and are in the build-assist directory and
that you have the opensrc fossil with uv synced:
fossil clone https://www.kiatoa.com/fossils/megatest
fossil clone https://www.kiatoa.com/fossils/opensrc;cd opensrc;fossil uv sync
Make a build directory and go to it:
mkdir build;cd build
Make a destination directory and set PREFIX
export PREFIX=/opt/chicken/5.3.0; mkdir -p $PREFIX
Get chicken:
wget https://code.call-cc.org/releases/5.3.0/chicken-5.3.0.tar.gz
Extract, build, and install chicken:
tar xf chicken-5.3.0.tar.gz; cd chicken-5.3.0; make PLATFORM=linux PREFIX=$PREFIX install; cd ..
Install all needed eggs.
for egg in $(cat ../ck5-egg.list);do echo $egg;ck5 chicken-install $egg;done
Now run the script ../iup-compile.sh for remaining instructions