[SOLVED]Cannot find package Qt5LinguistTools

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED]Cannot find package Qt5LinguistTools

Postby banjo » Sep 26th, '18, 15:34

I am trying to build Sigil from source to get a later version than what I have from the repositories. I have been digging through the dependency errors thrown out by cmake, and I have managed to whittle the dependencies down to one Qt5 error. CMake is looking for Qt5LinguistTools. Here is the output from the cmake command.

I am doing this on an updated Mageia6 system.

Code: Select all
$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../sigil-src
-- Could NOT find PythonLibs (missing:  PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is at least version "3.4")
-- Using Bundled ZLIB
-- Using Bundled MiniZip
-- Using Bundled Hunspell
-- Using Bundled PCRE
CMake Warning at /lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  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):
  src/CMakeLists.txt:58 (find_package)


CMake Warning at src/CMakeLists.txt:58 (find_package):
  Found package configuration file:

    /lib64/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
  "/lib64/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake"

 

CMake Error at src/CMakeLists.txt:558 (qt5_add_translation):
  Unknown CMake command "qt5_add_translation".


-- Configuring incomplete, errors occurred!
See also "/home/poobah/sigil-build/CMakeFiles/CMakeOutput.log".
See also "/home/poobah/sigil-build/CMakeFiles/CMakeError.log".
[poobah@mageia6 sigil-build]$


I have searched the repositories and cannot find the package that contains Qt5LinguistToolsConfig. I could find qt4-linguist, but nothing for qt5.

I have qttools5 installed.

Here is the structure of the cmake folder in /usr/lib64

