Scientific Linux 6: Build Chromium Browser

I couldn’t find a current build for any of the RHEL 6 clones of Chromium, so I did it myself.
Short and sweet; if you don’t understand the process of using RPMbuild, you’ll need to read up on that.
Get your SRPMs here. Take one of each SRPM listed there. Aside from the basic development libraries, and whatever extra dependencies pop up during the RPMbuild process, you should probably start with:

yum install subversion pkgconfig python perl gcc-c++ bison flex gperf nss-devel nspr-devel gtk2-devel glib2-devel freetype-devel atk-devel pango-devel cairo-devel fontconfig-devel GConf2-devel dbus-devel alsa-lib-devel libX11-devel expat-devel bzip2-devel dbus-glib-devel elfutils-libelf-devel libjpeg-devel mesa-libGLU-devel libXScrnSaver-devel gnome-keyring-devel cups-devel libXtst-devel libXt-devel pam-devel

That’s according to this page. Finally, you’ll need the latest libvpx, libvpx-utils and libvpx-devel from ATrpms — make sure you select the ones for your architecture (i686 vs. x86_64). The slightly older version available from SL repositories won’t work, leaving you an unfix-able error on building one of the SRPMs.
I’m not sure what the canonical build order is, but I went in this order and it worked fine:

  1. v8
  2. libsrtp
  3. libjingle
  4. chromium-ffmpegsumo
  5. chromium

Naturally, you’ll need both the base and “devel” package from each build except the last, the browser itself. I note this build (12.0.742.91) does not offer the silly nonsense about trying to execute “text relocations” which aren’t allowed under SELinux. However, not a bit of your Chrome configurations will be picked up, and Chromium completely failed to import any bookmarks from anywhere. I had to manually move them and reinstall all the extensions I use (Flashblock, Adblock Plus, and Ghostery).
Enjoy.

This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink.

One Response to Scientific Linux 6: Build Chromium Browser

  1. Pingback: Whimper: Google Chrome Broken Again (Updated) « Do What's Right

Comments are closed.