在Ubuntu 10.10下安装最新版Gnome-Shell[Linux安全]
本文“在Ubuntu 10.10下安装最新版Gnome-Shell[Linux安全]”是由七道奇为您精心收集,来源于网络转载,文章版权归文章作者所有,本站不对其观点以及内容做任何评价,请读者自行判断,以下是其具体内容:
本文将侧重介绍安装办法:
1:安装依靠和下载设置脚本
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给删除了,然后再重新履行下边的第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
然后拿杯咖啡去享用大概持续完成其他工作吧,这个需求等候一段时间,具体长度视网速和机械性能
还有,假如在编译中碰到以下问题:
问题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]
办理办法:不要关闭当前终端,翻开一个新终端,
关于32位
rm ~/gnome-shell/install/lib/*.la
关于64位
rm ~/gnome-shell/install/lib64/*.la
然后回到原终端,重新运行
jhbuild build
大概会呈现以下内容:
[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,然后按照提醒输入yes..不出不测,应当安装成功了,会收到以下的提醒信息:
*** 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都给删除了重新来一次吧
以上是“在Ubuntu 10.10下安装最新版Gnome-Shell[Linux安全]”的内容,如果你对以上该文章内容感兴趣,你可以看看七道奇为您推荐以下文章:
本文地址: | 与您的QQ/BBS好友分享! |