While tried to install with the command make, it gives the following error:
cd libdivsufsort;cmake .;make;cd ..
/bin/sh: 1: cmake: not found
make[1]: Entering directory `/home/manetsus/Desktop/FM-Index-master/libdivsufsort'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory `/home/manetsus/Desktop/FM-Index-master/libdivsufsort'
g++ -I ./libcds/includes/ -I ./libdivsufsort/include/ -c -W -Wall -O3 FM.cpp -o FM.o
FM.cpp:19:24: fatal error: divsufsort.h: No such file or directory
#include "divsufsort.h"
^
compilation terminated.
make: *** [FM.o] Error 1
UPD:
After installing cmake, the following errors are coming:
cd libdivsufsort;cmake .;make;cd ..
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/home/manetsus/Desktop/FM-Index-master/libdivsufsort
CMake Error: Error executing cmake::LoadCache(). Aborting.
make[1]: Entering directory `/home/manetsus/Desktop/FM-Index-master/libdivsufsort'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory `/home/manetsus/Desktop/FM-Index-master/libdivsufsort'
g++ -I ./libcds/includes/ -I ./libdivsufsort/include/ -c -W -Wall -O3 FM.cpp -o FM.o
FM.cpp:19:24: fatal error: divsufsort.h: No such file or directory
#include "divsufsort.h"
^
compilation terminated.
make: *** [FM.o] Error 1
While tried to install with the command
make
, it gives the following error:UPD: After installing cmake, the following errors are coming: