[issue41116] build on macOS 11 (beta) does not find system-supplied third-party libraries

2021-01-12 Thread seb


seb  added the comment:

I tried that before, also with your command, without success. I saw that the 
CFLAGS includes weren't forwarded to the compiler - I don't know if that is 
only an issue here on my system. So instead I modified the setup.py and added 
the directory manually. It now works. Thanks for your help!!

--

___
Python tracker 
<https://bugs.python.org/issue41116>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41116] build on macOS 11 (beta) does not find system-supplied third-party libraries

2021-01-11 Thread seb


seb  added the comment:

Thanks for the help! I tried the instructions, without success. I installed xz 
through homebrew (which needs to be installed on Silicon under /opt/homebrew). 
I can confirm the existance of: /opt/homebrew/Cellar/xz/5.2.5/include/lzma.h

I used CPPFLAGS and also modified the system_include_dirs variable in the 
setup.py file, in both cases lzma.h seems to be ignored.

> system_include_dirs = ['opt/homebrew/include', 
> '/opt/homebrew/Cellar/xz/5.2.5/include']

Am I missing something obvious here? Thanks!

--

___
Python tracker 
<https://bugs.python.org/issue41116>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41116] build on macOS 11 (beta) does not find system-supplied third-party libraries

2021-01-08 Thread seb


seb  added the comment:

I am running macOS Big Sur Version 11.1 on Silicon and still get the error 
about the missing lzma.h file. I can confirm that I use the latest Python 3.9.1 
version which includes the patches of this issue.

gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv 
-O3 -Wall -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter 
-Wno-missing-field-initializers -Wstrict-prototypes 
-Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal 
-I./Include -I. -I/usr/local/include 
-I/Users/dev/Downloads/Python-3.9.1/Include -I/Users/dev/Downloads/Python-3.9.1 
-c /Users/dev/Downloads/Python-3.9.1/Modules/_lzmamodule.c -o 
build/temp.macosx-11.1-arm64-3.9/Users/dev/Downloads/Python-3.9.1/Modules/_lzmamodule.o
/Users/dev/Downloads/Python-3.9.1/Modules/_lzmamodule.c:16:10: fatal error: 
'lzma.h' file not found
#include 

Is this supposed to be still the case? Thank you!

--
nosy: +seb

___
Python tracker 
<https://bugs.python.org/issue41116>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com