Slackware Linux Tip-of-the-day: Compiling Firefox 3.6 on slackware64-current

94

On the recommendation of a member if the Slackware Linux User Group on Linux.com I will share the instructions for compiling firefox 3.6 on slackware64-current.

First I would like to give credit to manwichmakeameal, Pig_Pen and the other great users in the #slackware channel  at irc.freenode.net for giving me the instructions to share with everyone else.

 

  • First off download the contents of the firefox source directory from slackware64-current at ftp://slackware.mirrors.tds.net/pub/slackware/slackware64-current/source/xap/mozilla-firefox/, you do not need the file firefox-3.5.7-source.tar.bz2 because you will be using the new source.
  • Download the new source archive (http://mozilla.osuosl.org/pub/mozilla.org/firefox/releases/3.6/source/firefox-3.6.source.tar.bz2) into the directory that holds the downloaded content.
  • Open the slackbuild file (mozilla-firefox.SlackBuild) with your favorite text editor.
  • Change the Build Line (39) to include some designator that you built it, I changed mine to “BUILD=${BUILD:-1_MF}”
  • ChangeThe MOZVERS Line (41) to 1.9.2
  • Add a to the end line 130 to note that an additional configure argument is being added.
  • insert “–disable-libnotify” as line 131
  • Close the editor and save your changes
  • In a terminal type “su -” to log in as root with the user environment loaded.
  • Navigate in the terminal to the directory that contains the slackbuild file.
  • run “sh mozilla-firefox.SlackBuild” to begin the compile process.
  • Wait ~30 mintes, depending on the system, for the compile process to complete.
  • After it is done use the upgradepkg command to upgrade the package from the location that was specified at the end of the compile/build process.
Please remember that this is not an official package, I recommend replacing it with the official package once it is released.