[GRASS-dev] [GRASS GIS] #3883: GRASS master does not compile with Python 3 on Mac
GRASS GIS
trac at osgeo.org
Wed Aug 14 14:59:38 PDT 2019
#3883: GRASS master does not compile with Python 3 on Mac
--------------------------+-------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 7.8.0
Component: Default | Version: svn-trunk
Resolution: | Keywords:
CPU: Unspecified | Platform: MacOSX
--------------------------+-------------------------
Comment (by cmbarton):
Replying to [comment:1 neteler]:
> I see in your log eg.:
>
> {{{
>
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSTypes.h:24:10:
fatal error: 'CarbonCore/CarbonCore.h' file not found
> #include <CarbonCore/CarbonCore.h>
> ^~~~~~~~~~~~~~~~~~~~~~~~~
> }}}
>
> Does the file exist anywhere on your machine?
I checked. CarbonCore.h is NOT included in the most recent Mac OSX SDK for
v. 10.14. However, it IS included in earlier versions, which I have. \\
/MacOSX10.13.sdk has CarbonCore.h but does not have some other frameworks
that nviz wants--maybe because Apple dropped default support for OpenGL.
However, everything needed seems available in /MacOSX10.12.sdk on back,
which I also have. \\
In the configure string, I can specify --with-macosx-
sdk=/Developer/SDKs/MacOSX10.12.sdk. \\
BUT ctypes appears to ignore this and I get the same error that you
spotted. It is looking in the default SDK for 10.14 rather than in the one
I pointed to in configure.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3883#comment:2>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list