Building and installing HHVM on FreeBSD from ports

Alex Hinds edited this page Jul 6, 2015 · 5 revisions

Please note: the port lang/hiphop-php was abandoned 28th December 2013 (v2.1) and deleted from the FreeBSD ports collection 31st August 2014 (https://www.freshports.org/lang/hiphop-php/).

This walkthrough was tested with 64-bit FreeBSD 9.2, but generally any recent 64-bit FreeBSD should do.

Download and install the FreeBSD ports tree

If you don't have the ports tree yet, download and extract it using portsnap:

portsnap fetch
portsnap extract

If you already have a ports tree, you may want to update it:

portsnap fetch update

Portmaster install

Install the portmaster tool (if not installed)

cd /usr/ports/ports-mgmt/portmaster
make install clean

Install using portmaster

portmaster lang/hiphop-php

Alternative: traditional install from port

cd /usr/ports/lang/hiphop-php
make install

Clean-up working source after install (if desired)

make clean

Clean-up tarball fetched (usually stored in ${PORTSDIR}/distfiles folder)

make distclean
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.