Here the method to compile yourself the last version of Google Gears. See below for my compilation.
This method works for both 32 and 64 bits.
sudo apt-get install ia32-libs (only for 64 bits) svn checkout http://gears.googlecode.com/svn/trunk/ gears-read-only cd gears-read-only/ wget http://gkovacs.xvm.mit.edu/google-gears-firefox-3.5-x86_64/gears-gcc433.diff patch -p0 -i gears-gcc433.diff chmod +x third_party/gecko_1.9/linux/gecko_sdk/bin/xpidl make -C gears clean make -C gears -j3 MODE=opt #(remove MODE= to use debug version, it allow warning during compilation) #To install : firefox ./gears/bin-opt/installers/gears-linux-opt-*.xpi
If you want an light version, you need to remove stop on warning flag for compilation :
vim gears/tools/config.mk
Delete every referencies of “Werror”.
Here my stuff :


August 3rd, 2009 0:25
[...] User Celogeek auf seinen Blog eine mit Firefox 3.5.1 kompatible Version veröffentlicht, welche man hier downloaden kann. (thx to Celogeek for the Update & [...]
August 30th, 2009 19:08
Have you had any luck compiling the NPAPI version for linux?
I think this is the version that is required for Chromium 64bit
August 30th, 2009 19:37
hi
nop, i’m in holidays so, could you just explain, i will try it
is it a just an upgrade version of gears over trunk of svn repos ?
or anything else ?
did the xpi work on chromium or they need another compilation option ?
August 30th, 2009 19:42
i’m currently trying,
i will let a new 64 bits version as soon as i can compile it properly
August 31st, 2009 21:43
Hi, I have compiled the r3399
September 15th, 2009 5:44
Thanks a lot for the tip! I’ve successfully compiled the debug version of gears, but the opt version has some error reported and failed.
September 19th, 2009 15:13
[...] MODE=opt may stop your compilation as warnings are threated as errors. To avoid this, follow CeloGeek advice or apply my patch in gears-read-only/ [...]
September 27th, 2009 21:32
[...] a este post he podido compilar de forma sencilla google years en mi fedora de 64 bitd y poder [...]
October 3rd, 2009 13:47
You rock, thanks a lot for the instructions, I wish all instructions went this smoothly!
October 3rd, 2009 13:57
By the way I’m running Ubuntu 9.04 (jaunty) 64-bit and installed on Shiretoko/3.5.3 (Firefox 64-bit version 3.5.3 for Ubuntu canonical – 1.0).
If it’s that easy, I mean the diff file is quite small, why doesn’t Google just publish a 64-bit version? Maybe there are problems with other operating systems or they’re really uptight about warnings…
October 3rd, 2009 14:10
You might want to combine these comments, I really should go to sleep… For the paranoid among us, the md5sum of what I compiled: d7b21468e807228e03b99a0a00b6a675 gears-linux-x86_64-opt-0.5.33.0.xpi (opt mode)
October 8th, 2009 9:54
Thanks!
Yours is the only one working plugin for Firefox 3.5.3 and linux 64 bit!
Good job! Wish you all the best!
October 8th, 2009 9:58
[...] http://blog.celogeek.com/linux/linux-tips-and-tricks/google-gears-compilation/ [...]
October 20th, 2009 14:39
[...] Well, no. It’s not supported officially yet. After a little googling, I found this blog [blog.celogeek.com] . This guy has steps on how to compile Google Gears. He’s even kind enough to upload the [...]
October 20th, 2009 14:41
[...] Well, no. It’s not supported officially yet. After a little googling, I found this blog [blog.celogeek.com] . This guy has steps on how to compile Google Gears. He’s even kind enough to upload the [...]
November 2nd, 2009 18:25
[...] http://blog.celogeek.com/linux/linux-tips-and-tricks/google-gears-compilation/ Share this post if you have enjoyed it! [...]
November 12th, 2009 2:27
[...] original source is on celogeek.com, but I have mirrored it here. It’s 3MB. You will need to click “Allow” for it to [...]
December 13th, 2009 2:06
Thanks for the instructions! I now have Gmail working offline again.
December 13th, 2009 18:39
Is there support for Chromium 64 bit yet?
December 13th, 2009 20:32
Don’t know, I just do it for firefox.