We have cmake
edd@paul:~/git/ta-lib-r(devel)$ which cmake
/usr/bin/cmake
edd@paul:~/git/ta-lib-r(devel)$
yet we see
edd@paul:~/git/ta-lib-r(devel)$ install.r
* installing *source* package found in current working directory ...
* installing *source* package ‘talib’ ...
** this is package ‘talib’ version ‘0.9-1’
** using staged installation
Configure for {talib} v0.9-1
Build-step: Checking for R_HOME [OK]
Build-step: Compiling C-program with R CMD SHLIB [OK]
Build-step: Compiling TA-Lib program with system headers [Failed]
Build-error:
CMake not found on PATH==========================================================================
Install CMake:
Linux:
Debian/Ubuntu: sudo apt-get update && sudo apt-get install -y cmake
Fedora/RHEL/CentOS: sudo dnf install -y cmake
Arch: sudo pacman -S --needed cmake
openSUSE: sudo zypper install -y cmake
macOS:
Homebrew: brew install cmake
MacPorts: sudo port install cmake
Alternatively download the installer: https://cmake.org/download/
After installation, restart the shell or add CMake to PATH
==========================================================================
Submit bug-reports here: https://github.com/serkor1/ta-lib-R
ERROR: configuration failed for package ‘talib’
* removing ‘/usr/local/lib/R/site-library/talib’
Warning message:
In install.packages(pkgs = f, lib = lib, repos = if (isMatchingFile(f)) NULL else repos) :
installation of package ‘.’ had non-zero exit status
edd@paul:~/git/ta-lib-r(devel)$
We have
cmakeyet we see