-
Notifications
You must be signed in to change notification settings - Fork 138
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
mac os build failed #73
Comments
Suggest you specify the versions of Mac OS X and XCode you are using. This seems to be a common problem with compiling networking programs on the Mac. Would probably need a fix along the lines of the following: |
Mac OS X 10.12.3 |
And how to compile with with the support of the ssl?
|
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CXX C++ compiler command
CXXFLAGS C++ compiler flags
|
FWIW, SSL is off-topic for this issue.... Anyway, you need to build from source and
Make sure the libssl-dev or libssl-devel package or similar (depending on your package manager) is already installed. Since brew installs in /usr/local, IIRC, you may also need to specify There's some documentation at http://gearman.info/gearmand/ssl.html but I have two caveats not covered by that documentation:
I hope this helps! |
Build not working((( |
you could install gearmand via |
FYI, https://github.com/Homebrew/homebrew-core/blob/009ac6baeb5d42aa745c616ca7db1582059ac799/Formula/gearman.rb has a patch for the |
I personally don't have any Mac's to test on, so I can't really iterate on any fixes. It would be greatly appreciated if those with macs can fix it, and setup Travis tests. |
This issue is unresolved. Please reopen. |
Please stop closing this issue. Please reopen and leave open until the issue is resolved. Thank you. |
@esabol Sorry, I thought the question was settled:) |
Hi, I meet the same problem. EnvironmentMac OS X 10.12.6 IssueI apply the patch as same as the (apache/zookeeper@c34ee71)[https://github.com/apache/zookeeper/commit/c34ee711dbc7ef0bf037102994b7fb3989700328] to fix compile fail of
Log
Do we have any idea to handle those errors? Thanks. |
I guess it's a clan-issue, because I got it on FreeBSD a while ago. |
As luck would have it, I now have a Mac for work. I will, therefore, be able to support it as long as I have this Mac. I'll try to get it going, and get a mac travis build working too. |
The text was updated successfully, but these errors were encountered: