|
BuildFromSourceOnUbuntu
IntroductionBased on a guide by Ayoli Step 0: PrerequisitesGet the required packages to build vala and gnome-globalmenu : Open a Terminal (Applications >> Accessories >> Terminal) sudo apt-get install build-essential flex bison gnome-common libglib2.0-dev gtk-doc-tools autoconf2.13 automake1.9 libgtk2.0-dev libdbus-glib-1-dev libwnck-dev libpanel-applet2-dev libgnome-menu-dev libnotify-dev You have two methods to get vala. Either 1a or 1b. If you've installed Vala before by compiling it, make sure to do 1a and 1b before going to Step 2 (to be able to remove all traces of a previous manual Vala install) Step 1-a: Install Vala from the PPA RepositoryYou should add the Repository and update (or install Vala) https://edge.launchpad.net/~bruce89/+archive/ppa Step 1-b: Obtain the Source for Vala 0.5.5cd ~/ wget -c http://download.gnome.org/sources/vala/0.5/vala-0.5.5.tar.bz2 tar xjvf vala-0.5.5.tar.bz2 cd vala-0.5.5/ Step 2: Make sure that no older version of vala is installedIf you're using the source version, make sure that no prior version is installed as a deb by typing sudo dpkg-query --list |grep vala If that is the case then type: sudo apt-get remove vala Make sure that no source install older than 0.5.5 is on your system. As you're in the Vala directory you've just downloaded, just type: sudo make uninstall You can check which version of Vala is installed by typing: valac --version Step 3: Configure and Compile Vala./configure make sudo make install sudo ldconfig You can check that Vala 0.5.5 is installed and that you ready to go on by typing: valac --version Step 4: Obtain the Source for GlobalMenuDownload GlobalMenu cd ~/ svn checkout http://gnome2-globalmenu.googlecode.com/svn/trunk/ gnome-globalmenu-0.7 cd gnome-globalmenu-0.7 Step 5: Configure and Compile GlobalMenu./autogen.sh --prefix=/usr make sudo make install Step 6: Remove an obsolete line if you used GlobalMenu beforeIf you had globalmenu before and have this line in your ~/.gnomerc or ~/.profile : remove it export GTK_MODULES=globalmenu-gnome Step 7: Add the GlobalMenu to your panel and enable it
Step 8: EnjoyAnd report any bug or features you'd want to see in Issues. And voilà ! :) |
hi, i followed every step but i got this error "configure: error: test for libpanelapplet-2.0 and libnotify failed. (--without-gnome-panel to disable)." upon copiling global menu issuing this command: ./autogen.sh
please help, tnx
@pixelazion : install libnotify-dev will fix this
i guess so, but that's strange coz, i did the prerequisites first, must hav missed it. but anyway i made it work using this:
http://sites.google.com/site/cajablatech/various-ubuntu-files/gnome-globalmenu_0.7.1-1.fc10_i386.deb from the other how to in this site.
the strange thing is when I compile the 0.7.2 version from the download section is there were no errors but the menu don't work, then when i compile the one from the SVN it gave me "configure: error: test for libpanelapplet-2.0 and libnotify failed. (--without-gnome-panel to disable)." error. thingy.
but anyway it's working now, but most of the time it quits unexpectedly. especially when i switch from one window to another too fast.
Thanks for the tip, Ayo; I was on the verge of being driven MAD (again). I wish the developers would finish one version (i.e. get the dependencies right, get the right name in the repositories, maybe package an .rpm and a.deb etc.) before going on to the next version... The project's getting a bad reputation for buggy code, etc., just because nothing is finished properly, which is a shame because it's a great idea...
I just compiled Vala 0.5.5, and used it to build the revision 2259 of global menu. The build went well, and I can add the applet to my panel.
The problem is that the preferences menu is blank (just a blank maybe 40x40 pixel window) with nothing in it (I resized it to check). Of course, the global menu functionality is not there at all as I can't see it on the panel.
The only reason I built it all from source is that I had the EXACT same problem with the stable build in the PPA.
Any help/solutions?
.. and Revision 2260 breaks the build on Vala 0.5.5.
i got the same freakin problem as vminch... i just get a litle window with no options in it.. so what should we do?.. plz help ..
I need to build globalmenu again, and I followed the steps on the wiki. rev2640 is not building. All of the issues are in testman.c;
testman.c:6: error: ‘NULL’ undeclared here (not in a function)
etc..
I have the same error: testman.c:6: error: ‘NULL’ undeclared here (not in a function)
i followed all the steps but it did not install for me :(
i'm on ubuntu 10
i'm getting this >
make2?: [testman.vapi] Error 1 make2?: Leaving directory `/home/lalo/gnome-globalmenu-0.7/tests' make1?: [all-recursive] Error 1 make1?: Leaving directory `/home/lalo/gnome-globalmenu-0.7' make: all? Error 2 lalo@lalo-desktop:~/gnome-globalmenu-0.7$ sudo make install make install-recursive make1?: Entering directory `/home/lalo/gnome-globalmenu-0.7' Making install in vapi make2?: Entering directory `/home/lalo/gnome-globalmenu-0.7/vapi' make3?: Entering directory `/home/lalo/gnome-globalmenu-0.7/vapi' make3?: Nothing to be done for `install-exec-am'. make3?: Nothing to be done for `install-data-am'. make3?: Leaving directory `/home/lalo/gnome-globalmenu-0.7/vapi' make2?: Leaving directory `/home/lalo/gnome-globalmenu-0.7/vapi' Making install in tests make2?: Entering directory `/home/lalo/gnome-globalmenu-0.7/tests' /usr/local/bin/valac --vapidir=../vapi -H testman.h -C --basedir=.. --pkg gtk+-2.0 --library testman testman.vala Unknown option -H Run '/usr/local/bin/valac --help' to see a full list of available command line options. make2?: [testman.vapi] Error 1 make2?: Leaving directory `/home/lalo/gnome-globalmenu-0.7/tests' make1?: [install-recursive] Error 1 make1?: Leaving directory `/home/lalo/gnome-globalmenu-0.7' make: install? Error 2 lalo@lalo-desktop:~/gnome-globalmenu-0.7$ sudo make install make install-recursive make1?: Entering directory `/home/lalo/gnome-globalmenu-0.7' Making install in vapi make2?: Entering directory `/home/lalo/gnome-globalmenu-0.7/vapi' make3?: Entering directory `/home/lalo/gnome-globalmenu-0.7/vapi' make3?: Nothing to be done for `install-exec-am'. make3?: Nothing to be done for `install-data-am'. make3?: Leaving directory `/home/lalo/gnome-globalmenu-0.7/vapi' make2?: Leaving directory `/home/lalo/gnome-globalmenu-0.7/vapi' Making install in tests make2?: Entering directory `/home/lalo/gnome-globalmenu-0.7/tests' /usr/local/bin/valac --vapidir=../vapi -H testman.h -C --basedir=.. --pkg gtk+-2.0 --library testman testman.vala Unknown option -H Run '/usr/local/bin/valac --help' to see a full list of available command line options. make2?: [testman.vapi] Error 1 make2?: Leaving directory `/home/lalo/gnome-globalmenu-0.7/tests' make1?: [install-recursive] Error 1 make1?: Leaving directory `/home/lalo/gnome-globalmenu-0.7' make: install? Error 2
this is what i'm am getting when i run the '
found a much easier way to install
http://www.ubuntugeek.com/how-to-install-globalmenu-in-ubuntu-10-04lucid9-10karmic.html
sudo add-apt-repository ppa:globalmenu-team/ppa sudo apt-get update sudo apt-get install gnome-globalmenu
or http://joesteiger.com/2010/06/14/install-global-menu-mac-os-x-like-panel-ubuntu-10-04/
In case anyone else is having this issue on 10.4 ;)