Code Monkey home page Code Monkey logo

Comments (8)

ptarjan avatar ptarjan commented on August 18, 2024

did you do git submodule update --recursive --init? It is now a submodule.

from hhvm-third-party.

adrianheine avatar adrianheine commented on August 18, 2024

Sure. Everything else (like folly) works, too.

from hhvm-third-party.

ptarjan avatar ptarjan commented on August 18, 2024

Oh, i thought your src was empty. Can you please paste your error messages.

/cc @djwatson

from hhvm-third-party.

denji avatar denji commented on August 18, 2024

features.h only linux and gcc

#if __ISO_C_VISIBLE >= 2011 || __cplusplus >= 201103L
# if defined(__linux__)
#  include <features.h>
# endif
#endif
[ 19%] Building CXX object third-party/thrift/thrift/lib/cpp/async/TAsyncServerSocket.cpp
In file included from thrift/lib/cpp/async/TAsyncServerSocket.h:28:0,
                 from thrift/lib/cpp/async/TAsyncServerSocket.cpp:21:
/usr/local/Cellar/hhvm/HEAD/src/third-party/thrift/thrift/lib/cpp/transport/TSocketAddress.h:25:22:
fatal error: features.h: No such file or directory
 #include <features.h>
                      ^
compilation terminated.

from hhvm-third-party.

xssworm avatar xssworm commented on August 18, 2024

[ 18%] Building CXX object third-party/thrift/CMakeFiles/hphp_thrift.dir/thrift/lib/cpp/async/TAsyncServerSocket.cpp.o
/Library/Dev/hhvm/hphp/util/alloc.cpp: In function 'void HPHP::init_stack_limits(pthread_attr_t_)':
/Library/Dev/hhvm/hphp/util/alloc.cpp:89:35: error: 'AsyncFuncImpl' has not been declared
const size_t stackSizeMinimum = AsyncFuncImpl::kStackSizeMinimum;
^
make[2]: *_* [hphp/util/CMakeFiles/hphp_util.dir/alloc.cpp.o] Error 1
make[1]: *** [hphp/util/CMakeFiles/hphp_util.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 18%] Building CXX object third-party/folly/CMakeFiles/folly.dir/folly/IPAddressV6.cpp.o
In file included from /Library/Dev/hhvm/third-party/thrift/thrift/lib/cpp/async/TAsyncServerSocket.h:28:0,
from /Library/Dev/hhvm/third-party/thrift/thrift/lib/cpp/async/TAsyncServerSocket.cpp:21:
/Library/Dev/hhvm/third-party/thrift/thrift/lib/cpp/transport/TSocketAddress.h:25:22: fatal error: features.h: No such file or directory
#include <features.h>
^
compilation terminated.
make[2]: *** [third-party/thrift/CMakeFiles/hphp_thrift.dir/thrift/lib/cpp/async/TAsyncServerSocket.cpp.o] Error 1
make[1]: *** [third-party/thrift/CMakeFiles/hphp_thrift.dir/all] Error 2

from hhvm-third-party.

 avatar commented on August 18, 2024

since thrift is a submodule now, doesn't that mean that this issue should be filed over there and closed here? or am i misunderstanding the issue?

from hhvm-third-party.

jwatzman avatar jwatzman commented on August 18, 2024

Yeah, this looks like an issue with upstream thrift. @denji points out that features.h is apparently Linux-only? #26 fixed that for us a while, it's possible that upstream thrift regressed. @xssworm if you're still running into this issue, please reopen it against upstream thrift -- pointing them here wrt features.h explanation might be useful context, but they need to fix this, and then we can update to the fixed rev.

from hhvm-third-party.

denji avatar denji commented on August 18, 2024

@jwatzman facebook/hhvm#4444

from hhvm-third-party.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.