回文章列表
作者WalkingIce.bbs@ptt.cc (會走路的冰塊) 看板: linux
標題Re: [問題] 如何在Ubuntu上裝gtk+2.4?
時間批踢踢實業 (2008/03/19 Wed 03:17:01)
※ 引述《vixen (2tp27t)》之銘言:
: 請問一下:
: 為什麼我找不到gtk+ 2.4的套件呢?
: 請問它的套件名稱與來源是甚麼?
: 從來沒有一次編譯pcman成功的<泣>
: checking for GTK+ - version >= 2.4.0... no
: *** Could not run GTK+ test program, checking why...
: *** The test program failed to compile or link. See the file config.log for
: the
: *** exact error that occured. This usually means GTK+ is incorrectly
: installed.
: Cannot find GTK+/X11 2.4 (or above version)!
: vixen@Raphael:~/pcmanx-mls-gtk2-0.3.7.1$ sudo apt-get install gtk
: Reading package lists... Done
: Building dependency tree
: Reading state information... Done
: E: Couldn't find package gtk

提醒你一下
如果你要編譯程式,通常需要裝的套件都是 dev 結尾的
gtk 的 library 就分成 libgtk 跟 libgtk-dev (字沒有記得很清楚:P)
前者是 runtime library,程式執行時有這個 library 就行了

但如果要編譯的話,還需要 develop 的 library

以後要用 tarball 安裝東西,請記得先服用 dev

aptitude search libgtk |grep dev  找出你需要的套件 :)


話說,pcmanx 不是直接裝就可以了嗎?囧

--


        我想你會衰成這樣都是我害的
                                        ---- Tizzy Mac

                                                緊張的麥金塔?這是誰(._.?)

--
※ 發信站: 批踢踢實業坊(ptt.cc) 
◆ From: 123.193.171.218
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