When I built labCA, I encountered an error as below.
[jkim@localhost labca_3_7_2]$ make
fatal: Not a git repository (or any of the parent directories): .git
make -C ./configure install
make[1]: Entering directory `/usr/local/EPICS_NEW/labca_3_7_2/configure'
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
T_A=linux-x86_64 install
make[2]: Entering directory `/usr/local/EPICS_NEW/labca_3_7_2/configure/O.linux-x86_64'
perl -CSD /usr/local/EPICS_NEW/base-3.15.6/bin/linux-x86_64/convertRelease.pl checkRelease
make[2]: /usr/local/MATLAB/2020b//bin/mexext: Command not found
echo MEXEXT=.mexa64 >>MATLAB_CONFIG_INCLUDE
make[2]: Leaving directory `/usr/local/EPICS_NEW/labca_3_7_2/configure/O.linux-x86_64'
make[1]: Leaving directory `/usr/local/EPICS_NEW/labca_3_7_2/configure'
make -C ./ezca install
make[1]: Entering directory `/usr/local/EPICS_NEW/labca_3_7_2/ezca'
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
T_A=linux-x86_64 install
make[2]: Entering directory `/usr/local/EPICS_NEW/labca_3_7_2/ezca/O.linux-x86_64'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/usr/local/EPICS_NEW/labca_3_7_2/ezca/O.linux-x86_64'
make[1]: Leaving directory `/usr/local/EPICS_NEW/labca_3_7_2/ezca'
make -C ./glue install
make[1]: Entering directory `/usr/local/EPICS_NEW/labca_3_7_2/glue'
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
T_A=linux-x86_64 install
make[2]: Entering directory `/usr/local/EPICS_NEW/labca_3_7_2/glue/O.linux-x86_64'
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -DMATLAB_APP -D_X86_64_ -DUNIX -Dlinux -O3 -g -Wall -mtune=generic -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../include/compiler/gcc -I../../include/os/Linux -I../../include
-I/usr/local/EPICS_NEW/base-3.15.6/include/compiler/gcc -I/usr/local/EPICS_NEW/base-3.15.6/include/os/Linux -I/usr/local/EPICS_NEW/base-3.15.6/include -I../../ezca -I/usr/local/MATLAB/2020b//extern/include -c ../ini.cc
../ini.cc:7:17: fatal error: mex.h: No such file or directory
#include <mex.h>
^
compilation terminated.
make[2]: *** [ini.o] Error 1
make[2]: Leaving directory `/usr/local/EPICS_NEW/labca_3_7_2/glue/O.linux-x86_64'
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory `/usr/local/EPICS_NEW/labca_3_7_2/glue'