1
而試圖建立的Emacs 24.5與GTK + 2.0我收到以下錯誤我想建立emacs的24.5 GTK + 2.0
checking whether GTK compiles... no
configure: error: Gtk+ wanted, but it does not compile, see config.log.
Maybe some x11-devel files missing?
我使用下面的命令
./configure --prefix=/some_path/ --with-x-toolkit=gtk2 --enable-link-time-optimization
我已搜查無處不在,但仍無法解決此錯誤
是什麼'config.log'說?你使用哪種Linux發行版?你有沒有安裝任何GTK +開發包? – legoscia
你已經安裝了GTK頭?在基於Debian的系統上,例如Ubuntu,該軟件包將被命名爲'libgtk2.0-dev'左右。 – user4815162342
是的,這是問題我沒有開發包,現在解決了:) –