« Financing a MacBookPro [En] | Main | Substitution sympathique en Ksh »

Xulrunner on Mac OS X

Thanks to Benjamin Smedberg, I can now run zap (Mozilla's SIP stack) on my Mac. To be able to run xulrunner apps on a macintosh one needs to install them. You can either install a .xpi file or a directory, I've installed two xulrunner applications, Simple and Zap using the following commands:

cd mozilla/dist/bin
./xulrunner-bin --install-app ../xpi-stage/zap
./xulrunner-bin --install-app ../xpi-stage/simple

This creates zap.app in /Applications/Mozilla and simple.app in /Applications/Mozillatest, these files can be launched like any applications. They don't have custom icons, but that's mainly because, non are provide in the application folder I supose.

If nothing happens when you double click on your newly installed Applications and if you have the following message in your system log :

Could not find compatible GRE between version 1.9a1 and 1.9a1.

This simply means you don't have the Xul runner framework installed. You need to copy XUL.Framewok (from your dist directory) to /Library/Frameworks.

cp -Rp XUL.framework /Library/Frameworks/

And now you can launch your application.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on mars 25, 2006 10:44 AM.

The previous post in this blog was Financing a MacBookPro [En].

The next post in this blog is Substitution sympathique en Ksh.

Many more can be found on the main index page or by looking through the archives.

Photos

www.flickr.com
Creative Commons License
This weblog is licensed under a Creative Commons License.