自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

在Ubuntu 10.10下安裝最新版Gnome-Shell

系統(tǒng) Linux
本文介紹如何在Ubuntu 10.10下通過git安裝最新版Gnome-Shell。文章著重介紹安裝方法,以及安裝過程中可能出現(xiàn)的問題與解決辦法。

本文將著重介紹安裝方法:

1:安裝依賴和下載設(shè)置腳本

sudo apt-get install curl jhbuild libjasper-dev libdconf0 libtiff4-dev libgstreamer0.10-dev
libcroco3-dev xserver-xephyr xulrunner-dev python-dev mesa-utils mesa-common-dev libreadline5-dev
libgl1-mesa-dev libwnck-dev librsvg2-dev libgnome-desktop-dev libgnome-menu-dev
libffi-dev libgtk2.0-dev libgconf2-dev libdbus-glib-1-dev gtk-doc-tools gnome-common
git-core flex bison automake build-essential icon-naming-utils autopoint libcanberra-dev
libpulse-dev libvorbis-dev gnome-settings-daemon-dev libxklavier-dev libpam0g-dev libtasn1-3-bin
libupower-glib-dev libgnome-keyring-dev
cd
curl -O http://git.gnome.org/browse/gnome-shell/plain/tools/build/gnome-shell-build-setup.sh

注意:如果你在使用Mozilla Daily PPA,你還得安裝xulrunner-1.9.2-dev

sudo apt-get install xulrunner-1.9.2-dev

接下來進行2,3步,如果在2,3步遇到gjs編譯的問題,你可以嘗試把Mozilla Daily PPA給刪除了,然后再重新執(zhí)行下邊的第2步

sudo apt-get install ppa-purge
sudo ppa-purge ppa:ubuntu-mozilla-daily/ppa

2 導出變量

export PATH=$PATH:/home/username/bin

username換成你的用戶名

3 開始編譯

cd
chmod +x gnome-shell-build-setup.sh
./gnome-shell-build-setup.sh
jhbuild build

然后拿杯咖啡去享受或者繼續(xù)完成其他工作吧,這個需要等待一段時間,具體長度視網(wǎng)速和機器性能

還有,如果在編譯中遇到以下問題:

問題1:

/home/andrei/gnome-shell/install/lib/libgio-2.0.so: undefined reference to `g_main_context_invoke’
collect2: ld returned 1 exit status
[...]
*** Error during phase build of gnome-shell: ########## Error running make   *** [24/28]

解決辦法:不要關(guān)閉當前終端,打開一個新終端,

對于32位

rm ~/gnome-shell/install/lib/*.la

對于64位

rm ~/gnome-shell/install/lib64/*.la

然后回到原終端,重新運行

jhbuild build

可能會出現(xiàn)以下內(nèi)容:

[1] Rerun phase build
[2] Ignore error and continue to install
[3] Give up on module
[4] Start shell
[5] Reload configuration
[6] Go to phase “wipe directory and start over”
[7] Go to phase “configure”
[8] Go to phase “clean”
[9] Go to phase “distclean”

在這里輸入6,然后根據(jù)提示輸入yes..不出意外,應(yīng)該安裝成功了,會收到如下的提示信息:

*** success *** [28/28]

問題2:

~/gnome-shell/source/gnome-settings-daemon/gnome-settings-daemon/main.c:274: undefined reference to `notify_init’
collect2: ld returned 1 exit status
make[3]: *** [gnome-settings-daemon] Error 1
make[3]: Leaving directory `/home/arindom/gnome-shell/source/gnome-settings-daemon/gnome-settings-daemon’
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/arindom/gnome-shell/source/gnome-settings-daemon/gnome-settings-daemon’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/arindom/gnome-shell/source/gnome-settings-daemon’
make: *** [all] Error 2
*** Error during phase build of gnome-settings-daemon: ########## Error running make *** [26/28]

解決辦法:

cd ~/bin
./jhbuild shell
cd ~/gnome-shell/source
git clone git://git.gnome.org/libnotify
cd ./libnotify
./autogen.sh –prefix $HOME/gnome-shell/install/
make && make install

問題3:安裝成功,卻無法啟動

andrei@andrei-desktop:~$ ~/gnome-shell/source/gnome-shell/src/gnome-shell –replace
mutter: symbol lookup error: /home/andrei/gnome-shell/install/lib/gtk-3.0/modules/libcanberra-gtk-module.so:
undefined symbol: gtk_quit_add

解決辦法

rm ~/gnome-shell/install/lib/gtk-3.0/modules/libcanberra-gtk-module.so

4 嘗試安裝好的gnome-shell

打開終端,輸入

~/gnome-shell/source/gnome-shell/src/gnome-shell –replace

退出gnome-shell:

ALT+F2,輸入

debugexit

5 升級gnome-shell

cd && jhbuild build –force –clean

如果遇到以前問題,解決就是了…如果遇到撞破頭皮也搞不定的,兄弟…把$HOME里的gnome-shell都給刪除了重新來一次吧

原文:Ubuntu10.10下通過git安裝***版的GNOME-SHELL

【編輯推薦】

  1. Ubuntu 10.10服務(wù)器版如何搭建云環(huán)境
  2. Ubuntu 10.10體驗手記 窺探可愛狐獴
  3. gnome-light操作系統(tǒng)安裝出錯的解決方案
責任編輯:yangsai 來源: WoWUbuntu
相關(guān)推薦

2011-09-02 17:12:42

UbuntuGNOME 3

2023-11-19 19:01:53

UbuntuCalibre

2013-10-08 14:51:29

Gnome 3Gnome-Shell

2012-01-30 13:58:36

Linux Deepi Gnome Shel

2009-12-31 11:09:36

Ubuntu wine

2011-06-07 15:19:19

PuppetUbuntu

2013-08-26 17:17:37

Ubuntu 12.0

2011-07-15 09:46:27

Gnome-Shell

2010-12-15 13:48:01

Ubuntu 10.1JDKEclipse

2012-05-25 10:00:46

Ubuntu 12.0Linux

2020-02-25 20:50:38

UbuntuLinuxGit

2020-08-14 13:50:13

UbuntuHandbrakeLinux

2011-09-07 13:33:51

ubuntuUbuntu Twea

2011-03-11 12:57:36

UBUNTU10.10安裝LAMP

2012-04-11 10:28:19

LinuxUbuntu 12.0

2011-09-19 10:25:59

VimUbuntu

2010-11-18 09:40:08

2010-06-08 10:15:45

opensuse 11

2025-04-14 02:25:00

2022-02-16 09:22:25

Wine 7.2Linux微信
點贊
收藏

51CTO技術(shù)棧公眾號