Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

cmake(ubuntu): install fails when --prefix is used #3

Open
scharlton2 opened this issue Sep 27, 2022 · 1 comment
Open

cmake(ubuntu): install fails when --prefix is used #3

scharlton2 opened this issue Sep 27, 2022 · 1 comment

Comments

@scharlton2
Copy link
Contributor

mkdir _cmake
cd _cmake
cmake ..
cmake --build . --parallel
cmake --install . --prefix $HOME/.local

yields

-- Install configuration: "Release"
-- Installing: /home/charlton/.local/lib/cmake/IPhreeqc/IPhreeqcConfig.cmake
-- Installing: /home/charlton/.local/lib/cmake/IPhreeqc/IPhreeqcConfigVersion.cmake
-- Installing: /home/charlton/.local/lib/libIPhreeqc.a
-- Installing: /home/charlton/.local/lib/cmake/IPhreeqc/IPhreeqcTargets.cmake
-- Installing: /home/charlton/.local/lib/cmake/IPhreeqc/IPhreeqcTargets-release.cmake
-- Up-to-date: /home/charlton/.local/include/IPhreeqc.h
-- Up-to-date: /home/charlton/.local/include/IPhreeqc.hpp
-- Up-to-date: /home/charlton/.local/include/IPhreeqcCallbacks.h
-- Up-to-date: /home/charlton/.local/include/Keywords.h
-- Up-to-date: /home/charlton/.local/include/PHRQ_exports.h
-- Up-to-date: /home/charlton/.local/include/PHRQ_io.h
-- Up-to-date: /home/charlton/.local/include/Var.h
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/src/IPhreeqc_interface.F90
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/src/README.Fortran
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/database/Amm.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/database/core10.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/database/ColdChem.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/database/frezchem.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/database/iso.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/database/llnl.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/database/minteq.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/database/minteq.v4.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/database/phreeqc.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/database/pitzer.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/database/sit.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/database/Tipping_Hurley.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/database/wateq4f.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/IPhreeqc.pdf
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/NOTICE
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/Phreeqc_2_1999_manual.pdf
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/Phreeqc_3_2013_manual.pdf
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/README
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/RELEASE
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/html
-- Installing: /home/charlton/.local/share/doc/IPhreeqc/examples/c/advect/CMakeLists.txt
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/c/advect/advect.c
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/c/advect/ic
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/c/advect/phreeqc.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/c/advect/README.txt
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/com/excel/phreeqc.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/com/excel/runphreeqc.xls
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/com/excel/withcallback.xls
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/com/python/Gypsum.py
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/com/python/parallel_advect.py
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/com/python/phreeqc.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/com/python/pitzer.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/com/python/wateq4f.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/com/README.txt
-- Installing: /home/charlton/.local/share/doc/IPhreeqc/examples/cpp/advect/CMakeLists.txt
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/cpp/advect/advect.cpp
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/cpp/advect/ic
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/cpp/advect/phreeqc.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/cpp/advect/README.txt
-- Installing: /home/charlton/.local/share/doc/IPhreeqc/examples/fortran/advect/CMakeLists.txt
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/fortran/advect/advect.F90
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/fortran/advect/ic
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/fortran/advect/phreeqc.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/fortran/advect/README.txt
-- Installing: /home/charlton/.local/share/doc/IPhreeqc/examples/using-cmake/CMakeLists.txt
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/using-cmake/ex2
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/using-cmake/main.cpp
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/using-cmake/phreeqc.dat
-- Up-to-date: /home/charlton/.local/share/doc/IPhreeqc/examples/using-cmake/README.txt
CMake Error: Cannot open file for write: /usr/local/share/doc/IPhreeqc/examples/using-cmake/_build/Testing/Temporary/LastStart.log.tmpbceae
CMake Error: : System Error: No such file or directory
Cannot create log file: LastStart.log
CMake Error at /home/charlton/source/repos/coupled/iphreeqc/_cmake/post-install.cmake:6 (ctest_start):
  ctest_start unknown error.


Cannot instantiate test handler ctest_configure
CMake Error at /home/charlton/source/repos/coupled/iphreeqc/_cmake/post-install.cmake:7 (ctest_configure):
  ctest_configure CMakeLists.txt file does not exist
  [/usr/local/share/doc/IPhreeqc/examples/using-cmake/CMakeLists.txt]

@scharlton2
Copy link
Contributor Author

vm: ubuntu-20.04.5-desktop-amd64

scharlton2 pushed a commit that referenced this issue Mar 9, 2023
da9a093d Closes usgs-coupled/phast3#2 (#3)

git-subtree-dir: src
git-subtree-split: da9a093d9aaf63d9336fcf01bfeef5ea9e4f5a87
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant