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

Add explicit Python support for collectd #5692

Merged
merged 1 commit into from
Oct 9, 2016
Merged

Conversation

jd
Copy link
Contributor

@jd jd commented Oct 8, 2016

The default configure script tries to guess if Python is present, but
links with the wrong one if the flag is not specified, which ends up not
working:

Unhandled python exception in importing module:
ImportError:
dlopen(/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so,
2): Symbol not found: __PyCodecInfo_GetIncrementalDecoder

Adding an explicit dependency and flag at compile time make sure it
works properly.

The default configure script tries to guess if Python is present, but
links with the wrong one if the flag is not specified, which ends up not
working:

Unhandled python exception in importing module:
ImportError:
dlopen(/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so,
2): Symbol not found: __PyCodecInfo_GetIncrementalDecoder

Adding an explicit dependency and flag at compile time make sure it
works properly.
@MikeMcQuaid MikeMcQuaid merged commit 9f38ec9 into Homebrew:master Oct 9, 2016
@MikeMcQuaid
Copy link
Member

Thanks for your contribution to Homebrew! Without people like you submitting PRs we couldn't run this project. You rock!

For future reference the preferred commit message format is collectd: add Python option.. Please complete the issue template in future PRs where this format is detailed in the linked Contributing guidelines. Thanks!

@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants