hphp failed
hi, i've finished installation without problem, but when i tried to make the example hello world on mode 2 (the one that says "compiling HipHop in a temporary directory and running the compiled program from the command line")
diego@diego-laptop:~/hiphop/hiphop-php/src$ hphp/hphp test.php --keep-tempdir=1 --log=3
i've found this error on my console
running hphp... creating temporary directory /tmp/hphp_EZNKKV ... Unable to open file /home/diego/hiphop/src/system/classes/stdclass.php Unable to open file /home/diego/hiphop/src/system/classes/exception.php Unable to open file /home/diego/hiphop/src/system/classes/arrayaccess.php Unable to open file /home/diego/hiphop/src/system/classes/iterator.php Unable to open file /home/diego/hiphop/src/system/classes/pear_error.php Unable to open file /home/diego/hiphop/src/system/classes/reflection.php Unable to open file /home/diego/hiphop/src/system/classes/splobjectstorage.php Unable to open file /home/diego/hiphop/src/system/classes/directory.php Unable to open file /home/diego/hiphop/src/system/classes/splfile.php Unable to open file /home/diego/hiphop/src/system/globals/symbols.php Unable to open file /home/diego/hiphop/src/system/globals/constants.php parsing inputs... parsing inputs took 0'00" (32 ms) wall time pre-optimizing... pre-optimizing took 0'00" (0 ms) wall time inferring types... inferring types took 0'00" (1 ms) wall time post-optimizing... post-optimizing took 0'00" (0 ms) wall time creating CPP files... creating CPP files took 0'00" (37 ms) wall time saving code errors... compiling and linking CPP files...
compiling and linking CPP files took 0'00" (14 ms) wall time hphp failed running hphp took 0'00" (167 ms) wall time
have you have some ideas for resolve that? thanks everybody Diego
You have the parameters transposed so its scanning the current directory, file goes at the end.
hphp/hphp --keep-tempdir=1 --log=3 test.php
i'm not sure that i've understood at all. i've tried yours instruction
hphp/hphp --keep-tempdir=1 --log=3 test.php
but i've found the same error. Infact on the console:
diego@diego-laptop:~/hiphop/hiphop-php/src$ hphp/hphp --keep-tempdir=1 --log=3 query_anagrafica_prodotto_finito.php running hphp... creating temporary directory /tmp/hphp_AXIkdk ... Unable to open file /home/diego/hiphop/src/system/classes/stdclass.php Unable to open file /home/diego/hiphop/src/system/classes/exception.php Unable to open file /home/diego/hiphop/src/system/classes/arrayaccess.php Unable to open file /home/diego/hiphop/src/system/classes/iterator.php Unable to open file /home/diego/hiphop/src/system/classes/pear_error.php Unable to open file /home/diego/hiphop/src/system/classes/reflection.php Unable to open file /home/diego/hiphop/src/system/classes/splobjectstorage.php Unable to open file /home/diego/hiphop/src/system/classes/directory.php Unable to open file /home/diego/hiphop/src/system/classes/splfile.php Unable to open file /home/diego/hiphop/src/system/globals/symbols.php Unable to open file /home/diego/hiphop/src/system/globals/constants.php parsing inputs... parsing inputs took 0'00" (24 ms) wall time pre-optimizing... pre-optimizing took 0'00" (1 ms) wall time inferring types... inferring types took 0'00" (4 ms) wall time post-optimizing... post-optimizing took 0'00" (0 ms) wall time creating CPP files... creating CPP files took 0'00" (35 ms) wall time saving code errors... compiling and linking CPP files...
compiling and linking CPP files took 0'00" (19 ms) wall time hphp failed running hphp took 0'00" (329 ms) wall time
did i make any mistake?
i meet the same problem, please help! thanks
is passed a lot of time...but, if i didn't remember wrong, the problem were the environment variables that you must configure before using hiphop...
you can try to see the mail that i've sent. i hope that it can help you. bye