<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I’m using homebrew.    One of the libraries that seems to be needed is a modern version of openssl.     <div class="">The openssl included on mac os is kind of old and isn’t compatible<br class=""><div class="">Homebrew installs most things to /usr/local, but Xcode doesn’t look there.   It installs openssl to /usr/local/opt</div><div class="">to avoid overlapping with the system’s openssl. </div><div class=""><br class=""></div><div class="">I’ve also found some of the tools include  some headers from linux or glibc that you wouldn’t find on mac os,</div><div class="">like linux/types.h and elf.h.    I’ve extracted a sufficient set of these headers and I install them /usr/local</div><div class=""><br class=""></div><div class="">( <a href="https://github.com/smoofra/fake-glibc" class="">https://github.com/smoofra/fake-glibc</a>  )</div><div class=""><br class=""></div><div class="">I’m surprised to hear you can build on mac os without any of these kinds of problems.   Could you tell me</div><div class="">what version of OS X and Xcode you’re on?   It I’m on mac os 10.11 / Xcode 7 so these issues might be new, </div><div class="">but then again I can’t imagine what version of mac os would have had linux/types.h.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><div class=""><div><blockquote type="cite" class=""><div class="">On Jul 19, 2015, at 10:16 PM, Felix Fietkau <<a href="mailto:nbd@openwrt.org" class="">nbd@openwrt.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 2015-07-20 06:57, Lawrence D'Anna wrote:<br class=""><blockquote type="cite" class="">I like to build openwrt on a mac. Some of the host-side tools it<br class="">builds need libraries and headers that aren’t<br class="">included in mac os, so I need to point these variables at an<br class="">alternate location where they are installed.<br class=""></blockquote>I also build openwrt on a mac, and so far I have not needed a change<br class="">like this. Are you using macports or homebrew? Or are you<br class="">building/installing the missing host tools/libs manually somewhere else?<br class=""><br class="">- Felix<br class=""></div></div></blockquote></div><br class=""></div></div></div></div></body></html>