-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Building and installing HHVM on Gentoo
garyemiller edited this page Dec 18, 2013
·
16 revisions
sudo emerge --sync
sudo emerge gitsudo mkdir -p /usr/local/portage/javer
sudo git clone https://github.com/javer/gentoo-overlay.git /usr/local/portage/javer
sudo cat >>/etc/portage/make.conf <<EOF
PORTDIR_OVERLAY="/usr/local/portage/javer \$PORTDIR_OVERLAY"
EOFsudo cat >>/etc/portage/package.keywords <<EOF
sys-devel/gcc ~amd64
dev-libs/isl ~amd64
dev-libs/cloog ~amd64
dev-libs/libdwarf ~amd64
EOFIf you want to use the latest version of HHVM (dev-master), you should add the following keyword:
sudo cat >>/etc/portage/package.keywords <<EOF
dev-php/hhvm ~amd64
EOFsudo emerge gcc
sudo gcc-config x86_64-pc-linux-gnu-4.8.1
source /etc/profileThe ebuild for libdwarf points to server that no long has the tar. So get it from the maintainers page.
sudo wget http://www.prevanders.net/libdwarf-20120410.tar.gz -P /usr/portage/distfiles
sudo emerge hhvmsudo rc-update add hhvm defaultsudo /etc/init.d/hhvm startThe hhvm run wrapper script can be found in /usr/bin/hhvm.