mirror of
https://github.com/facebook/hhvm.git
synced 2026-03-20 04:46:21 +00:00
Page:
Building RPMs for HHVM on CentOS 6.6
Pages
Building and installing HHVM on OSX 10.8 With Homebrew
Building RPMs for HHVM on CentOS 6.6
Building and Installing HHVM on Cygwin
Building and Installing HHVM
Building and Installing on FreeBSD 8.2
Building and Installing on OpenBSD 6.1
Building and installing HHVM on Amazon Linux 2013.09.1
Building and installing HHVM on Amazon Linux 2014.03
Building and installing HHVM on Amazon Linux 2016.03
Building and installing HHVM on CentOS 5
Building and installing HHVM on CentOS 6.3
Building and installing HHVM on CentOS 6.4
Building and installing HHVM on CentOS 6.6
Building and installing HHVM on Debian 6
Building and installing HHVM on Debian 7
Building and installing HHVM on Debian 8
Building and installing HHVM on Fedora 19 or 20
Building and installing HHVM on Fedora 19
Building and installing HHVM on FreeBSD from ports
Building and installing HHVM on Gentoo
Building and installing HHVM on Mint 15
Building and installing HHVM on Mint 17
Building and installing HHVM on OSX 10.10 with MacPorts
Building and installing HHVM on OSX 10.10
Building and installing HHVM on OSX 10.9
Building and installing HHVM on RHEL 7
Building and installing HHVM on Ubuntu 12.04
Building and installing HHVM on Ubuntu 12.10
Building and installing HHVM on Ubuntu 13.04
Building and installing HHVM on Ubuntu 13.10
Building and installing HHVM on Ubuntu 14.04 (arm64)
Building and installing HHVM on Ubuntu 14.04
Building and installing HHVM on Ubuntu 14.10
Building and installing HHVM on Ubuntu 15.04
Building and installing HHVM on Ubuntu 15.10
Building and installing HHVM on Windows with MSVC
Building and installing hhvm on CentOS 7.x
Building and installing on Ubuntu 10.04 LTS
Building and installing on Ubuntu 10.10
Building the Hack Typechecker
DSO 3.5.0
Extension API
FAQ
FastCGI
Getting Started
HHVM Composer Plugin for Debian Based Systems
HHVM builtin Webserver
Hack Editor Plugins
Hackabook. ID#1080032452
Home
How to Report Issues
Human Timeouts
INI Settings
Libevent Removal
Long term support (LTS)
Mirror
Open Academy
Package Maintainers
Performance Tuning
Prebuilt Packages for HHVM
Prebuilt Packages on Arch Linux
Prebuilt Packages on Centos 7.x
Prebuilt Packages on Debian 7
Prebuilt Packages on Debian 8
Prebuilt Packages on Mint 15
Prebuilt Packages on Mint 16
Prebuilt Packages on Ubuntu 12.04
Prebuilt Packages on Ubuntu 13.04
Prebuilt Packages on Ubuntu 13.10
Prebuilt Ulyaoth Repository
Prebuilt packages on Ubuntu 10.04
Prebuilt packages on Ubuntu 14.04
Prebuilt packages on Ubuntu 15.04 (vivid)
Profiling
Reporting Crashes
Running HipHop VM
Running PHP programs with HHVM
Users
What is Phabricator
No results
5
Building RPMs for HHVM on CentOS 6.6
Unknown edited this page 2015-09-06 16:30:45 +08:00
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 and Enjoy
- Optional - Next steps
Install Pre-requisites:
- RH Devtoolset 2 or higher (
yum install devtoolset-2-toolchain) - rpm-build (
yum install rpm-build)
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
- glog-0.3.3-1.src.rpm (or it's update )
- double-conversion-1.1.5-1.el6.lzd.src.rpm (or it's update )
- boost-1.53.0-18.el7.src.rpm
- libmemcached-1.0.16-3.el7.src.rpm
- tbb-4.1-5.20130314.el7.src.rpm
- sqlite-3.7.17-4.el7.src.rpm
- ImageMagick-6.7.8.9-10.el7.src.rpm
- ocaml-4.00.1-4.el7.src.rpm
- ocaml-findlib-1.3.3-5.el7.src.rpm
- pcre-8.21-7.fc17.src.rpm
Build HHVM Source RPM
- Get the HHVM packaging files from https://github.com/no1youknowz/hhvm-repo/
- Get the HHVM source of your choice from https://github.com/facebook/hhvm/ as a tar.gz
- Match the hhvm.spec file to the hhvm archive
- Build the SRPM using
rpmbuild -bs --rmspec --rmsource hhvm.spec
Build HHVM RPM
- Build the binary RPMs from the source RPM:
rpmbuild --rebuild $SRPM
Install and enjoy
yum localinstall $HHVM_RPM
Next Steps
- Use
mockchainfrom the Fedora Mock package to build all these in a clean environment.