<div>Thank you for suggestions!</div><div><br></div><div>It actually helped someone else... And I'm still having same problems</div><div><br></div><div><div>ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/</div>

<div>MacOSX10.6.sdk<span class="Apple-tab-span" style="white-space:pre">        </span>MacOSX10.7.sdk</div></div><div><br></div><div>Essence:</div><div><div>In file included from deps/http-parser/http_parser.c:21:</div><div>deps/http-parser/http_parser.h:28:10: fatal error: 'sys/types.h' file not found</div>

</div><div><br></div>Full output: <a href="http://pastebin.com/fa2AGjrC">http://pastebin.com/fa2AGjrC</a><div><br></div><div>How to solve it?</div><div>Thanks</div><div>Michal<br>
<br><br><div class="gmail_quote">On 9 May 2012 08:52, Csaba Raduly <span dir="ltr"><<a href="mailto:rcsaba@gmail.com" target="_blank">rcsaba@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Michaelm<br>
<div class="im"><br>
On Wed, May 9, 2012 at 2:41 AM, Michal Stefanow <<a href="mailto:mstefanow@gmail.com">mstefanow@gmail.com</a>> wrote:<br>
> On 4 May 2012 08:19, Csaba Raduly <<a href="mailto:rcsaba@gmail.com">rcsaba@gmail.com</a>> wrote:<br>
>><br>
>> make CXXFLAGS=-v<br>
>><br>
>> This will pass the -v flag to clang, causing it to print the<br>
>> directories where headers are searched, among other things. Perhaps<br>
>> this will help understand why the compiler doesn't find sys/types.h (I<br>
>> suspect this option:  -isysroot /Developer/SDKs/MacOSX10.6.sdk).<br>
><br>
><br>
> That is actually very good hint :)<br>
><br>
> Here is full output: <a href="http://pastebin.com/HhVEVLTG" target="_blank">http://pastebin.com/HhVEVLTG</a><br>
><br>
> Most important parts:<br>
<br>
</div>Actually, you omitted some important parts :)<br>
<br>
ignoring nonexistent directory<br>
"/Developer/SDKs/MacOSX10.6.sdk/usr/local/include"<br>
ignoring nonexistent directory "/Developer/SDKs/MacOSX10.6.sdk/usr/include"<br>
ignoring nonexistent directory<br>
"/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks"<br>
ignoring nonexistent directory<br>
"/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks"<br>
<div class="im"><br>
> #include "..." search starts here:<br>
> #include <...> search starts here:<br>
>  .<br>
>  deps/<br>
>  deps/http-parser<br>
>  deps/json_spirit<br>
>  /usr/bin/../lib/clang/3.1/include<br>
> End of search list.<br>
> In file included from deps/http-parser/http_parser.c:21:<br>
> deps/http-parser/http_parser.h:28:10: fatal error: 'sys/types.h' file not<br>
> found<br>
> #include <sys/types.h><br>
><br>
<br>
><br>
</div><div class="im">> I haven't used makefiles for a while - can you help me solving this<br>
> "puzzle"? :)<br>
<br>
</div>Change the makefile to not pass the      -isysroot<br>
/Developer/SDKs/MacOSX10.6.sdk         option to clang.<br>
It's the CFLAGS line.<br>
<br>
Alternatively, install the Mac OSX 10.6 SDK into /Developer/SDKs<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++<br>
The Tao of math: The numbers you can count are not the real numbers.<br>
Life is complex, with real and imaginary parts.<br>
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds<br>
"People disagree with me. I just ignore them." -- Linus Torvalds<br>
</div></div></blockquote></div><br></div>