Hi, I'm trying to install Clustal Omega on my M1 Macbook. I don't want to use conda install. I've downloaded the directory and used the ./configure command. After carrying out some checks, it comes up with an error:
configure: error: Could not find argtable2.h. Try $ ./configure CFLAGS='-Iyour-argtable2-include-path
How should I proceed?
1 answer
The error message indicates that the configure script cannot locate the header file argtable2.h, which is part of the argtable2 library required by Clustal Omega.
To resolve this on your M1 MacBook, install the argtable2 library using Homebrew, as it handles dependencies correctly for the arm64 architecture.
If Homebrew is not installed, execute this command in the Terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Next, install argtable2 with this command:
brew install argtable
Navigate to your Clustal Omega source directory and run the configure command with the appropriate flags to point to Homebrew's installation paths:
./configure CFLAGS='-I/opt/homebrew/include' LDFLAGS='-L/opt/homebrew/lib'
After configuration succeeds, compile the software:
make
Install it to the default location (/usr/local/bin):
make install
If the install step requires elevated permissions, prefix it with sudo. You can now run Clustal Omega using the command clustalo.
Kevin
Log in to answer this question.
See if the answer here helps: Download Clustal Omega on Mac OS