Code: Select all
cmake
├── libxml2
│   └── libxml2-config.cmake
├── llvm
│   ├── AddLLVM.cmake
│   ├── AddLLVMDefinitions.cmake
│   ├── AddOCaml.cmake
│   ├── AddSphinxTarget.cmake
│   ├── CheckAtomic.cmake
│   ├── CheckCompilerVersion.cmake
│   ├── ChooseMSVCCRT.cmake
│   ├── CrossCompile.cmake
│   ├── DetermineGCCCompatible.cmake
│   ├── FindOCaml.cmake
│   ├── FindSphinx.cmake
│   ├── GenerateVersionFromCVS.cmake
│   ├── GetSVN.cmake
│   ├── HandleLLVMOptions.cmake
│   ├── HandleLLVMStdlib.cmake
│   ├── LLVM-Config.cmake
│   ├── LLVMConfig.cmake
│   ├── LLVMConfigVersion.cmake
│   ├── LLVMExports.cmake
│   ├── LLVMExports-relwithdebinfo.cmake
│   ├── LLVMExternalProjectUtils.cmake
│   ├── LLVMInstallSymlink.cmake
│   ├── LLVMProcessSources.cmake
│   ├── TableGen.cmake
│   └── VersionFromVCS.cmake
├── Qt5
│   ├── Qt5Config.cmake
│   ├── Qt5ConfigVersion.cmake
│   └── Qt5ModuleLocation.cmake
├── Qt5Concurrent
│   ├── Qt5ConcurrentConfig.cmake
│   └── Qt5ConcurrentConfigVersion.cmake
├── Qt5Core
│   ├── Qt5CoreConfig.cmake
│   ├── Qt5CoreConfigExtras.cmake
│   ├── Qt5CoreConfigExtrasMkspecDir.cmake
│   ├── Qt5CoreConfigVersion.cmake
│   ├── Qt5CoreMacros.cmake
│   └── Qt5CTestMacros.cmake
├── Qt5DBus
│   ├── Qt5DBusConfig.cmake
│   ├── Qt5DBusConfigExtras.cmake
│   ├── Qt5DBusConfigVersion.cmake
│   └── Qt5DBusMacros.cmake
├── Qt5Gui
│   ├── Qt5GuiConfig.cmake
│   ├── Qt5GuiConfigExtras.cmake
│   ├── Qt5GuiConfigVersion.cmake
│   ├── Qt5Gui_QComposePlatformInputContextPlugin.cmake
│   ├── Qt5Gui_QEglFSEmulatorIntegrationPlugin.cmake
│   ├── Qt5Gui_QEglFSIntegrationPlugin.cmake
│   ├── Qt5Gui_QEglFSKmsEglDeviceIntegrationPlugin.cmake
│   ├── Qt5Gui_QEglFSKmsGbmIntegrationPlugin.cmake
│   ├── Qt5Gui_QEglFSX11IntegrationPlugin.cmake
│   ├── Qt5Gui_QEvdevKeyboardPlugin.cmake
│   ├── Qt5Gui_QEvdevMousePlugin.cmake
│   ├── Qt5Gui_QEvdevTabletPlugin.cmake
│   ├── Qt5Gui_QEvdevTouchScreenPlugin.cmake
│   ├── Qt5Gui_QGifPlugin.cmake
│   ├── Qt5Gui_QGtk3ThemePlugin.cmake
│   ├── Qt5Gui_QIbusPlatformInputContextPlugin.cmake
│   ├── Qt5Gui_QICOPlugin.cmake
│   ├── Qt5Gui_QJpegPlugin.cmake
│   ├── Qt5Gui_QLibInputPlugin.cmake
│   ├── Qt5Gui_QLinuxFbIntegrationPlugin.cmake
│   ├── Qt5Gui_QMinimalEglIntegrationPlugin.cmake
│   ├── Qt5Gui_QMinimalIntegrationPlugin.cmake
│   ├── Qt5Gui_QOffscreenIntegrationPlugin.cmake
│   ├── Qt5Gui_QTsLibPlugin.cmake
│   ├── Qt5Gui_QTuioTouchPlugin.cmake
│   ├── Qt5Gui_QVncIntegrationPlugin.cmake
│   ├── Qt5Gui_QXcbEglIntegrationPlugin.cmake
│   ├── Qt5Gui_QXcbGlxIntegrationPlugin.cmake
│   └── Qt5Gui_QXcbIntegrationPlugin.cmake
├── Qt5Network
│   ├── Qt5NetworkConfig.cmake
│   ├── Qt5NetworkConfigVersion.cmake
│   ├── Qt5Network_QConnmanEnginePlugin.cmake
│   ├── Qt5Network_QGenericEnginePlugin.cmake
│   └── Qt5Network_QNetworkManagerEnginePlugin.cmake
├── Qt5OpenGL
│   ├── Qt5OpenGLConfig.cmake
│   └── Qt5OpenGLConfigVersion.cmake
├── Qt5OpenGLExtensions
│   ├── Qt5OpenGLExtensionsConfig.cmake
│   └── Qt5OpenGLExtensionsConfigVersion.cmake
├── Qt5Positioning
│   ├── Qt5PositioningConfig.cmake
│   ├── Qt5PositioningConfigVersion.cmake
│   ├── Qt5Positioning_QGeoPositionInfoSourceFactoryGeoclue.cmake
│   ├── Qt5Positioning_QGeoPositionInfoSourceFactoryGypsy.cmake
│   └── Qt5Positioning_QGeoPositionInfoSourceFactoryPoll.cmake
├── Qt5PrintSupport
│   ├── Qt5PrintSupportConfig.cmake
│   ├── Qt5PrintSupportConfigVersion.cmake
│   └── Qt5PrintSupport_QCupsPrinterSupportPlugin.cmake
├── Qt5Qml
│   ├── Qt5QmlConfig.cmake
│   ├── Qt5QmlConfigExtras.cmake
│   ├── Qt5QmlConfigVersion.cmake
│   ├── Qt5Qml_QDebugMessageServiceFactory.cmake
│   ├── Qt5Qml_QLocalClientConnectionFactory.cmake
│   ├── Qt5Qml_QQmlDebuggerServiceFactory.cmake
│   ├── Qt5Qml_QQmlDebugServerFactory.cmake
│   ├── Qt5Qml_QQmlInspectorServiceFactory.cmake
│   ├── Qt5Qml_QQmlNativeDebugConnectorFactory.cmake
│   ├── Qt5Qml_QQmlNativeDebugServiceFactory.cmake
│   ├── Qt5Qml_QQmlProfilerServiceFactory.cmake
│   ├── Qt5Qml_QQuickProfilerAdapterFactory.cmake
│   └── Qt5Qml_QTcpServerConnectionFactory.cmake
├── Qt5Quick
│   ├── Qt5QuickConfig.cmake
│   └── Qt5QuickConfigVersion.cmake
├── Qt5QuickTest
│   ├── Qt5QuickTestConfig.cmake
│   └── Qt5QuickTestConfigVersion.cmake
├── Qt5Sensors
│   ├── Qt5SensorsConfig.cmake
│   ├── Qt5SensorsConfigVersion.cmake
│   ├── Qt5Sensors_genericSensorPlugin.cmake
│   ├── Qt5Sensors_IIOSensorProxySensorPlugin.cmake
│   ├── Qt5Sensors_LinuxSensorPlugin.cmake
│   ├── Qt5Sensors_QCounterGesturePlugin.cmake
│   ├── Qt5Sensors_QShakeSensorGesturePlugin.cmake
│   └── Qt5Sensors_QtSensorGesturePlugin.cmake
├── Qt5Sql
│   ├── Qt5SqlConfig.cmake
│   ├── Qt5SqlConfigVersion.cmake
│   ├── Qt5Sql_QMYSQLDriverPlugin.cmake
│   ├── Qt5Sql_QODBCDriverPlugin.cmake
│   ├── Qt5Sql_QPSQLDriverPlugin.cmake
│   ├── Qt5Sql_QSQLiteDriverPlugin.cmake
│   └── Qt5Sql_QTDSDriverPlugin.cmake
├── Qt5Svg
│   ├── Qt5SvgConfig.cmake
│   ├── Qt5SvgConfigVersion.cmake
│   ├── Qt5Svg_QSvgIconPlugin.cmake
│   └── Qt5Svg_QSvgPlugin.cmake
├── Qt5Test
│   ├── Qt5TestConfig.cmake
│   ├── Qt5TestConfigExtras.cmake
│   └── Qt5TestConfigVersion.cmake
├── Qt5WebChannel
│   ├── Qt5WebChannelConfig.cmake
│   └── Qt5WebChannelConfigVersion.cmake
├── Qt5WebKit
│   ├── Qt5WebKitConfig.cmake
│   ├── Qt5WebKitConfigVersion.cmake
│   ├── WebKitTargets.cmake
│   └── WebKitTargets-release.cmake
├── Qt5WebKitWidgets
│   ├── Qt5WebKitWidgetsConfig.cmake
│   ├── Qt5WebKitWidgetsConfigVersion.cmake
│   ├── Qt5WebKitWidgetsTargets.cmake
│   └── Qt5WebKitWidgetsTargets-release.cmake
├── Qt5Widgets
│   ├── Qt5WidgetsConfig.cmake
│   ├── Qt5WidgetsConfigExtras.cmake
│   ├── Qt5WidgetsConfigVersion.cmake
│   └── Qt5WidgetsMacros.cmake
├── Qt5Xml
│   ├── Qt5XmlConfig.cmake
│   └── Qt5XmlConfigVersion.cmake
└── Qt5XmlPatterns
    ├── Qt5XmlPatternsConfig.cmake
    └── Qt5XmlPatternsConfigVersion.cmake


