Skip to content

Building RPMs for HHVM on CentOS 6.6

Samveen edited this page Jun 1, 2015 · 5 revisions

Disclaimer

HHVM is a modern piece of software while Centos 6.6 is ancient. The RPMs created using the instructions on this page will update the base system packages, creating a Chimera. This may break existing software running on your server. For best results, make sure that you have nothing else running on your servers other than HHVM, post installation. Also use this opportunity to plan upgrades to Centos 7/SCL 7/RHEL 7.

You Have Been Warned

Plan

  • Install build pre-requisites
  • Build and install library pre-requisites
  • Build HHVM source RPM
  • Build HHVM RPM

Install Pre-requisites:

Build and Install Library Pre-requisites

We will get the pre-requisite source packages from multiple sources including Centos 7 sources, Fedora sources, epel sources and PLD Linux sources. Rebuild using rpmbuild --rebuild $SRPM, and install using yum localinstall $RPMS

Build HHVM Source RPM

Build HHVM RPM

  • Build the binary RPMs from the source RPM: rpmbuild --rebuild $SRPM

Install and enjoy

  • yum localinstall $HHVM_RPM
Clone this wiki locally