BewareMyPower commented on issue #17468:
URL: https://github.com/apache/pulsar/issues/17468#issuecomment-1253697442

   ```
   Apple clang version 13.1.6 (clang-1316.0.21.2.5)
   Target: x86_64-apple-darwin21.6.0
   Thread model: posix
   InstalledDir: /Library/Developer/CommandLineTools/usr/bin
   ```
   
   - [out.log](https://github.com/apache/pulsar/files/9616855/out.log)
   - [err.log](https://github.com/apache/pulsar/files/9616856/err.log)
   
   
   The error logs are still the same as before. I think it's because some C 
dependencies must be installed when building Python from source. The script 
might require users to install some dependencies via `brew install`.
   
   For example, the `'lzma/version.h' file not found` error requires the lzma 
dependency, so I searched for the related headers in `/usr` directory.
   
   ```bash
   $ find /usr -name "*.h" | grep lzma
   find: /usr/sbin/authserver: Permission denied
   /usr/local/include/lzma.h
   /usr/local/Cellar/xz/5.2.6/include/lzma.h
   /usr/local/Cellar/xz/5.2.6/include/lzma/index.h
   /usr/local/Cellar/xz/5.2.6/include/lzma/version.h
   /usr/local/Cellar/xz/5.2.6/include/lzma/index_hash.h
   /usr/local/Cellar/xz/5.2.6/include/lzma/lzma12.h
   /usr/local/Cellar/xz/5.2.6/include/lzma/container.h
   /usr/local/Cellar/xz/5.2.6/include/lzma/delta.h
   /usr/local/Cellar/xz/5.2.6/include/lzma/vli.h
   /usr/local/Cellar/xz/5.2.6/include/lzma/check.h
   /usr/local/Cellar/xz/5.2.6/include/lzma/bcj.h
   /usr/local/Cellar/xz/5.2.6/include/lzma/stream_flags.h
   /usr/local/Cellar/xz/5.2.6/include/lzma/block.h
   /usr/local/Cellar/xz/5.2.6/include/lzma/hardware.h
   /usr/local/Cellar/xz/5.2.6/include/lzma/filter.h
   /usr/local/Cellar/xz/5.2.6/include/lzma/base.h
   ```
   
   `lzma` is included in `xz` dependency in macOS. But the install path is 
`/usr/local/Cellar/xz/<version>`, the include directory and library directory 
are not added to the related environment variables.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to