Hi Todd,

My os version is 10.12.1, I already installed xcode, and I can find the
stdio.h file under /usr/include

My gcc version is:

*➜  **kudu* *git:(**github**)* gcc -v

Configured with: --prefix=/Library/Developer/CommandLineTools/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1

Apple LLVM version 8.0.0 (clang-800.0.42.1)

Target: x86_64-apple-darwin16.1.0

Thread model: posix

InstalledDir: /Library/Developer/CommandLineTools/usr/bin




2016-12-14 13:43 GMT+08:00 Todd Lipcon <t...@cloudera.com>:

> Hi Zhen,
>
> Can you share which version of osx you are running? Also have you
> installed the osx development tools (xcode etc)?
>
> Todd
>
> On Dec 14, 2016 12:33 PM, "Zhen Zhang" <zhqu...@gmail.com> wrote:
>
>> hi all,
>>
>> I tried to build kudu from source on my mac and get the following error
>> after run "thirdparty/build-if-necessary.sh"
>>
>> clang: *warning: *no such sysroot directory: '-mmacosx-version-min=10.5'
>>
>> */Users/zhenzhang/projects/kudu/thirdparty/src/llvm-3.9.0.src/projects/compiler-rt/lib/builtins/eprintf.c:14:10:
>> **fatal error: **'stdio.h' file not found*
>>
>> #include <stdio.h>
>>
>>
>> Only llvm in the thirdparty failed with such message. All others can
>> build success, do you know how to fix this?
>>
>>
>> Thanks,
>>
>> zhen
>>
>

Reply via email to