Skip to content

cmake error "You should set the HPHP_HOME environmental" even though I have set the variable #14

Closed

Description

@benpbenp

I ran export HPHP_HOME=pwd and HPHP_LIB=pwd/bin and when I run env it shows these two variables set properly: HPHP_HOME=/usr/local/hiphop-php and HPHP_LIB=/usr/local/hiphop-php/bin. However when I run cmake . I get the following output

-- 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!

When I try again the only output is the error:
CMake Error at CMakeLists.txt:5 (message):
You should set the HPHP_HOME environmental

-- Configuring incomplete, errors occurred!

Activity

  1. scottmac commented on Feb 21, 2010

    @scottmac
    Contributor

    I can't reproduce this, maybe try the mailing list but CMake just imports the variables directly.

  2. ErvisTusha commented on Oct 11, 2011

    @ErvisTusha

    im having same problem
    ubuntu 11.04

  3. added a commit that references this issue on Jun 26, 2019
  4. added a commit that references this issue on Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions