execute hphp failed stop at"create cpp files"

53 views
Skip to first unread message

crest

unread,
Jul 4, 2011, 2:36:19 AM7/4/11
to HipHop for PHP Dev
Hello, every one,

I compile hphp successfully and obtain the binary file "hphp" in
the fold "src", but when i run the test demo, it can not create the
cpp source files, does anyone can help me? The details is as follows:
crestxu@crestxu-VirtualBox:~/dev/hiphop-php/src$ vi hphp/test.php
crestxu@crestxu-VirtualBox:~/dev/hiphop-php/src$ hphp/hphp --keep-
tempdir=1 --log=16 ./hphp/test.php
running hphp...
creating temporary directory /tmp/hphp_SFcnX5 ...
Analyzing Includes
Analyzing All
Corrected function return type Any -> Variant
Analyzing Includes
Analyzing All
Analyzing Includes
Analyzing All
parsing inputs...
parsing hphp/test.php ...
Analyzing Includes
Analyzing All
parsing inputs took 0'00" (9 ms) (null)
pre-optimizing...
pre-optimizing took 0'00" (12 ms) (null)
inferring types...
inferring types took 0'00" (0 ms) (null)
post-optimizing...
post-optimizing took 0'00" (9 ms) (null)
creating CPP files...
hphp failed
running hphp took 0'00" (730 ms) (null)

and in the tmp folder:

crestxu@crestxu-VirtualBox:/tmp/hphp_SFcnX5$ ll
总计 20
drwx------ 4 crestxu crestxu 4096 2011-07-04 14:28 ./
drwxrwxrwt 19 root root 4096 2011-07-04 14:34 ../
drwxr-xr-x 3 crestxu crestxu 4096 2011-07-04 14:28 php/
-rw-r--r-- 1 crestxu crestxu 57 2011-07-04 14:28 sep_extensions.mk
drwxr-xr-x 2 crestxu crestxu 4096 2011-07-04 14:28 sys/

Reply all
Reply to author
Forward
0 new messages