ddarriba / modeltest

Best-fit model selection
GNU General Public License v3.0
77 stars 21 forks source link

modeltest installation fail on Mac #56

Open jeanaldrake opened 2 years ago

jeanaldrake commented 2 years ago

I am trying to install Modeltest on a Mac OSX running Mojave 10.14.6. I am getting the following error when I use the command ./configure after the tar.gz for Modeltest-ng-0.1.7. Any help is greatly appreciated! checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... rm: conftest.dSYM: is a directory yes checking dependency style of gcc... gcc3 checking whether ln -s works... yes checking how to run the C preprocessor... gcc -E checking for main in -lm... yes checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking libpll/pll_binary.h usability... no checking libpll/pll_binary.h presence... no checking for libpll/pll_binary.h... no configure: error: pll_binary.h not found

ddarriba commented 2 years ago

Please try cmake:

mkdir build && cd build cmake -DENABLE_GUI=ON .. make

or remove "-DENABLE_GUI=ON" if QT is not available.

You can also try the static OSX GUI distribution: https://github.com/ddarriba/modeltest/releases/download/v0.1.6/modeltest-0.1.6-gui-osx.tar.gz It is the 0.1.6 version but changes between 0.1.6 and 0.1.7 are not significant in terms of accuracy/performance.

BEAST-Community commented 9 months ago

Dear @ddarriba, do you mean jmodeltest2 and prottest3 are not suggested to use?