BOUT-dev
BOUT-dev copied to clipboard
gettext required
If configuring without gettext, BOUT++ notices that, and skips it:
-- Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE GETTEXT_MSGFMT_EXECUTABLE)
However, later on requiring BOUT++ fails with:
-- Found SUNDIALS: ~/local/lib/libsundials_[nvecparallel.so](http://nvecparallel.so/);~/local/lib/libsundials_[arkode.so](http://arkode.so/);~/local/lib/libsundials_[cvode.so](http://cvode.so/);~/local/lib/libsundials_[ida.so](http://ida.so/) (found suitable version "5.4.0", minimum required is "5.4.0")
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE
GETTEXT_MSGFMT_EXECUTABLE)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.16/Modules/FindGettext.cmake:81 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
/usr/share/cmake-3.16/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
~/BOUT-dev/build/bout++Config.cmake:143 (find_dependency)
CMakeLists.txt:5 (find_package)
Do we have a check that the bout++Config.cmake is working?
Like compiling some minimal BOUT++ program, and check that it is running?
We've got a bout-config test with CMake, but not a bout++Config.cmake test.
Should be as "simple" as:
cd examples/conduction
cmake . -B build -DCMAKE_PREFIX_PATH=../../build
cmake --build build
./build/conduction