I am using the docker image quay.io/pypa/manylinux1_x86_64 and am running into 
the compilation issues below, resulting from missing SOCK_NONBLOCK, 
SOCK_CLOEXEC, pipe2, etc., in this CentOS5-based docker image. What is a 
reasonable solution?

/nupic.core/build/scripts/ThirdParty/Source/CapnProto/src/kj/async-io.c++: In 
member function 'int kj::{anonymous}::SocketAddress::socket(int) const':
/nupic.core/build/scripts/ThirdParty/Source/CapnProto/src/kj/async-io.c++:348:13:
 error: 'SOCK_NONBLOCK' was not declared in this scope
     type |= SOCK_NONBLOCK | SOCK_CLOEXEC;
             ^
/nupic.core/build/scripts/ThirdParty/Source/CapnProto/src/kj/async-io.c++:348:29:
 error: 'SOCK_CLOEXEC' was not declared in this scope
     type |= SOCK_NONBLOCK | SOCK_CLOEXEC;
                             ^
In file included from 
/nupic.core/build/scripts/ThirdParty/Source/CapnProto/src/kj/async-io.c++:24:0:
/nupic.core/build/scripts/ThirdParty/Source/CapnProto/src/kj/async-io.c++: In 
lambda function:
/nupic.core/build/scripts/ThirdParty/Source/CapnProto/src/kj/async-io.c++:648:38:
 error: 'O_CLOEXEC' was not declared in this scope
   KJ_SYSCALL(pipe2(fds, O_NONBLOCK | O_CLOEXEC));
                                      ^
/nupic.core/build/scripts/ThirdParty/Source/CapnProto/src/kj/async-io.c++:648:47:
 error: 'pipe2' was not declared in this scope
   KJ_SYSCALL(pipe2(fds, O_NONBLOCK | O_CLOEXEC));


Many thanks,
Vitaly



_______________________________________________
Wheel-builders mailing list
[email protected]
https://mail.python.org/mailman/listinfo/wheel-builders

Reply via email to