Zenny
2012-Apr-17 18:41 UTC
environment declared, yet problem to compile HipHop in FreeBSD9-RELEASE
Hi: I tried to follow the instructions here (https://github.com/facebook/hiphop-php/wiki/Building-and-Installing-on-FreeBSD-8.2), everything went well except when I tried to 'cmake .', got configuration error: "CMake Error at CMakeLists.txt:5 (message): You should set the HPHP_HOME environmental -- Configuring incomplete, errors occurred!" Is there any different way to set environment? Thanks in advance! The following are the outputs of my environment: <QUOTE> hiphop# pwd /root/hhbuild/hiphop-php hiphop# set HPHP_HOME=`pwd` hiphop# set CC=/usr/local/bin/gcc44 hiphop# set CXX=/usr/local/bin/g++44 hiphop# set HPHP_HOME=`pwd` hiphop# set HPHP_LIB=`pwd`/bin hiphop# set CMAKE_PREFIX_PATH=`pwd`/../libs hiphop# cmake . -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at CMakeLists.txt:5 (message): You should set the HPHP_HOME environmental -- Configuring incomplete, errors occurred! hiphop# set HPHP_HOME=`pwd` hiphop# env SCRIPT=hiphop/install.log USER=root LOGNAME=root HOME=/root MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin TERM=xterm FTP_PASSIVE_MODE=YES BLOCKSIZE=K SHELL=/bin/csh SSH_CLIENT=192.168.53.1 39869 22 SSH_CONNECTION=192.168.53.1 39869 192.168.53.140 22 SSH_TTY=/dev/pts/0 HOSTTYPE=FreeBSD VENDOR=unknown OSTYPE=FreeBSD MACHTYPE=unknown SHLVL=2 PWD=/root/hhbuild/hiphop-php GROUP=wheel HOST=hiphop.dev REMOTEHOSTEDITOR=vi PAGER=more hiphop# cmake . CMake Error at CMakeLists.txt:5 (message): You should set the HPHP_HOME environmental -- Configuring incomplete, errors occurred! <UNQUOTE>
Rainer Duffner
2012-Apr-17 18:50 UTC
environment declared, yet problem to compile HipHop in FreeBSD9-RELEASE
Am 17.04.2012 um 20:41 schrieb Zenny:> Hi: > > I tried to follow the instructions here > (https://github.com/facebook/hiphop-php/wiki/Building-and-Installing-on-FreeBSD-8.2), > everything went well except when I tried to 'cmake .', got > configuration error: > > "CMake Error at CMakeLists.txt:5 (message): > You should set the HPHP_HOME environmental > -- Configuring incomplete, errors occurred!" > > Is there any different way to set environment? Thanks in advance!Which shell are you using? tcsh => setenv VAR bla-value Rainer