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

ganglia-config should not return *all* CFLAGS/Fully support alternate SunRPC implementation like libtirpc #304

Open
doctaweeks opened this issue Aug 8, 2018 · 0 comments

Comments

@doctaweeks
Copy link

doctaweeks commented Aug 8, 2018

Ganglia largely assumes SunRPC support in glibc. It would be be beneficial to support another implementation since the glibc implementation is deprecated and doesn't support things like IPv6.

It's possible to build Ganglia with an alternate SunRPC implementation by passing the LIBS/CPPFLAGS to configure. However, there is currently no way to get the additional include path(s) into ganglia-config for anything that wants to build against libganglia.

Regardless, it looks like ganglia-config --include should support --all to behave like --libs, returning all include paths required by ganglia headers (including those for apr and confuse).

I see that --cflags which does include additional include paths but this also means consuming all CFLAGS from ganglia, including optimization, debugging, etc flags. ganglia-config probably shouldn't return these extra flags, only the flags necessary for building against ganglia.

@doctaweeks doctaweeks changed the title ganglia-config does not return all includedirs/Fully support alternate SunRPC implementation like libtirpc ganglia-config should not return *all* CFLAGS/Fully support alternate SunRPC implementation like libtirpc Aug 8, 2018
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

1 participant