GWT Firefox 3.6+ plugin on 64bit Fedora 13
Hi again, this time a short code snippet – but a very useful one.
At work I’m working on an Ubuntu 10.4 (love you guys for getting me a PC with Linux without making a fuss about it!) my laptop is on Fedora 13 i586 and my home PC is running Fedora 13 x64. Thank goodnes they’re all linux… ;-) The problem is was that the Google Web Toolkit plugin isn’t working with Firefox 3.6.4 on an x64 system on linux! So… can’t I develop GWT stuff on my super powerful home PC? Of course I can, the only thing I needed to do, is to get the latest sources for the plugin and compile it for myself ;-) Here’s how:
-
cd gwt-source
-
svn checkout http://google-web-toolkit.googlecode.com/svn/trunk/ trunk
-
svn checkout http://google-web-toolkit.googlecode.com/svn/plugin-sdks/ plugin-sdks
-
cd trunk/plugins/xpcom
-
export BROWSER=ff36
-
export DEFAULT_FIREFOX_LIBS=/usr/lib/xulrunner-devel-1.9.2/sdk/lib/
-
make clean
-
make
-
firefox prebuilt/gwt-dev-plugin.xpi
And we’re done — off to GWT development!


July 12th, 2010 at 14:04
Thanks a lot, this was extremely helpful!
Had to add g++, as that is not installed by default, so anyone experiencing compile problems try to install g++
yum install gcc-c++
July 13th, 2010 at 14:53
perfect. Works a treat on my linux amd64 arch workstation. thx!
August 23rd, 2010 at 22:10
Worked perfectly for me (Fedora 13 x86_64) thanks
September 23rd, 2010 at 06:17
Thanks a lot!
October 18th, 2010 at 18:14
This is excellent, it works in Fedora 13 64 bit as well. Thanks for posting this.
October 24th, 2010 at 08:15
Worked perfectly (Slackware 13.1 64 bit)
Thanks a lot!
January 24th, 2011 at 04:15
Works fine for Fedora-14. Thanks for a GREAT tip.
Wasn’t sure what the export of DEFAULT_FIREFOX_LIBS was doing, since I do NOT have any such directory on my system, so I skipped that and it still worked. Was I just lucky? What is the point of that env var?