please confirm

12 views
Skip to first unread message

jamesmi...@googlemail.com

unread,
Feb 20, 2010, 4:17:27 PM2/20/10
to hiphop-php-dev
Hi,

I have now a hphp exec, but have problems.

export HPHP_HOME=/media/sdd2/home/mdupont/2010/02/hiphop/hiphop-php-0.1/

hiphop/hiphop-php-0.1/builddir/src/hphp/hphp hphpi.php
[4, {
"BadPHPIncludeFile":
[{"c1":["hphpi.php",0,0,5,19],"d":"include $argv[0]","s":0,}
]
}]

It this right or not? what is BadPHPIncludeFile?
The building fails as called,
Building hphpi
cd /media/sdd2/home/mdupont/2010/02/hiphop/hiphop-php-0.1/src/hphpi &&
/media/sdd2/home/mdupont/2010/02/hiphop/hiphop-php-0.1/builddir/src/hphp/hphp
-t cpp -f exe --input-dir . -i hphpi.php -o gen --config
hphpi_build.hdf --log=1
Exception: ParseError: [<string>:1] Unable to parse line hphpi_build.hdf
make[3]: *** [src/hphp/hphp] Error 255


Please advise,

mike

Scott MacVicar

unread,
Feb 20, 2010, 4:24:49 PM2/20/10
to hiphop-...@googlegroups.com
There is a bug in boost 1.42, downgrade to 1.41 or use boost svn.

On 20 Feb 2010, at 13:17, "jamesmi...@googlemail.com" <jamesmi...@googlemail.com

jamesmi...@googlemail.com

unread,
Feb 20, 2010, 4:32:18 PM2/20/10
to hiphop-...@googlegroups.com
I was using this version:

boost-trunk$ svn info
Path: .
URL: http://svn.boost.org/svn/boost/trunk
Repository Root: http://svn.boost.org/svn/boost
Repository UUID: b8fc166d-592f-0410-95f2-cb63ce0dd405
Revision: 58836
Node Kind: directory
Schedule: normal
Last Changed Author: hkaiser
Last Changed Rev: 58824
Last Changed Date: 2010-01-09 04:51:21 +0100 (Sat, 09 Jan 2010)

Haiping Zhao

unread,
Feb 20, 2010, 5:18:14 PM2/20/10
to hiphop-...@googlegroups.com
BadPHPIncludeFile only means the compiler is not able to follow the include
statement to pull in the included file. You may ignore the error with
"--force=1".

The Hello World example should have described something similar to this.
Please let me know if that example can work for you.

About hphpi_build.hdf error, how does the file look like? You may have some
syntax error in the HDF format. doc/hdf describes how the file should look
like.

-Haiping


On 2/20/10 1:17 PM, "jamesmi...@googlemail.com"

Haiping Zhao

unread,
Feb 20, 2010, 5:19:15 PM2/20/10
to hiphop-...@googlegroups.com
Oh, I see. Scott is right, with 1.42, boost got confused between --config
and --config-value. 1.41 doesn't have this problem.

-Haiping

Arnaud Granal

unread,
Feb 20, 2010, 8:06:50 PM2/20/10
to HipHop for PHP Dev
On 21 fév, 00:19, Haiping Zhao <hz...@facebook.com> wrote:
> Oh, I see. Scott is right, with 1.42, boost got confused between --config
> and --config-value. 1.41 doesn't have this problem.
>
> -Haiping
>

Confirmed (the exact hdf issue).

Workaround on 1.42 is to make twice (weird but works).

Arnaud.

jamesmi...@googlemail.com

unread,
Feb 22, 2010, 4:38:47 AM2/22/10
to hiphop-...@googlegroups.com
so in what version committeD?

Micky Socaci

unread,
May 11, 2010, 6:20:37 AM5/11/10
to hiphop-...@googlegroups.com
Using make twice ignores that hdf but leaves you with no hphpi .. so not so nice if you plan on using the interpreter.

--
Micky Socaci
Web / Application Developer
Reply all
Reply to author
Forward
0 new messages