Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Failure to build bundled zmq on Cygwin #418

Closed
ahmadia opened this issue Sep 20, 2013 · 3 comments
Closed

Failure to build bundled zmq on Cygwin #418

ahmadia opened this issue Sep 20, 2013 · 3 comments

Comments

@ahmadia
Copy link

ahmadia commented Sep 20, 2013

Update: See #113 for a complete PyZMQ build solution on Cygwin.

It looks like configure isn't being properly run...

<...>
[pyzmq] running build_ext
[pyzmq] already have bundled/uuid
[pyzmq] already have bundled/zeromq
[pyzmq] attempting ./configure to generate platform.hpp
[pyzmq] Warning: failed to configure libzmq:
[pyzmq] /bin/sh: ./configure: No such file or directory
[pyzmq]
[pyzmq] staging platform.hpp from: /home/aron/proteus/hashstack/bld/pyzmq-n-7c4e/src/buildutils/include_linux
[pyzmq] ************************************************
[pyzmq] Using bundled libzmq
[pyzmq] ************************************************
[pyzmq] building 'zmq.libzmq' extension
[pyzmq] creating build/temp.cygwin-1.7.25-x86_64-2.7
<...>
[pyzmq] cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
[pyzmq] In file included from bundled/zeromq/src/poller.hpp:24:0,
[pyzmq]                  from bundled/zeromq/src/io_object.hpp:27,
[pyzmq]                  from bundled/zeromq/src/session.hpp:26,
[pyzmq]                  from bundled/zeromq/src/connect_session.hpp:26,
[pyzmq]                  from bundled/zeromq/src/connect_session.cpp:21:
[pyzmq] bundled/zeromq/src/epoll.hpp:29:23: fatal error: sys/epoll.h: No such file or directory
[pyzmq]  #include <sys/epoll.h>
[pyzmq]                        ^
[pyzmq] compilation terminated.
[pyzmq] error: command 'gcc' failed with exit status 1
[pyzmq ERROR] Command '['bash', '../bash_script']' returned non-zero exit status 1
[pyzmq ERROR] command failed (code=1); raising
Makefile:32: recipe for target `stack' failed
make: *** [stack] Error 127

I'm taking a look at the zeromq stable release for cygwin to see if I can find more details.

@minrk
Copy link
Member

minrk commented Sep 20, 2013

I have never seen pyzmq build successfully on cygwin. If you want to re-run configure (it is not included in sdist), you can fetch a full libzmq and then build again with:

python setup.py fetch_libzmq

@ahmadia
Copy link
Author

ahmadia commented Sep 21, 2013

Thanks. Let's close these issues until I've had a deeper look at what's happening.

@ahmadia ahmadia closed this as completed Sep 21, 2013
@ahmadia
Copy link
Author

ahmadia commented Sep 27, 2013

See #113 for a complete solution on Cygwin.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants