Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hphp not installed after compile Ubuntu 9.10 #42

Closed
dwmcqueen opened this issue Feb 23, 2010 · 5 comments
Closed

hphp not installed after compile Ubuntu 9.10 #42

dwmcqueen opened this issue Feb 23, 2010 · 5 comments

Comments

@dwmcqueen
Copy link

I followed the instructions for the Ubuntu 9.10 build and hphp remained in the src directory. I assumed by the next steps in the wiki concerning running, it would be copied somewhere.

@carsonmcdonald
Copy link
Contributor

It doesn't get copied anywhere after the compile. If you take a look at the running examples wiki page (http://wiki.github.com/facebook/hiphop-php/running-hiphop) you will see things like this:

$HPHP_HOME/src/hphp/hphp --input-list=files.list -k 1 --log=3 --force=1 --cluster-count=50

It works all the same though, just make sure to export the two paths as describe at the top of that document.

@dwmcqueen
Copy link
Author

Ahh, yes, it works (well, sort of) now. The wiki made it seem otherwise in the top.

@dodgex
Copy link

dodgex commented Feb 24, 2010

i added this to my .bash_profile just for lazyness

export CMAKE_PREFIX_PATH=/home/dodge/hiphop
export HPHP_HOME=/home/dodge/hiphop/hiphop-php
export HPHP_LIB=/home/dodge/hiphop/hiphop-php/bin
alias hphp='$HPHP_HOME/src/hphp/hphp'
alias hphpi='$HPHP_HOME/src/hphpi/hphpi'

this allows to simply run
hphp --input-list=files.list -k 1 --log=3 --force=1 --cluster-count=50
from everywhere you want :)

@dwmcqueen
Copy link
Author

I still get an issue with libevent (see the other issue I posted) that causes a segmentation fault. My libevent says it is not found, even though it is there.

@scottmac
Copy link
Contributor

scottmac commented Mar 4, 2010

I'll direct you to the mailing list rather than issue, my guess is that you forgot to set the CMAKE_PREFIX_PATH as appropriate in the new shell.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants