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

Build error "sys/sdt.h" not found on Ubuntu #223

Closed
cuongtv51 opened this issue Dec 1, 2016 · 7 comments
Closed

Build error "sys/sdt.h" not found on Ubuntu #223

cuongtv51 opened this issue Dec 1, 2016 · 7 comments

Comments

@cuongtv51
Copy link

cuongtv51 commented Dec 1, 2016

i see file core/reactor.cc line 85 not have sys/sdt.h on Ubuntu

@avikivity
Copy link
Member

Install systemtap-std-dev.

@peihe
Copy link

peihe commented May 23, 2018

systemtap-sdt-dev

@nyh
Copy link
Contributor

nyh commented May 23, 2018

@avikivity do we really have to (or want to) make this dependency hard? Couldn't we discover in configure.py whether we have sdt.h, and only compile the STAP stuff when it exists, or make it a do-nothing macro when it doesn't? In C++17, there is even a #if __has_include (see http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0061r1.html).

@ahkok
Copy link

ahkok commented Nov 8, 2019

This is really an unwanted forced dependency. Ideally, this becomes optional instead and allows people deploying this to hard disable it in production.

@avikivity
Copy link
Member

avikivity commented Nov 8, 2019

If you don't want the dependency, send a patch to make it optional

@ahkok
Copy link

ahkok commented Nov 8, 2019

I'm already working on making cryptopp obsolete, but now I run into this dependency.

BTW, systemtap hard requires python2.................................................................

I am spinning in circles, and, this is starting to ruin my weekend.

@ahkok
Copy link

ahkok commented Nov 8, 2019

hmm, looks like there's a flag to configure it for py3.... well that's one problem solved.

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

5 participants