Download HipHop for PHP sandbox image (VMWare)

Posted: February 21st, 2010 | Author: admin | Filed under: Benchmark, CodeIgniter and HipHop, Drupal and HipHop, HipHop Compatibility, development, eval, sandbox, ubuntu | 2 Comments »

Once I get HipHop setup on CentOS 5 I will post a download link to the VMWare image for all to download.


HipHop for PHP sandbox work in progress – Patched libcurl and libevent required

Posted: February 21st, 2010 | Author: admin | Filed under: HipHop Compatibility, development, sandbox, ubuntu | 1 Comment »

I’ve been installing my HipHop for PHP sandbox today (on Ubuntu Karmic). Looks like I need to patch libcurl and libevent. Definitely makes more and more sense to build a separate sandbox and not destroy your development (or production! :) ) environment for this.

Current errors galore

-- Looking for curl_multi_select
-- Looking for curl_multi_select - not found
CMake Error at CMake/HPHPFindLibs.cmake:78 (message):
Custom libcurl is required with HipHop patches
Call Stack (most recent call first):
CMake/HPHPSetup.cmake:2 (include)
src/CMakeLists.txt:18 (include)-- Found ICU header files in /usr/include
-- Found ICU libraries: /usr/lib/libicuuc.so
CMake Error at CMake/HPHPFindLibs.cmake:108 (message):
ICU is too old, found 4.0 and we need 4.2
Call Stack (most recent call first):
CMake/HPHPSetup.cmake:2 (include)
src/CMakeLists.txt:18 (include)

-- Found Intel TBB
-- Found mcrypt: /usr/lib/libmcrypt.so
CMake Error at CMake/HPHPFindLibs.cmake:151 (message):
You need to install libcap
Call Stack (most recent call first):
CMake/HPHPSetup.cmake:2 (include)
src/CMakeLists.txt:18 (include)

Issues already handled

CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
Unable to find the Boost header files.  Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.

Call Stack (most recent call first):
CMake/HPHPFindLibs.cmake:20 (find_package)
CMake/HPHPSetup.cmake:2 (include)
src/CMakeLists.txt:18 (include)
CMake Error at CMake/FindMySQL.cmake:112 (MESSAGE):
Cannot find MySQL.  Include dir: MYSQL_INCLUDE_DIR-NOTFOUND library dir:
Call Stack (most recent call first):
CMake/HPHPFindLibs.cmake:30 (find_package)
CMake/HPHPSetup.cmake:2 (include)
src/CMakeLists.txt:18 (include)


Tutorial / How-To: Creating a HipHop for PHP Sandbox

Posted: February 10th, 2010 | Author: admin | Filed under: Benchmark, development, sandbox, ubuntu | Tags: , , , , | 1 Comment »

As soon as FaceBook releases the source code of HipHop this page will have a step by step tutorial on how to set up a sandbox environment on a common Linux distribution (probably Ubuntu, maybe CentOS as well). I will be using a VM-Ware Fusion box, but the tutorial will apply to physical machines aswell.

Why would you want a sandbox? To try how your applications work with HipHop without breaking your everyday development process with a rather fresh piece of software.