You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building pyobjc 5.1.1 for python 2.7 on OS X 10.8 fails with these errors:
building 'objc._objc' extension
creating build/temp.macosx-10.8-x86_64-2.7
creating build/temp.macosx-10.8-x86_64-2.7/Modules
creating build/temp.macosx-10.8-x86_64-2.7/Modules/objc
/usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c Modules/objc/module.m -o build/temp.macosx
-10.8-x86_64-2.7/Modules/objc/module.o -g -fexceptions -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat=2 -W -Wpointer-arith -Wmissing-declarations -Wnested-externs -W -Wno-import -Wno-unknown-pra
gmas -Wshorten-64-to-32 -I/opt/local/lib/libffi-3.2.1/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -DPyObjC_BUILD_RELEASE=1009
Modules/objc/module.m:84:24: error: no member named 'majorVersion' in 'NSOperatingSystemVersion'
gSystemVersion.majorVersion = [[parts objectAtIndex:0] intValue];
~~~~~~~~~~~~~~ ^
Modules/objc/module.m:85:24: error: no member named 'minorVersion' in 'NSOperatingSystemVersion'
gSystemVersion.minorVersion = [[parts objectAtIndex:1] intValue];
~~~~~~~~~~~~~~ ^
Modules/objc/module.m:88:28: error: no member named 'patchVersion' in 'NSOperatingSystemVersion'
gSystemVersion.patchVersion = [[parts objectAtIndex:2] intValue];
~~~~~~~~~~~~~~ ^
Modules/objc/module.m:94:24: error: no member named 'majorVersion' in 'NSOperatingSystemVersion'
if (gSystemVersion.majorVersion >= 10 || gSystemVersion.minorVersion >= 10) {
~~~~~~~~~~~~~~ ^
Modules/objc/module.m:94:61: error: no member named 'minorVersion' in 'NSOperatingSystemVersion'
if (gSystemVersion.majorVersion >= 10 || gSystemVersion.minorVersion >= 10) {
~~~~~~~~~~~~~~ ^
Modules/objc/module.m:95:31: error: no member named 'majorVersion' in 'NSOperatingSystemVersion'
return gSystemVersion.majorVersion * 10000 + gSystemVersion.minorVersion * 100 + gSystemVersion.patchVersion;
~~~~~~~~~~~~~~ ^
Modules/objc/module.m:95:69: error: no member named 'minorVersion' in 'NSOperatingSystemVersion'
return gSystemVersion.majorVersion * 10000 + gSystemVersion.minorVersion * 100 + gSystemVersion.patchVersion;
~~~~~~~~~~~~~~ ^
Modules/objc/module.m:95:105: error: no member named 'patchVersion' in 'NSOperatingSystemVersion'
return gSystemVersion.majorVersion * 10000 + gSystemVersion.minorVersion * 100 + gSystemVersion.patchVersion;
~~~~~~~~~~~~~~ ^
Modules/objc/module.m:97:31: error: no member named 'majorVersion' in 'NSOperatingSystemVersion'
return gSystemVersion.majorVersion * 100 + gSystemVersion.minorVersion;
~~~~~~~~~~~~~~ ^
Modules/objc/module.m:97:67: error: no member named 'minorVersion' in 'NSOperatingSystemVersion'
return gSystemVersion.majorVersion * 100 + gSystemVersion.minorVersion;
~~~~~~~~~~~~~~ ^
Modules/objc/module.m:235:32: error: no member named 'majorVersion' in 'NSOperatingSystemVersion'
if (major > gSystemVersion.majorVersion) {
~~~~~~~~~~~~~~ ^
Modules/objc/module.m:237:40: error: no member named 'majorVersion' in 'NSOperatingSystemVersion'
} else if (major == gSystemVersion.majorVersion) {
~~~~~~~~~~~~~~ ^
Modules/objc/module.m:238:36: error: no member named 'minorVersion' in 'NSOperatingSystemVersion'
if (minor > gSystemVersion.minorVersion) {
~~~~~~~~~~~~~~ ^
Modules/objc/module.m:240:44: error: no member named 'minorVersion' in 'NSOperatingSystemVersion'
} else if (minor == gSystemVersion.minorVersion) {
~~~~~~~~~~~~~~ ^
Modules/objc/module.m:241:41: error: no member named 'patchVersion' in 'NSOperatingSystemVersion'
if (patch > gSystemVersion.patchVersion) {
~~~~~~~~~~~~~~ ^
15 errors generated.
The text was updated successfully, but these errors were encountered:
Original report by ryandesign (Bitbucket: ryandesign, GitHub: ryandesign).
Building pyobjc 5.1.1 for python 2.7 on OS X 10.8 fails with these errors:
The text was updated successfully, but these errors were encountered: