$ cmake . --install-prefix=/usr/local
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Checking for one of the modules 'libzip'
CMake Error: Could not open file for write in copy operation /termpodConfig.cmake.tmp
CMake Error: : System Error: Permission denied
CMake Error at /usr/share/cmake-3.27/Modules/CMakePackageConfigHelpers.cmake:344 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:102 (configure_package_config_file)
CMake Error: File /home/myuser/src/pup/libtermpod/main/libtermpod.pc.in does not exist.
CMake Error at CMakeLists.txt:108 (configure_file):
configure_file Problem configuring file
CMake Error at CMakeLists.txt:120 (install):
install EXPORT given invalid export file name "/termpodConfig.cmake". The
FILE argument may not contain a path. Specify the path in the DESTINATION
argument.
-- Configuring incomplete, errors occurred!
Thanks and best regards.