-
Notifications
You must be signed in to change notification settings - Fork 3k
Building and installing HHVM on Debian 8
Josh Watzman edited this page Feb 17, 2015
·
23 revisions
apt-get install git-core cmake gawk libmysqlclient-dev \
libxml2-dev libmcrypt-dev libicu-dev openssl build-essential binutils-dev \
libcap-dev zlib1g-dev libtbb-dev libonig-dev libpcre3-dev \
autoconf libtool libcurl4-openssl-dev wget memcached \
libreadline-dev libncurses5-dev libmemcached-dev libbz2-dev \
libc-client2007e-dev php5-mcrypt php5-imagick libgoogle-perftools-dev \
libcloog-ppl-dev libelf-dev libdwarf-dev libunwind8-dev subversion \
libtbb2 g++-4.8 gcc-4.8 libjemalloc-dev \
libc6-dev libmpfr4 libgcc1 binutils \
libc6 libc-dev-bin libc-bin libgomp1 \
libstdc++-4.8-dev libstdc++6 \
libarchive13 cmake-data libacl1 libattr1 \
g++ cpp gcc make libboost-thread1.55.0 \
libboost-thread-dev libgd2-xpm-dev \
pkg-config libboost-system1.55-dev libboost-context1.55-dev \
libboost-program-options1.55-dev libboost-filesystem1.55-dev libboost-regex1.55-dev \
libmagickwand-dev libiberty-dev libevent-dev libxslt-dev libgoogle-glog-dev \
automake libldap2-dev libkrb5-dev libyaml-dev ocaml-native-compilers
mkdir dev
cd dev
git clone git://github.com/facebook/hhvm.git --depth=1
export CMAKE_PREFIX_PATH=`pwd`
cd hhvm
git submodule update --init --recursive
cmake .
make
The hhvm binary can be found in hphp/hhvm/hhvm
.
If any errors occur, it may be required to remove the CMakeCache.txt
directory in the checkout.
If your failure was on the make
command, try to correct the error and run make
again, it should restart from the point it stops. If don't, try to remove as explained above.