Compilation - abyzovlab/CNVnator GitHub Wiki
You must install ROOT package and set up $ROOTSYS variable (also see ROOT documentation).
cd src/samtools
make
Even if compilation is not completed but file libbam.a has been created you can continue.
cd ../
make
If make doesn't work, try make OMP=no
which will disable parallel support.