Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install enable fails on Python 3.8 / macOS Ventura #1012

Closed
mdickinson opened this issue Feb 28, 2023 · 3 comments
Closed

pip install enable fails on Python 3.8 / macOS Ventura #1012

mdickinson opened this issue Feb 28, 2023 · 3 comments

Comments

@mdickinson
Copy link
Member

A pip install enable into a freshly-created Python 3.8 venv is failing at compilation time for me on macOS Ventura (13.2.1).
I'll attach a full transcript to this issue, but the key part of the error seems to be this:

      In file included from kiva/agg/freetype2/src/base/ftbase.c:38:
      kiva/agg/freetype2/src/base/ftmac.c:150:11: error: implicit declaration of function 'ATSFontGetFileReference' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
          err = ATSFontGetFileReference( ats_font_id, ats_font_ref );
                ^
      kiva/agg/freetype2/src/base/ftmac.c:150:11: note: did you mean 'FT_ATSFontGetFileReference'?
      kiva/agg/freetype2/src/base/ftmac.c:142:3: note: 'FT_ATSFontGetFileReference' declared here
        FT_ATSFontGetFileReference( ATSFontRef  ats_font_id,
        ^
      kiva/agg/freetype2/src/base/ftmac.c:186:19: error: 'ATSFontFindFromName' is unavailable
          ats_font_id = ATSFontFindFromName( cf_fontName,
                        ^
      /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:811:1: note: 'ATSFontFindFromName' has been explicitly marked unavailable here
      ATSFontFindFromName(
      ^
@mdickinson
Copy link
Member Author

Here's the full install log

enable-install-log.txt

@mdickinson
Copy link
Member Author

@mdickinson
Copy link
Member Author

Looks like this is largely a duplicate of #1006

@mdickinson mdickinson closed this as not planned Won't fix, can't repro, duplicate, stale Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant