-
Notifications
You must be signed in to change notification settings - Fork 914
Removed hard coded c extentions lib/include paths #5
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
Removed hard coded c extentions lib/include paths #5
Conversation
Hey @jofusa, It looks like you haven't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement here. Once you've signed reply with Appreciation of efforts, clabot |
[clabot:check] |
@edenhill This seems ok to me. Any reason we included them explicitly? |
The main reason is that manual installs of librdkafka will be placed in /usr/local, so defaulting to that location allows seemless building both for package-installed librdkafka (e, g, deb or rpm, which resides in /usr and is automatically picked up by compiler and linker) as well as manual installers of librdkafka. @jofusa Are these default paths conflicting with conda? |
It does. Conda places conda version of librdkafka into you personal env directory. Which is located in your home directory. The build script looks like:
With $PREFIX being set by conda. |
I should add that with these two lines removed I have this package built with conda. |
@edenhill On Mac this works fine w/ this patch -- it still picks up the |
thoughts on this? This is forcing me to build from a private fork instead of the release tar. |
@ewencp That wont be true on Linux though. Lets go ahead with removing the explicit include and lib dirs, but add a line like this to the build section of the README:
|
Sounds good will add to the pr. On Wed, Jun 1, 2016, 12:32 PM Magnus Edenhill notifications@github.com
|
added docs |
Looks good to me. |
Yup, LGTM |
Thanks @jofusa! |
With packaging systems like conda users need to be able to specify the location of librdkafka.
If users have compiled librdkafka to a non standard location you can build with: