编译qt工具问题得解决-make[1]:lrelease:命令未找到

make[1]:lrelease:命令未找到,这个问题在百度上不容易查出解决办法,因此在这里记录一下,给道友提供捷径。linux

安装: dnf install -y qt5-linguist架构

日至以下:ui

checking for strip... strip
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OpenSSL... yes
checking for Qt5... yes
checking for lrelease-qt5... no
checking for lrelease... lrelease
checking for rcc-qt5... /usr/lib64/qt5/bin/rcc-qt5
checking for lt_dlopen in -lltdl... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
configure: The Versions of the used libraries are:
configure: Header:
configure: 	OpenSSL 1.1.0f  25 May 2017 0x1010006fL
configure: 	QT: 5.7.1
configure: Libraries:
configure: 	OpenSSL 1.1.0f-fips  25 May 2017
configure: 	QT: 5.7.1
configure: ECC With RFC 5639 Brainpool curves enabled
configure: ###################### WARNING ######################
configure: The versions of the OpenSSL headers and library differ
configure: ###################### WARNING ######################
checking for GNU make... make
configure: A usable 'make' executable was found in /usr/bin/make
checking for linuxdoc... linuxdoc
configure: creating ./config.status
config.status: creating Local.mak
config.status: creating local.h
config.status: local.h is unchanged
config.status: linking ../Makefile to Makefile
  GEN    commithash.h
  LANG   [lang] xca_de.qm
make[1]:lrelease:命令未找到
make[1]: *** [/work/paddy/paddy/xca-1.4.1/Build/../lang/Makefile:17:xca_de.qm] 错误 127
make: *** [Makefile:72:do.lang] 错误 2
make: *** 正在等待未完成的任务....

安装过程:code

依赖关系解决。
==============================================================================================================================================================
 软件包                                  架构                              版本                                       仓库                               大小
==============================================================================================================================================================
安装:
 qt5-linguist                            x86_64                            5.7.1-5.fc26                               fedora                            912 k

事务概要
==============================================================================================================================================================
安装  1 软件包

总下载:912 k
安装大小:3.5 M
肯定吗?[y/N]:y
下载软件包:
qt5-linguist-5.7.1-5.fc26.x86_64.rpm                                                                                          2.0 MB/s | 912 kB     00:00    
--------------------------------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                                          2.0 MB/s | 912 kB     00:00     
运行事务检查
相关文章
相关标签/搜索