Hello!
Another possibility is that maybe you are using the Makefile for the previous version of the code. The reason that the code is not compiling is that LAMMPS fails to find the MBX headers. If you look inside LAMMPS_HOME/src/MAKE, there should be the Makefile.mpi_mbx file. That file has been updated in the MBX repo. The main difference is that the installation of MBX is performed in MBX_HOME, and not MBX_HOME/install. Thus, if you see a install folder in the path in the Makefile, you may have to update that file. To make it clearer, you probably have now the following first lines in the Makefile:
=====
# mpi = MPI with its default compiler
SHELL = /bin/sh
MBX=$(MBX_HOME)/install
MBX_INC=$(MBX)/include
MBX_LIB=$(MBX)/lib
FFTW=$(FFTW_HOME)
=====
and it should be something like this:
=====
# mpi = MPI with its default compiler
SHELL = /bin/sh
MBX=$(MBX_HOME)
MBX_INC=$(MBX)/include
MBX_LIB=$(MBX)/lib
FFTW=$(FFTW_HOME)
=====
If you look at it, you will see how the bottom part does not have the "install" in the MBX variable definition. Updating this should allow you to properly compile the code.
Then, regarding the unittests, you probably run them when the code is compiled with MPI, which will make them fail. The build in Github is passing, so you can 1) either ignore the test building or 2) compile without mpi (with g++ and without the --enable-mpi flag in configure) and run make check. Either is fine.
See you!
Marc