-
Notifications
You must be signed in to change notification settings - Fork 3k
Building and installing HHVM on Fedora 19
Sara Golemon edited this page Feb 20, 2014
·
23 revisions
sudo yum install git svn cpp make autoconf automake libtool patch memcached gcc-c++ cmake wget boost-devel mysql-devel pcre-devel gd-devel libxml2-devel expat-devel libicu-devel bzip2-devel oniguruma-devel openldap-devel libedit-devel libc-client-devel libcap-devel binutils-devel pam-devel elfutils-libelf-devel libmcrypt-devel libcurl-devel libmemcached-devel jemalloc-devel tbb-devel libdwarf-devel ImageMagick-devel
mkdir dev
git clone git://github.com/facebook/hhvm.git
export CMAKE_PREFIX_PATH=`pwd`
cd hhvm
git submodule init
git submodule update
cd ..
git clone git://github.com/libevent/libevent.git
cd libevent
git checkout release-1.4.14b-stable
cat ../hhvm/hphp/third_party/libevent-1.4.14.fb-changes.diff | patch -p1
./autogen.sh
./configure --prefix=$CMAKE_PREFIX_PATH
make
make install
cd ..
wget https://google-glog.googlecode.com/files/glog-0.3.3.tar.gz
tar zxvf glog-0.3.3.tar.gz
cd glog-0.3.3
./configure --prefix=$CMAKE_PREFIX_PATH
make
make install
cd ..
cd hhvm
export HPHP_HOME=`pwd`
cmake .
make
The hhvm binary can be found in hphp/hhvm/hhvm
.