Re: [問題] pcmanx-pure-gtk2 0.3.2 make 發生錯誤

看板PCman作者 (...)時間19年前 (2005/11/28 22:38), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
※ 引述《ltortoise (...)》之銘言: : 感謝 pcman 給予指導 過了一段忙碌的時間(其實是懶惰), 這星期請到某位大佬來幫忙,解決了下面的問題 : 不過又遇上兩個狀況 : 1.在非 root 的帳號下會有下面的錯誤 確定得要用 root 權限才有辦法進行 make : 2.如果改成 root 進行編譯會有下面的錯誤 : pcmanx_pure_gtk2.cpp: In function `int main(int, char**)': : pcmanx_pure_gtk2.cpp:57: error: 'bindtextdomain' was not declared in this scope : pcmanx_pure_gtk2.cpp:58: error: 'bind_textdomain_codeset' was not declared in this scope : pcmanx_pure_gtk2.cpp:59: error: 'textdomain' was not declared in this scope : make[2]: *** [pcmanx_pure_gtk2.o] Error 1 : make[1]: *** [install-recursive] Error 1 : make: *** [install-recursive] Error 1 這個問題... 在 pcman_pure_gtk2.cpp 中加上 #include <libintl.h> 就可以了 附上 diff 的結果 #include <gtk/gtk.h> #include <gdk/gdk.h> #include <string.h> -#include <libintl.h> #include "mainframe.h" #include "appconfig.h" 但是在成功的 make; make install 之後 執行 pcmanx 卻出現了下面的狀況 (.:7153): Gdk-WARNING **: locale not supported by Xlib (.:7153): Gdk-WARNING **: cannot set locale modifiers (.:7153): Gtk-WARNING **: cannot open display: 再次請問板上的使用者有沒有遇過類似的問題... --- 作業系統:Tiger 編譯環境; gtk 2.6.8 xft 似乎是 2.1.6 intltool 似乎是 0.33 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.34.240.92
文章代碼(AID): #13YnPqZW (PCman)
文章代碼(AID): #13YnPqZW (PCman)