This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Clustalw2 installation problem in mac
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:209:32: note: 
      template is declared here
    class _LIBCPP_TEMPLATE_VIS basic_string;
                               ^
2 errors generated.
make[3]: *** [VectorOutOfRange.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Anybody, guide me about this error

software error

Which macOS are you using? If you are trying to use it on catalina (macOS v.10.5.x) this is likely not going to work since clustalW is probably a 32-bit application.

yes i am using macOS Catalina (10.15.6), no i don't want dmg. i am downloading by command line. i have need to install for adding in Path.

Please don't add the same content in multiple answers.

did you get this error with the dmg installer? You need to provide more information.

yes i am using macOS Catalina (10.15.6), no i don't want dmg. i am downloading by command line. i have need to install for adding in Path.

1 answer

You are using a gcc compiler >= 10 if you have the latest version of Xcode tools. You can use a previous version of gcc with brew or if you prefer you can install it with conda and solve the issue:

conda create -n clustalw2 -c biobuilds -y clustalw

Do you know first hand if this is going to work on macOS catalina, which only allows 64-bit applications?

you don't need modify anything in your bashrc/bash_profile, only load the conda environment and clustal will be available in your PATH "inside" the conda env. Every time that you want to use clustal you should use the activation/deactivation steps.

Conda environment for clustalw needs to be active.

ok but still not available, if search clustalw or clustalw2 from terminal.

i am using one code that still showing clustalw is missing.

$ conda activate clustalw2
$ which clustalw2
/path_to/miniconda3/envs/clustalw2/bin/clustalw2

Please check it after close this terminal. For default because i need to use code and for code should be default , you try it after close the terminal again. Thank you so much.

Log in to answer this question.