2.15 for Ubuntu 16?
RFI detector and quality analysis for astronomical radio observations
Brought to you by:
anoko
Hi,
Im getting the following error while trying to install 2.15 under Ubuntu 16:
CMake Error at /usr/local/share/cmake-3.15/Modules/FindPackageHandleStandardArgs .cmake:137 (message):
Could NOT find Boost (missing: python3 numpy3) (found suitable version
"1.67.0", minimum required is "1.55.0")
Call Stack (most recent call first):
/usr/local/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_ FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.15/Modules/FindBoost.cmake:2164 (find_package_handle_ standard_args)
CMakeLists.txt:34 (find_package)
I think this may be becouse the pckage libboost-numpy-dev is not avalilable for Ubuntu 16.
Below the installation script I use:
export INSTALLDIR=/opt
export AOFLAGGER_VERSION=2.15.0
apt-get install -y --no-install-recommends libxml++2.6-dev libpng12-dev libboost-filesystem${BOOST_VERSION}-dev libboost-date-time${BOOST_VERSION}-dev libboost-signals${BOOST_VERSION}-dev libboost-thread${BOOST_VERSION}-dev libcfitsio3-dev libopenblas-dev doxygen liblua5.3-dev python3-dev
mkdir -p ${INSTALLDIR}/aoflagger/build
cd ${INSTALLDIR}/aoflagger
wget --retry-connrefused "http://downloads.sourceforge.net/project/aoflagger/aoflagger-${AOFLAGGER_VERSION%%.?}.0/aoflagger-${AOFLAGGER_VERSION}.tar.bz2"
tar xf aoflagger-${AOFLAGGER_VERSION}.tar.bz2
cd ${INSTALLDIR}/aoflagger/build
cmake -DCASACORE_ROOT_DIR=${INSTALLDIR}/casacore/ -DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_FLAGS="-O3 -march=native -DNDEBUG" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${INSTALLDIR}/aoflagger ../aoflagger-2.15
make -j 4
make install
Is there a way to overcome it and install 2.15 under Ubuntu 16? (AFAIK Ubuntu 16 is still required for Prefactor 3, since tere are issues when trying to install Prefactor's 3 dependencies (casacore, casarest, python-casaore) under Ubuntu 18.)
Best regards,
Alex
Hi Alex,
You can't work around the need for boost numpy, but as far as I can tell you have these other options:
Hi,
Thank you. Solved by installing manually Boost 1.67.0.
I was never able to compile all old versions of casacore / casarest / python-casacore libraries under Ubuntu 18 in order to install LOFARsoft 3. Do you possibly have some installation notes / scripts you could share?
Best regards,
Alex
Last edit: Alex 2020-02-25
Good to know its solved. I don't have notes, but I thought it is pretty straightforward. If you have specific problems/questions you can send me a mail.