Last active
November 22, 2021 08:54
-
-
Save os-ia/b5ddca72e91b0c7b6ab96d7295179965 to your computer and use it in GitHub Desktop.
Fixes for the Odoo installation from source on macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# General | |
xcode-select --install | |
# 2to3 error; python_version < "3.8" | |
pip install setuptools <=57.5.0 | |
# Pillow | |
brew install libjpeg | |
brew install zlib | |
export LDFLAGS="-L/usr/local/opt/zlib/lib" | |
export CFLAGS="-I/usr/local/opt/zlib/include" | |
# Pyldap | |
pip install python-ldap \ | |
--global-option=build_ext \ | |
--global-option="-I$(xcrun --show-sdk-path)/usr/include/sasl" | |
# reportlab | |
export CFLAGS="-Wno-error=implicit-function-declaration" | |
# psycopg2 | |
export LDFLAGS="-L/usr/local/Cellar/[email protected]/1.1.1h/lib" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment