Include file search path problem building py-grpcio with setuptools

Enrico Maria Crisostomo enrico.m.crisostomo at gmail.com
Wed Apr 4 10:22:42 UTC 2018


> On 2 Apr 2018, at 19:50, Joshua Root <jmr at macports.org> wrote:
> 
> On 2018-4-3 02:12 , Enrico Maria Crisostomo wrote:
>> How is the compiler include file search path set up in this case?  The /opt/local/include/openssl path should come from MacPorts, but I don't know where it's set and how I can override it.
> 
> It's not: src/boringssl/err_data.c says #include <openssl/err.h>. So
> apparently it's putting -I/opt/local/include before its internal
> boringssl include path.
> 
> MacPorts normally passes -I${prefix}/include in CPPFLAGS, but that's not
> done for setup.py builds. Perhaps it comes from python, though the only
> place -I flags occur in sysconfig are the CPPFLAGS and PY_CFLAGS
> variables, which I don't think are normally used by distutils. But I
> could be wrong. I guess that leaves cython or some other dependency?
> 
> - Josh

Thank you very much Joshua.

BTW, I just discovered Google Mail was sending your mails into the spam folder.  I hope it's fixed now.

Thank you for the overview.  Yes, I also think it's cython.  I'm still inspecting the build files though: I'll bump this thread.


More information about the macports-dev mailing list