2014-10-22 27 views
0

我試圖編譯XFCE終端安裝libgtk2.0-dev的,配置也通,說我缺乏GTK2無法在Linux

checking for gtk+-2.0 >= 2.24.0... not found 
*** The required package gtk+-2.0 was not found on your system. 
*** Please install gtk+-2.0 (atleast version 2.24.0) or adjust 

所以我試圖安裝「命令和apt-get安裝libgtk2.0-dev的」

然後我得到真正奇怪的輸出(包括內部錯誤):

Reading package lists... 
Building dependency tree... 
Reading state information... 
Reading extended state information... 
Initializing package states... 
The following NEW packages will be installed: 
    gir1.2-gtk-2.0{a} libatk1.0-dev{a} libcairo-script-interpreter2{a} 
    libcairo2-dev{a} libexpat1-dev{a} libfontconfig1-dev{a} 
    libgdk-pixbuf2.0-dev{a} libglib2.0-dev{a} libgtk2.0-dev libice-dev{a} 
    libpango1.0-dev{a} libpcre3-dev{a} libpcrecpp0{a} libpixman-1-dev{a} 
    libsm-dev{a} libxcb-shm0-dev{a} libxcomposite-dev{a} libxcursor-dev{a} 
    libxft-dev{a} libxinerama-dev{a} libxml2-utils{a} 
    x11proto-composite-dev{a} x11proto-xinerama-dev{a} 
The following packages will be upgraded: 
    gir1.2-pango-1.0 libpango-1.0-0 libpango-1.0-0:i386 libpangocairo-1.0-0 
    libpangocairo-1.0-0:i386 libpangoft2-1.0-0 libpangoft2-1.0-0:i386 
    libpangoxft-1.0-0 libpangoxft-1.0-0:i386 
9 packages upgraded, 23 newly installed, 0 to remove and 39 not upgraded. 
Need to get 7,023 kB of archives. After unpacking 43.7 MB will be used. 
The following packages have unmet dependencies: 
libpango1.0-0 : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed. 
       Depends: libpangocairo-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed. 
       Depends: libpangoxft-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed. 
       Depends: libpangoft2-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed. 
libpango1.0-0:i386 : Depends: libpango-1.0-0:i386 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed. 
         Depends: libpangocairo-1.0-0:i386 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed. 
         Depends: libpangoxft-1.0-0:i386 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed. 
         Depends: libpangoft2-1.0-0:i386 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed. 
Internal error: found 2 (choice -> promotion) mappings for a single choice. 
Internal error: found 2 (choice -> promotion) mappings for a single choice. 
The following actions will resolve these dependencies: 

     Remove the following packages: 
1)  apturl      
2)  banshee      
3)  gir1.2-gkbd-3.0    
4)  gkbd-capplet     
5)  gtk2-engines-murrine   
6)  gtk2-engines-murrine:i386 
7)  ia32-libs     
8)  libappindicator0.1-cil  
9)  libgnomekbd8     
10)  libgtk-sharp-beans-cil  
11)  libgtk2.0-cil    
12)  libmono-addins-gui0.2-cil 
13)  libnotify0.4-cil    
14)  libpango1.0-0    
15)  libpango1.0-0:i386   
16)  libvte9      
17)  mint-meta-core    
18)  mint-meta-xfce    
19)  mintbackup     
20)  mintinstall     
21)  mintwelcome     
22)  python-sexy     
23)  python-vte     
24)  tomboy      
25)  xfce4-dict     
26)  xfce4-terminal    
27)  xfce4-weather-plugin   



Accept this solution? [Y/n/q/?] 

我應該繼續還是我應該怎麼做才能得到安裝GTK2?

回答

0

你不應該用此溶液進行,它會刪除薄荷元核心這是薄荷和薄荷元XFCE的基本包是Xfce會話本身......

爲什麼不能安裝xfce-terminal從apt install xfce-terminal

+0

因爲我想讀取源代碼並進行編譯。順便說一句,我解決了這個問題,或者更確切地說,幾天後它就消失了,我可以在沒有這些警告的情況下安裝軟件包。很奇怪。 – exebook 2014-11-08 00:58:05