Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2012 18:41:40 +0000
From:      Zenny <garbytrash@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   environment declared, yet problem to compile HipHop in FreeBSD9-RELEASE
Message-ID:  <CACuV5sBYg2-aMRYkbwfPBxnBFAabOc7Y=%2B-he_dmhSf7TNXZEQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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
REMOTEHOST=
EDITOR=vi
PAGER=more
hiphop# cmake .
CMake Error at CMakeLists.txt:5 (message):
  You should set the HPHP_HOME environmental


-- Configuring incomplete, errors occurred!

<UNQUOTE>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACuV5sBYg2-aMRYkbwfPBxnBFAabOc7Y=%2B-he_dmhSf7TNXZEQ>