There is no Qt5LinguistToolsConfig.cmake in it, which simply confirms the cmake error.

I did find some packages at https://pkgs.org/download/qt5-linguist-tools, but those are for OpenMandriva 3.0. I am disinclined to start installing packages from other distros.

Does anyone know where the Qt5LinguistTools package resides?

Thanks for any help.
Banjo
(_)=='=~
Last edited by banjo on Sep 27th, '18, 01:51, edited 1 time in total.
If only the best bird sang, the forest would be a very quiet place.
User avatar
banjo
 
Posts: 445
Joined: May 4th, '11, 03:50
Location: Reading, Massachusetts

Re: Cannot find package Qt5LinguistTools

Postby doktor5000 » Sep 26th, '18, 19:56

banjo wrote:
Code: Select all
  Could not find a package configuration file provided by "Qt5LinguistTools"
  with any of the following names:

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake



Pretty easy to search if you have a filename or part of it.

Code: Select all
[doktor5000@Mageia6]─[19:04:19]─[~] urpmf Qt5LinguistToolsConfig.cmake                                                                                                                                           
lib64qt5help-devel:/usr/lib64/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake
lib64qt5help-devel:/usr/lib64/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake
libqt5help-devel:/usr/lib/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake
libqt5help-devel:/usr/lib/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Cannot find package Qt5LinguistTools

Postby banjo » Sep 27th, '18, 01:50

Thanks. I did know about that search tool. I installed lib64qt5help-devel and now cmake gets past all of the Qt5 libraries.

Thanks for the help.
Banjo
(_)=='=~
If only the best bird sang, the forest would be a very quiet place.
User avatar
banjo
 
Posts: 445
Joined: May 4th, '11, 03:50
Location: Reading, Massachusetts


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron