From owner-freebsd-stable@FreeBSD.ORG Tue Apr 17 18:41:41 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EFDB2106564A for ; Tue, 17 Apr 2012 18:41:41 +0000 (UTC) (envelope-from garbytrash@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id AE3D88FC1C for ; Tue, 17 Apr 2012 18:41:41 +0000 (UTC) Received: by ghrr20 with SMTP id r20so3944017ghr.13 for ; Tue, 17 Apr 2012 11:41:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=SERJZ2EOEVKXrUSGrKN84QM4hglRWHnKzr2CTr56Kcs=; b=o2zgM+PrGy8Vgv4nDTReG8z6dYHbtROnmMWiEnpRCEdheaT4RWDmj/wcYd0UohhAxe aOWFg1CZlcc2tRrNEvWVEpPiULzKncf+04ftm9SEXJVT3J2Mf+saYEaKUtDD6WuCf8Kx iZC2MURnBGMkKFbT58tJwhXvR27U6dWejkai7yZkmJhvTPx4K3+4C+riuhu6YVElpEj5 9QDkoQH+6hpuV4JHscmQ7jOOa/9uigtlJg9kTt/kv8T9pKR3LFVhsgH/RB/0b0TejaJ6 GNldYYbP3JU8/0FcKGcgcS1Nfo7Vwe0A6XyD0RpjwXgf1guNOo/qEkQFMla+imd9yJoj cC7w== MIME-Version: 1.0 Received: by 10.60.14.4 with SMTP id l4mr22944276oec.39.1334688100952; Tue, 17 Apr 2012 11:41:40 -0700 (PDT) Received: by 10.60.17.34 with HTTP; Tue, 17 Apr 2012 11:41:40 -0700 (PDT) Date: Tue, 17 Apr 2012 18:41:40 +0000 Message-ID: From: Zenny To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: environment declared, yet problem to compile HipHop in FreeBSD9-RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2012 18:41:42 -0000 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: 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!