Update September 7, 10:30 EDT, US: This post and these directions are no longer relevant as the wonderful folks at Slackware have released Firefox 6.0.2 for Slackware 13.37! My thanks to them!
NOTE: Building Mozilla Firefox depends on the package wireless-tools. If it’s not already installed, install it from /slackware64/n/ on your Slackware CD or grab it from a Slackware mirror. (Alternatively, you can take a look at my hack to the SlackBuild file.)
NOTE: The resulting package will run whether or not wireless-tools is installed.
- Get the SlackBuild files from slackware64-current/source/xap/mozilla-firefox/ on a Slackware mirror. You’ll need these files
- Put them in a convienient place to build. (I like /usr/src/mozilla-firefox)
- Grab the Firefox source file firefox-6.0.2.source.tar.bz2 from ftp://ftp.mozilla.org/pub/firefox/releases/6.0.2/source/ and put it with the other files.
- Open a shell and cd to the directory in which you put the files in steps 2 and 3.
- Set the SlackBuild file executable:chmod a+x mozilla-firefox.SlackBuild
- Run the SlackBuild:./mozilla-firefox.SlackBuild
- After a bit of churning and whirring, you should end up with a package in /tmp named mozilla-firefox-6.0.2-x86_64-1.txz
- To install the package, just open a shell as root.
If you have a previous Mozilla Firefox Slackware package installed, type:
If not, replace the line above with:
At the end of this process, you’ll be left with some extra stuff in /tmp. To get rid of it:
- Move (or copy) the package file mozilla-firefox-6.0.2-x86_64-1.txz to a safe place.
- If you copied the file in step 1, delete the file mozilla-firefox-6.0.2-x86_64-1.txz
- Delete the directories mozilla-release and package-mozilla-firefox
P.S. If you’re interested in how I got this to work, take a look at the journal of my journey.
P.P.S. Updated for 6.0.2 (we miss you, Mozilla.com -)