-
Notifications
You must be signed in to change notification settings - Fork 3k
DSO 3.5.0
HHVM release 3.5.0 introduced a new header file hphp/runtime/version.h
which contains a number of useful defines for determining what version of HHVM a particular extension is building against. Unfortunately, we (Okay, I -- @sgolemon) forgot to add it to the list of installed header files. What this means is that if you're using our prebuilt packages for HHVM-3.5.0, and you try to compile a 3rd-party extension, you'll get an error message about hphp/runtime/version.h
not being found.
Note: This does not affect you if you are not using 3rd-party extensions. If you're only using bundled features from HHVM, you may ignore this article.
After installing the hhvm-dev
package, run the following two commands to manually add the file to your include tree.
$ curl 'https://raw.githubusercontent.com/facebook/hhvm/573d6fc0d2745e96ee9775f31dc993919086fc7a/hphp/runtime/version.h' > /tmp/version.h
$ sudo cp /tmp/version.h /usr/include/hphp/runtime/version.h
We've already applied the fix to the install scripts for HHVM-3.5.1 (and HHVM-3.6.0-dev, of course), so once that release is ready you won't have to worry about this anymore.
Sorry for the inconvenience!