[python-committers] 2.7 compilation problem on Mac 10.10.4 - Failure with mac specific modules

Ned Deily nad at acm.org
Fri Jul 17 18:44:16 CEST 2015


On the road in the wilds of the Rockies at the moment I can check tonight but it should work. What version of OS X and Xcode :(xcodebuild -version)?

  --
    Ned Deily


> On Jul 17, 2015, at 10:21, Senthil Kumaran <senthil at uthcode.com> wrote:
> 
> This failure happens only in 2.7 branch in the source tree.
> 
> [localhost 2.7]$ hg branch
> 2.7
> 
> [localhost 2.7]$ hg head 2.7
> changeset:   96916:ca78b9449e04
> branch:      2.7
> user:        Zachary Ware <zachary.ware at gmail.com>
> date:        Thu Jul 16 00:24:48 2015 -0500
> 
> $./configure
> 
> is OK
> 
> $ make
> /opt/twitter/bin/gcc-4.2 -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/mactoolboxglue.o Python/mactoolboxglue.c
> In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:55,
>                  from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
>                  from Include/pymactoolbox.h:10,
>                  from Python/mactoolboxglue.c:27:
> /System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:486: error: expected ‘,’ or ‘}’ before ‘__attribute__’
> make: *** [Python/mactoolboxglue.o] Error 1
> 
> 
> If I disable Mac specific modules
> 
> $ ./configure --disable-toolbox-glue
> $ make is fine.
> 
> Has any else observed this? I am trying to determine if this a bug or an incompatibility of Mac Command Line Tools I have with the 2.7 sources, most likely it is the later. 
> 
> -- 
> Senthil
> 
> 
> 
> 
> _______________________________________________
> python-committers mailing list
> python-committers at python.org
> https://mail.python.org/mailman/listinfo/python-committers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-committers/attachments/20150717/99d4f39f/attachment.html>


More information about the python-committers mailing list