Package gtk+-3.0 was not found in the pkg-config search path
問題描述:
在fedora21系統上通過rpmbuild構建fcitx的二進制包時出現以上錯誤,經老程序員指點:“是相應的開發包沒有安裝”
解決辦法:
yum installl gtk3-devel 再次進行編譯,通過。
心路歷程;
1、查找pkg-config的用途及使用方法: 管理已安裝包的庫,可以在編譯時進行提取庫信息指定位置。
2、根據man手冊 查找/usr/share/pkgconfig的文件,發現確實沒有gtk3相關的.pc文件
3、根據錯誤提示,計劃將gtk3庫的路徑 寫入環境變量 PKG_CONFIG_PATH中, 結果錯誤仍然一樣
4、錯誤信息粘貼至百度, 檢索出的信息基本沒用,百度也不爭氣……
5、對比項目組測試機的環境變量,沒有發現PKG_CONFIG_PATH相關值
6、詢問老程序員 說“ 可能時gtk3的開發包沒有安裝導致的” 至此over
總結:
錯誤提示有時不能直接把你帶到解決問題的路上,提示僅僅是一個相關包異常發生時的提示,可以以此為中心發散自己的思維, 即:”沒安裝包 或者環境變量沒有設置“;
Package gtk+-3.0 was not found in the pkg-config search path
相關推薦
Package gtk+-3.0 was not found in the pkg-config search path
path 二進制 all 項目 有時 rpm fedora ack share 問題描述: 在fedora21系統上通過rpmbuild構建fcitx的二進制包時出現以上錯誤,經老程序員指點:“是相應的開發包沒有安裝” 解決辦法: yum installl gtk3
對於 Package gstreamer-0.10.23 was not found in the pkg-config search path. 的問題的解決
看是手動安裝還是以二進位制包形式安裝: 把安裝路徑新增到 PKG_CONFIG_LIBDIR 即可。 原文: Manually installed to /usr/local/ ? Or installed as a binary package ? ( You ma
Ubuntu 16.04 LTS 安裝libvips出現”Package vips was not found in the pkg-config search path”
arp dir exp export ron per gconf 部署 director 使用libvips來操作圖像,libvips的部署參考一個Node.js工程:https://github.com/lovell/sharp 在MAC下安裝很順利,到Linux環境下(
解決Package fuse was not found in the pkg-config search path.
gcc -Wall `pkg-config fuse --cflags --libs` -D_FILE_OFFSET_BITS=64 fusexmp.c -o fusexmp Package fuse was not found in the pkg-config sear
Python version 3.3 required, which was not found in the registry
() fix core can war 安裝 錯誤 -c gpa python registry函數語法 在windows下安裝numpy的時候, 出現了"Python version 3.3 required, which was not found in the re
Python version 3.6 required, which was not found in the registry錯誤解決
問題 def eat war use soft 分享 key path 問題: 安裝pywin32出現Python version 3.6 required, which was not found in the registry錯誤解決 解決: 建立一個文件 reg
python version 2.7 required,which was not found in the registry
.html except http nco com name desc log all # # script to register Python 2.0 or later for use with win32all # and other extensions that
安裝第三方庫 報錯Python version 2.7 required, which was not found in the registry
try 三方庫 64位 req not 安裝 window 是我 found 我的Windows 系統是64位 這個問題有人說是註冊表沒有 ,手動註冊了一下就好了,但是我註冊的時候運行報錯。 那麽我的做法是: 刪掉本機所有安裝過得python , 1、 先進入控制面板,刪除
安裝第三方庫出現 Python version 2.7 required, which was not found in the registry
prefix another odin light admin urn utf n! .py 安裝第三方庫出現 Python version 2.7 required, which was not found in the registry 建立一個文件 register.
hive啟動報錯之2、The specified datastore driver ("com.mysql.jdbc.Driver") was not found in the CLASSPATH.
報錯資訊如下: [[email protected] bin]$ ./hive Missing Hive Execution Jar: /opt/soft/apache-hive-1.1.0-cdh5.7.0-bin/lib/hive-exec-*.jar 考慮的
執行Spark SQL報The specified datastore driver ("com.mysql.jdbc.Driver") was not found in the CLASSPATH.
想啟動spark-sql,結果報了 Caused by: org.datanucleus.store.rdbms.connectionpool.DatastoreDriverNotFoundExcept
Python Version 2.7 required which was not found in the registry 問題解決
今天在安裝numpy時,出現了Python Version 2.7 required which was not found in the registry錯誤,解決方案如下。 Python的一些第三方庫只到登錄檔的HKEY_LOCAL_MACHINE\SO
sparksql啟動報錯The specified datastore driver ("com.mysql.jdbc.Driver") was not found in the CLASSPATH
要啟動sparksql並訪問到Hive,有兩個步驟: 1、將$HIVE_HOME/conf/hive-site.xml拷貝到$SPARK_HOME/conf下 2、配置MySQL驅動包,將MySQL驅動包放在一個自定義目錄下,在$SPARK_HOME/conf裡面的spark-def
解決安裝MySQL-python出現的:Python version 2.7 required, which was not found in the registry
安裝MySQL-python-1.2.3.win-amd64-py2.7.exe,時提示:Python version 2.7 required, which was not found in the
安裝Python-Matplotlib時出現的問題--Python version 2.7 required, which was not found in the registry
今天在安裝python的畫圖包的時候出現瞭如題的問題,網上查詢如下的結果: 原因: 64位程式和32位程式檢測登錄檔的位置是不一樣的: 64-bit: HKLM|HKCU\SOFTWARE
出現錯誤日誌:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
div 錯誤日誌 a.out library logs openss product arc nec tomcat6出現錯誤日誌: 信息: The APR based Apache Tomcat Native library which allows optimal pe
The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
6.0 java 解決 cti .dll man apach jdk ive 今天 ,我在Eclipse中啟動Tomcat6.0時,發生如下異常: The Apache Tomcat Native library which allows opt
java: System Java Compiler was not found in classpath: java.lang.ClassNotFoundException: com.s錯誤改正方法
剛開始編譯java 時候,什麼jdk也都安裝完畢了,但是老是出現 老是出現這個問題。現在出來寫一個博文進行記錄一下。 我的編譯環境:jdk版本:1.8;win7;編輯器:IntelliJ Idea ; 解決方法:
Tomcat啟動慢原因之二 he APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.
Tomcat啟動時提示: 資訊: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.
安裝Centos 6.4提示找不到安裝檔案 The centos disc was not found in any of your drives.Please insert the centos d
【1】安裝Centos 6.4提示找不到安裝檔案 The centos disc was not found in any of your drives.Please insert the centos disc and press OK to retry 解決方法: 把CD