ncbi / SKESA

SKESA assembler
Other
112 stars 18 forks source link

Issue installing SKESA on MacOS Big Sur #31

Open venlajohansson opened 3 years ago

venlajohansson commented 3 years ago

Hi,

I am trying to install SKESA on MacOS Big Sur through Github info but it is having a problem with finding the path to boost program altough I manually downloaded Boost (version 1.72.0).

./boost/program_options/options_description.hpp:11:10: fatal error: 'boost/program_options/config.hpp' file not found

include <boost/program_options/config.hpp>

I am also getting environment conflicts trying to use Anaconda (version 4.10.1) when downloading SKESA. I have the python version 3.8.8. Just for the info, if it helps, environment problems are not present when using earlier python versions.

I also tried to download SKESA with homebrew and it didn't find it.

Do you have any recommendations/solutions to go around it? Thank you for the help!

souvorov commented 3 years ago

Unfortunately I'm not familiar with MacOS, no do I have access to one. From the error it is clear that boost was not found. Did you try to set BOOST_PATH variable?

venlajohansson commented 3 years ago

Hi,

Thank you for your answer! Yes, we set the path to the boost variable with "export PATH=" command.

souvorov commented 3 years ago

Hi, You mentioned that you downloaded boost. Have you followed their instructions to build and install it?

venlajohansson commented 3 years ago

Hi,

We downloaded the version 1.72.0 from this link: https://www.boost.org/users/history/version_1_72_0.html, following their instructions!

souvorov commented 3 years ago

The error you see indicates that the compiler couldn't find boost's include folder. Do you see the boost file structure after setting BOOST_PATH? On my computer it looks like this:

ls $BOOST_PATH include
lib

ls $BOOST_PATH/include/boost/program_options/config.hpp boost-1.72.0-gcc-7.3//include/boost/program_options/config.hpp