Building PDI with cmake --install-prefix <path> or cmake -DCMAKE_INSTALL_PREFIX=<path> fails if <path> does not contain the lib and include directories.
This is because NetCDF is not relocatable and when installed in the staging area the netCDFConfig.cmake file contains absolute path for the final installation path and fails when these do not exist.
nc-config also contains absolute path.
Building PDI with
cmake --install-prefix <path>orcmake -DCMAKE_INSTALL_PREFIX=<path>fails if<path>does not contain thelibandincludedirectories.This is because NetCDF is not relocatable and when installed in the staging area the
netCDFConfig.cmakefile contains absolute path for the final installation path and fails when these do not exist.nc-configalso contains absolute path.