編譯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     
運行事務檢查
相關文章
相關標籤/搜索