Hi all.
I am trying to install salmon-0.13.0.
tar -zxvf salmon-0.13.0.tar.gz
cd salmon-0.13.0
mkdir build
cd build
cmake -DFETCH_BOOST=TRUE ..
make
I got the following error:
boost_1_66_0.tar.gz: FAILED sha256sum: WARNING: 1 computed checksum did NOT match boost_1_66_0.tar.gz did not match expected SHA256! Exiting. CMakeFiles/libboost.dir/build.make:90: recipe for target 'libboost-prefix/src/libboost-stamp/libboost-download' failed make[2]: *** [libboost-prefix/src/libboost-stamp/libboost-download] Error 1 CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/libboost.dir/all' failed make[1]: *** [CMakeFiles/libboost.dir/all] Error 2 Makefile:162: recipe for target 'all' failed make: *** [all] Error 2
Before trying this cmake -DFETCH_BOOST=TRUE ..
, I downloaded boost from wget -O boost_1_55_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz/download
tar xzvf boost_1_55_0.tar.gz
cd boost_1_55_0/
sudo apt-get update
sudo apt-get install build-essential g++ python-dev autotools-dev libicu-dev build-essential libbz2-dev
./bootstrap.sh --prefix=/usr/local
user_configFile=find $PWD -name user-config.jam
echo "using mpi ;" >> $user_configFile
I found a solution in this link. But I am unable to understand it properly. I understand I have to edit CMakelist.txt, but I couldn't understand which line to replace with what. But there is no CMakeLists.txt in the build folder.
Thank you for your help in advance!
Thank you all for your suggestions.
With
conda create -n salmon -c conda-forge -c bioconda salmon
I think version 0.13.1 is getting installed :)
Hi Devon,
thanks for the suggestion. I tried to use the exact "conda create" command above in an HPC environment. No error messages, and when I call salmon without any option all looks fine:
However, with a specific command like this one
it keeps working forever without printing anything. I guess something has gone wrong, but I am not sure what I should check?
Perhaps your cluster is having issues. Close the terminal, reconnect and try again. BTW, you'll want
conda activate salmon
to activate the environment, then you don't need to give the full path.