Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

pull ZMQ #include out of public headers #184

Open
PerilousApricot opened this issue Oct 10, 2019 · 2 comments
Open

pull ZMQ #include out of public headers #184

PerilousApricot opened this issue Oct 10, 2019 · 2 comments

Comments

@PerilousApricot
Copy link
Member

Are we exporting ZMQ types?

[meloam@xrootd1 xrootd-hdfs]$ make
[ 25%] Building CXX object CMakeFiles/XrdLstore.dir/src/XrdLstoreInit.cc.o
[ 50%] Building C object CMakeFiles/XrdLstore.dir/src/XrdLstoreStub.c.o
In file included from /usr/include/lio/lio.h:24:0,
                 from /home/meloam/xrootd-hdfs/src/XrdLstoreStub.c:10:
/usr/include/gop/mq.h:26:17: fatal error: zmq.h: No such file or directory
 #include <zmq.h>
                 ^
compilation terminated.
@tacketar
Copy link
Contributor

tacketar commented Oct 10, 2019

Looks like the entire dependency is on:
typedef zmq_pollitem_t gop_mq_pollitem_t;
#define gop_mq_poll(items, n, wait_ms) zmq_poll(items, n, wait_ms)

We do require ZMQ be installed for building from scratch so I've never tried to build a clean standalone app. Feel free to try and re-work this if you want. Otherwise just put it as a todo for me.

In the interim you could just install the headers:(

@PerilousApricot
Copy link
Member Author

PerilousApricot commented Oct 10, 2019 via email

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

No branches or pull requests

2 participants