This article focuses on how to install the latest Gnome-Shell version under Ubuntu10.10: 1: Install dependency and download setup script sudoapt-getinstallcurljhbuildlibjasper-devlibdconf0libtiff4-devlibgstreamer0.10-devlibcroco3-devxserver-xephyrxulrunner-
This article focuses on how to install the latest Gnome-Shell version in Ubuntu 10.10:
1: Install the dependency and download the setting script.
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 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
Note: If you are using Mozilla Daily PPA, You have to install xulrunner-1.9.2-dev
Sudo apt-get install xulrunner-1.9.2-dev
Next, perform step 3 and Step 3. If you encounter gjs compilation problems in step 2 and 3, you can try to delete the Mozilla Daily PPA and re-Execute step 2.
Sudo apt-get install ppa-purge
Sudo ppa-purge ppa: ubuntu-mozilla-daily/ppa
2. Export Variables
Export PATH = $ PATH:/home/username/bin
Replace username with your username
3. Start compilation.
Cd
Chmod + x gnome-shell-build-setup.sh
/Gnome-shell-build-setup.sh
Jhbuild build
Take a cup of coffee to enjoy it or continue to do other work. This will take a while, depending on the length of the video speed and machine performance.
Also, if you encounter the following problems during compilation:
Question 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]
Solution: do not close the current terminal and open a new terminal,
For 32-bit
Rm ~ /Gnome-shell/install/lib/*. la
For 64-bit
Rm ~ /Gnome-shell/install/lib64/*. la
Then return to the original terminal and run it again.
Jhbuild build
The following content may appear:
[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"
Enter 6 here, and then enter yes according to the prompt. The installation should be successful and the following prompt message will be displayed:
* ** Success ** [28/28]
Question 2:
~ /Gnome-shell/source/gnome-settings-daemon/main. c: 274: undefined reference to 'Your Y _ 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'
Make [2]: *** [all] Error 2
Make [2]: Leaving directory '/home/arindom/gnome-shell/source/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]
Solution:
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
Problem 3: the installation is successful but cannot be started
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
Solution
Rm ~ /Gnome-shell/install/lib/gtk-3.0/modules/libcanberra-gtk-module.so
4. Try to install gnome-shell.
Open the terminal and enter
~ /Gnome-shell/source/gnome-shell/src/gnome-shell-replace
Exit gnome-shell:
ALT + F2, input
Debugexit
5. Upgrade gnome-shell
Cd & jhbuild build-force-clean
If you encounter a previous problem, solve it... If you break your head, you can't do it, bro... Delete gnome-shell in $ HOME and try again.