forked from facebook/hhvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Prebuilt Packages on Debian 7 (wheezy)
Paul Tarjan edited this page May 15, 2013
·
1 revision
**Warning: these packages won't work as I moved to FBSD. Maybe I built them again on a nightly base later. **
To install prebuilt packages for Debian 7 (amd64), add the repository to your /etc/apt/sources.list:
echo "deb http://packages.kiezo.nl/repos/apt/debian wheezy main" >> /etc/apt/sources.list
Then import the public key and update the package index:
wget -O - http://packages.kiezo.nl/repos/apt/debian/public.gpg.key|apt-key add -
apt-get update
Currently you have to install dependencies manually, as I don't know which packages are required. I will fix as soon as possible.
apt-get install git-core cmake libmysqlclient-dev \
libxml2-dev libmcrypt-dev libicu-dev openssl build-essential binutils-dev \
libcap-dev libgd2-xpm-dev zlib1g-dev libtbb-dev libonig-dev libpcre3-dev \
autoconf libtool libcurl4-openssl-dev wget memcached \
libreadline-dev libncurses-dev libmemcached-dev libbz2-dev \
libc-client2007e-dev php5-mcrypt php5-imagick libgoogle-perftools-dev \
libcloog-ppl0 libelf-dev libdwarf-dev libunwind7-dev subversion \
libtbb2/wheezy libtbb-dev/wheezy g++-4.7/wheezy gcc-4.7/wheezy \
libc6-dev/wheezy libmpfr4/wheezy libgcc1/wheezy binutils/wheezy \
libc6/wheezy libc-dev-bin/wheezy libc-bin/wheezy libgomp1/wheezy \
libstdc++6-4.7-dev/wheezy libstdc++6/wheezy cmake/wheezy \
libarchive12/wheezy cmake-data/wheezy libacl1/wheezy libattr1/wheezy \
g++/wheezy cpp/wheezy gcc/wheezy make/wheezy libboost-thread1.49.0/wheezy \
libboost-thread-dev/wheezy libgd2-xpm-dev/squeeze libfontconfig1-dev/squeeze \
pkg-config/wheezy libdwarf-dev/wheezy binutils-dev/wheezy libboost-system1.49-dev/wheezy \
libboost-program-options1.49-dev/wheezy libboost-filesystem1.49-dev/wheezy
You need temporarily do the following:
echo '/usr/hiphop-php/lib' > /etc/ld.so.conf.d/hiphop-php.conf
ldconfig
Finally, you can install hiphop-php by:
apt-get install hiphop-php
Create a test file:
echo '<?php phpinfo();' > /tmp/phpinfo.php
Then run hhvm, it should say "HipHop".
hhvm -f /tmp/phpinfo.php