From b611cae00fb55db553468a91f8e9d047b64f7fd2 Mon Sep 17 00:00:00 2001 From: Ross Mitchell Date: Fri, 29 Sep 2017 06:53:37 -0700 Subject: [PATCH] Added libnlopt-dev to R installation for AFNI Compilation of R, required for AFNI, was throwing an error related to libnlopt - unable to download the source. This lib is also available as a binary object via apt-get. So, instead of compiling this lib, we now download it. --- neurodocker/interfaces/afni.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neurodocker/interfaces/afni.py b/neurodocker/interfaces/afni.py index fc0da027..142c070b 100644 --- a/neurodocker/interfaces/afni.py +++ b/neurodocker/interfaces/afni.py @@ -121,7 +121,7 @@ def install_binaries(self): "R_installer_debian_ubuntu.sh") cmd += ("\n# Install R" "\n&& apt-get install -yq --no-install-recommends" - "\n\tr-base-dev r-cran-rmpi" + "\n\tr-base-dev r-cran-rmpi libnlopt-dev" '\n || /bin/bash -c "' '\n curl -o /tmp/install_R.sh -sSL {}' '\n && /bin/bash /tmp/install_R.sh"'