-
Notifications
You must be signed in to change notification settings - Fork 688
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 flags need documentation #104
Comments
Its also not very common so documenting how to invoke the tooling with the flags would also be useful |
Yes I agree the documentation could be improved in this area. Until recently the build tags didn't even exist and it was even harder to build/use. One of the reason the build tags are not on the very front page is we're trying to create an experience where they are not needed for first time users. The beer-search example is an example of where we're not meeting that goal yet. There is a separate issue open to address that: blevesearch/beer-search#2 I have updated the Building wiki page to give a bit more detailed information about the flags. Please take a look and see if this meets your needs, or if you have other suggestions. |
that looks good though i almost think its worthwhile to have a full example for a given platform with ie A quick walkthrough of a full installation with all optional dependencies on ubuntu 14.04 trusty:
|
Thanks, I've added this section as well. |
thanks |
|
The compile_libs.sh is a part of the CLD2 source not bleve. Though, last time I ran it, it did work for me on OSX. Can you share any errors or output you're getting. |
Yes, I know — I was just giving you a heads up. The output is:
|
Did you checkout revision 164 as described in the readme? The text from the output seems to match some changes made to the script in revision 190. |
Aha! That one I missed. I just read the above instructions. It's now compiled and in Here is what I get now:
|
Do you have ICU installed, with the headers somewhere your compilers expect to find them? |
installed it for me on OS X. |
@saljam I installed it with homebrew, no luck. Same error. I guess I don't need icu for now. |
Brew tells me that, 'This formula is keg-only.' So it may be that it installed everything, but there are no symlinks hooking it up to a place the compiler is looking by default. I'm not exactly sure as I didn't go this route because previously the brew was very out of date, so I just downloaded ICU, built and installed it myself. If you can find where brew stuffed things, you could try building with CGO_CFLAGS=-I<path_to_icu_headers> |
this works for me on osx:
|
The Building wiki doc leaves it as exercise for the user to grep the source for all the build flags. Just document them on the building wiki page.
The text was updated successfully, but these errors were encountered: