[python-committers] 2.7 compilation problem on Mac 10.10.4 - Failure with mac specific modules
Senthil Kumaran
senthil at uthcode.com
Fri Jul 17 18:21:49 CEST 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-committers/attachments/20150717/206bb466/attachment.html>
More information about the python-committers
mailing list