Yes, after run 'brew tap homebrew/dupes', krb5 can be installed successfully. But what do mean about 'CLT is not sufficient'? What else should I Installed? And how to install them?
Hi Zhen,The issue with homebrew krb5 is that it's contained in the dupes tap. Run `brew tap homebrew/dupes` and then `brew install krb5` should succeed. I've submitted a change to the docs to call this out in the install instructions. The compile issue may be that you do not have XCode installed - CLT is not sufficient.- DanOn Wed, Dec 14, 2016 at 6:19 PM, Alexey Serbin <email@example.com> wrote:Hi Zhen,What does the 'xcodeselect -p' command output on your mac?BTW, regarding homebrew and krb5: if you happen to use MacPorts, you can install port named 'kerberos5'. But 'krb5' should work for homebrew, though.Best regards,AlexeyOn Wed, Dec 14, 2016 at 1:22 AM, Zhen Zhang <firstname.lastname@example.org> wrote:Hi Todd,Thanks for your help, the error message seems same, but before build kudu, I've already installed xcode using command "xcode-select --install", don't know why still occured this error. Yes, I followed this docs(http://kudu.apache.org/do
cs/installation.html#osx_from_) to build. sourceBy the way, the command "brew install krb5" failed on my mac, it said:➜ kudu git:(github) brew install krb5Updating Homebrew...Error: No available formula with the name "krb5"==> Searching for similarly named formulae...Error: No similarly named formulae found.==> Searching taps...Error: No formulae found in tapsThanks,Zhen2016-12-14 16:37 GMT+08:00 Todd Lipcon <email@example.com>:Hi Zhen,I'm not a Mac user, so just taking my best guess here. https://issues.apache.or g/jira/browse/KUDU-1530mentions the same error message as being indicative that the xcode command line tools aren't properly installed. The patch for this issue (http://gerrit.cloudera.org:80 80/3653) updated the OSX install docs. Are you following those docs? ( http://kudu.apache.org/docs/in stallation.html#osx_from_sourc) eIf that doesn't help, hopefully someone who uses OSX to build Kudu will respond later today from PST time zone.-Todd--On Wed, Dec 14, 2016 at 12:56 PM, Zhen Zhang <firstname.lastname@example.org> wrote:Hi Todd,My os version is 10.12.1, I already installed xcode, and I can find the stdio.h file under /usr/includeMy gcc version is:
➜ kudu git:(github) gcc -v
Configured with: --prefix=/Library/Developer/Co
mmandLineTools/usr --with-gxx-include-dir=/usr/in clude/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Thread model: posix
2016-12-14 13:43 GMT+08:00 Todd Lipcon <email@example.com>:
Can you share which version of osx you are running? Also have you installed the osx development tools (xcode etc)?
ToddOn Dec 14, 2016 12:33 PM, "Zhen Zhang" <firstname.lastname@example.org> wrote:hi all,I tried to build kudu from source on my mac and get the following error after run "thirdparty/build-if-necessary
clang: warning: no such sysroot directory: '-mmacosx-version-min=10.5'
/thirdparty/src/llvm-3.9.0.srcfatal error: 'stdio.h' file not found /projects/compiler-rt/lib/buil tins/eprintf.c:14:10:
Only llvm in the thirdparty failed with such message. All others can build success, do you know how to fix this?
Software Engineer, Cloudera