Unable to find HPHPOption class in config file
I am attempting to compile an application with hphp (the Ubuntu installation instructions on the wiki are great, btw) with a commandline like the following:
hphp --config my.config --program my-program --input-list some-files.txt --log=3 --keep-tempdir=1
my.config contains just:
IncludeRoots {
-
{ root = SOME_INCLUDE_PREFIX path = /home/david/include-files } }
I get the following error when I run hphp:
loading options from my.config... Unable to find HPHPOption class in my.config running hphp... creating temporary directory /tmp/hphp_9mu0XT ... hphp failed
running hphp took 0'00" (0 ms) wall time
If I leave the "--config my.config" bit out of the commandline. hphp runs fine, but of course I get various errors reported in CodeError.js since the include root is not defined and various include/require statements are listed in the "BadPHPIncludeFile" section.
Is this a config parsing bug or a syntax error in the config file?
What version of Boost are you running? There was a bug in 1.42
1.40.0 (via ubuntu apt-get). I'll try with 1.43.0 to see if that fixes things.
Please change README.md from saying that "1.37 is the minimum version" required for Boost since that is apparently not accurate.
We use 1.37 internally without problem, certain version of Boost have problems but I haven't tracked down specifically which ones.
What version of Ubuntu are you using?
Oh, OK. I'm on Ubuntu 10.04 LTS.
I'll try again with Boost 1.37 and latest git pull for hphp.
Works now (or at least i don't get the error with the configuration file) with git pull.