Closed a-benati closed 4 months ago
It looks like you don't have a compiler installed inside your container. Try apt install build-essential
.
Thanks @JSKenyon, but I have already installed build-essential
. Here is my definition file for the container for completeness:
Bootstrap: localimage
From: pill:20240201.simg
%runscript
exec /bin/bash "$@"
%post
export DEBIAN_FRONTEND=noninteractive
# Select the timezone
TZ=Europe/Rome
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
apt-get update
# Install software-properties-common
apt-get install -y software-properties-common
# Add KERN-9 repository
add-apt-repository -s ppa:kernsuite/kern-9
apt-add-repository multiverse
apt-add-repository restricted
# Install python3-casacore
apt-get install -y python3-casacore
# Install CubiCal dependencies
apt-get install -y \
casacore-dev \
casacore-data \
build-essential \
python3-pip \
libboost-all-dev \
wcslib-dev \
git \
libcfitsio-dev \
libfreetype-dev \
libagg-dev
# Install CubiCal
pip3 install git+https://github.com/ratt-ru/CubiCal.git@1.4.0
Hi @a-benati,
In kern-9
(ubuntu22.04 support), the latest release of cubical
can be installed with apt-get install cubical
.
If it's the specific version of cubical
you are looking for, note that kern-9
is Python3.10 and above (and python-cascore==3.5.2
),
The setup.py
of the version 1.4.0
currently being installed says python-casacore<=3.0.0
.
This version of python-casacore
was last packaged in kern-5
.
Best regards
@Athanaseus thank you very much, apt-get install cubical
worked!
Incidentally @a-benati - are you aware of https://github.com/ratt-ru/QuartiCal? It may be a more streamlined experience at this point as CubiCal is effectively on life support. If it lacks features you need, please just let me know via the issue tracker.
@JSKenyon yes I am aware of that, but I need CubiCal since I am working with the CARACal pipeline, which implements CubiCal instead of Quartical. However, in the future, outside of CARACal, I will definitely use QuartiCal. Thank you.
Hello,
I am trying to build a singularity image file with CubiCal installed. I managed to successfully install python-casacore and all the CubiCal dependencies, but the installation of CubiCal itself using
pip3 install git+https://github.com/ratt-ru/CubiCal.git@1.4.0
fails. This is the output: