I'm trying to build and update flightgear on NixOS. You can see the latest draft here: https://github.com/NixOS/nixpkgs/pull/91793 I'm not an experienced C++ dev, and no intentions to become one. But I love flightgear and would like it to work on my favourite distro.
I'm trying to build the newest version, 2020.1.3.
Currently, my build failure is:
- Code: Select all
Call Stack (most recent call first):
CMakeLists.txt:374 (include)
CMake Error at CMakeModules/Translations.cmake:38 (translation_dir_list):
translation_dir_list Function invoked with incorrect arguments for function
named: translation_dir_list
Call Stack (most recent call first):
CMakeLists.txt:374 (include)
Here is the full build log: https://pastebin.com/fCdGGJ95
There are other parts of the log where I'm not sure whether they are a serious problem:
- Code: Select all
CMake Warning at /nix/store/fryj85qdkbfgbcyf9yp6xji8d2plgclv-qtbase-5.12.7-dev/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package):
By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5LinguistTools", but CMake did not find one.
Could not find a package configuration file provided by "Qt5LinguistTools"
with any of the following names:
Qt5LinguistToolsConfig.cmake
qt5linguisttools-config.cmake
Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
set "Qt5LinguistTools_DIR" to a directory containing one of the above
files. If "Qt5LinguistTools" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeModules/Translations.cmake:15 (find_package)
CMakeLists.txt:374 (include)
CMake Warning at CMakeModules/Translations.cmake:15 (find_package):
Found package configuration file:
/nix/store/fryj85qdkbfgbcyf9yp6xji8d2plgclv-qtbase-5.12.7-dev/lib/cmake/Qt5/Qt5Config.cmake
but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
FOUND. Reason given by package:
Failed to find Qt5 component "LinguistTools" config file at
"/nix/store/fryj85qdkbfgbcyf9yp6xji8d2plgclv-qtbase-5.12.7-dev/lib/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake"
In general, I'm happy about any dev help here. If people can tell me in standard linux distro terms what's going wrong and what I would have to do on, say, Debian to fix it, I'll translate that to NixOS terms. Hopefully it will soon work!