I've tried compiling HHVM on Vagrant with both Windows and Linux as the host system (in case it mattered). However, I'm running into the following error when it tries to compile the memcached extension:
/home/vagrant/hiphop-php/hphp/runtime/ext/ext_memcache.cpp: In member function âHPHP::Variant HPHP::c_Memcache::t_getversion()â:
/home/vagrant/hiphop-php/hphp/runtime/ext/ext_memcache.cpp:361:5: error: âmemcached_server_instance_stâ was not declared in this scope
/home/vagrant/hiphop-php/hphp/runtime/ext/ext_memcache.cpp:361:34: error: expected â;â before âinstanceâ
/home/vagrant/hiphop-php/hphp/runtime/ext/ext_memcache.cpp:364:10: error: âinstanceâ was not declared in this scope
/home/vagrant/hiphop-php/hphp/runtime/ext/ext_memcache.cpp:369:9: error: âinstanceâ was not declared in this scope
/home/vagrant/hiphop-php/hphp/runtime/ext/ext_memcache.cpp: In member function âHPHP::Array HPHP::c_Memcache::t_getstats(HPHP::CStrRef, int, int)â:
/home/vagrant/hiphop-php/hphp/runtime/ext/ext_memcache.cpp:461:3: error: âmemcached_server_instance_stâ was not declared in this scope
/home/vagrant/hiphop-php/hphp/runtime/ext/ext_memcache.cpp:461:32: error: expected â;â before âinstanceâ
/home/vagrant/hiphop-php/hphp/runtime/ext/ext_memcache.cpp:465:53: error: âinstanceâ was not declared in this scope
/home/vagrant/hiphop-php/hphp/runtime/ext/ext_memcache.cpp: In member function âHPHP::Array HPHP::c_Memcache::t_getextendedstats(HPHP::CStrRef, int, int)â:
/home/vagrant/hiphop-php/hphp/runtime/ext/ext_memcache.cpp:490:5: error: âmemcached_server_instance_stâ was not declared in this scope
/home/vagrant/hiphop-php/hphp/runtime/ext/ext_memcache.cpp:490:34: error: expected â;â before âserverâ
/home/vagrant/hiphop-php/hphp/runtime/ext/ext_memcache.cpp:495:5: error: âserverâ was not declared in this scope
This only occurs on Vagrant, and not on regular Ubuntu 12.04 VMs. I think it may have something to do with the package configuration, but I'm not sure.
Version: unspecified
Severity: normal