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

Unable to install on OSX 11 (Big Sur) #23

Open
mdnoble-GN opened this issue Jun 29, 2020 · 0 comments
Open

Unable to install on OSX 11 (Big Sur) #23

mdnoble-GN opened this issue Jun 29, 2020 · 0 comments

Comments

@mdnoble-GN
Copy link

mdnoble-GN commented Jun 29, 2020

System OS - OSX 11 Beta 1
Ruby version 2.4.0 with rvm 1.29.10

When trying to install accessibility_core-0.7.1 i get the following error
`Building native extensions. This could take a while...
ERROR: Error installing accessibility_core:
ERROR: Failed to build gem native extension.

    current directory: /Users/.rvm/gems/ruby-2.4.0/gems/accessibility_core-0.7.1/ext/accessibility/extras
/Users/.rvm/rubies/ruby-2.4.0/bin/ruby -I /Users/.rvm/rubies/ruby-2.4.0/lib/ruby/site_ruby/2.4.0 -r ./siteconf20200629-2989-1lwas2q.rb extconf.rb
creating Makefile

current directory: /Users/.rvm/gems/ruby-2.4.0/gems/accessibility_core-0.7.1/ext/accessibility/extras
make "DESTDIR=" clean

current directory: /Users/.rvm/gems/ruby-2.4.0/gems/accessibility_core-0.7.1/ext/accessibility/extras
make "DESTDIR="
compiling extras.c
extras.c:306:12: error: 'launchAppWithBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifier:' is deprecated: first deprecated in macOS 10.16 - Use -[NSWorkspace openApplicationAtURL:configuration:completionHandler:] instead. [-Werror,-Wdeprecated-declarations]
                         launchAppWithBundleIdentifier:identifier
                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWorkspace.h:381:1: note: 'launchAppWithBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifier:' has been explicitly marked deprecated here
- (BOOL)launchAppWithBundleIdentifier:(NSString *)bundleIdentifier options:(NSWorkspaceLaunchOptions)options additionalEventParamDescriptor:(nullable NSAppleEventDescriptor *)descriptor launchIdentifier:(NSNumber * _Nullable * _Nullable)identifier API_DEPRECATED("Use -[NSWorkspace openApplicationAtURL:configuration:completionHandler:] instead.", macos(10.0, 10.16));
^
extras.c:512:3: error: 'IOHIDPostEvent' is deprecated: first deprecated in macOS 10.16 - Use CGSEventTap for posting HID events, IOHIDUserDevice for simulating HID device, IOPMAssertionDeclareUserActivity for reporting user activity [-Werror,-Wdeprecated-declarations]
  IOHIDPostEvent(screen_connection, NX_FLAGSCHANGED, point, &data, kNXEventDataVersion, flags, 0);
  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDLib.h:62:1: note: 'IOHIDPostEvent' has been explicitly marked deprecated here
IOHIDPostEvent( io_connect_t        connect,
^
extras.c:784:66: error: 'NSWorkspaceLaunchAndPrint' is deprecated: first deprecated in macOS 10.16 - Use -[NSWorkspaceOpenConfiguration setForPrinting:YES] instead. [-Werror,-Wdeprecated-declarations]
    WORKSPACE_CONST("NSWorkspaceLaunchAndPrint",                 NSWorkspaceLaunchAndPrint);
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWorkspace.h:322:5: note: 'NSWorkspaceLaunchAndPrint' has been explicitly marked deprecated here
    NSWorkspaceLaunchAndPrint                 API_DEPRECATED("Use -[NSWorkspaceOpenConfiguration setForPrinting:YES] instead.", macos(10.3, 10.16)) = 0x00000002,
    ^
extras.c:785:66: error: 'NSWorkspaceLaunchInhibitingBackgroundOnly' is deprecated: first deprecated in macOS 10.16 - This option does nothing. [-Werror,-Wdeprecated-declarations]
    WORKSPACE_CONST("NSWorkspaceLaunchInhibitingBackgroundOnly", NSWorkspaceLaunchInhibitingBackgroundOnly);
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWorkspace.h:324:5: note: 'NSWorkspaceLaunchInhibitingBackgroundOnly' has been explicitly marked deprecated here
    NSWorkspaceLaunchInhibitingBackgroundOnly API_DEPRECATED("This option does nothing.", macos(10.3, 10.16)) = 0x00000080,
    ^
extras.c:786:66: error: 'NSWorkspaceLaunchWithoutAddingToRecents' is deprecated: first deprecated in macOS 10.16 - Use -[NSWorkspaceOpenConfiguration setAddsToRecentItems:YES] instead. [-Werror,-Wdeprecated-declarations]
    WORKSPACE_CONST("NSWorkspaceLaunchWithoutAddingToRecents",   NSWorkspaceLaunchWithoutAddingToRecents);
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWorkspace.h:325:5: note: 'NSWorkspaceLaunchWithoutAddingToRecents' has been explicitly marked deprecated here
    NSWorkspaceLaunchWithoutAddingToRecents   API_DEPRECATED("Use -[NSWorkspaceOpenConfiguration setAddsToRecentItems:YES] instead.", macos(10.3, 10.16)) = 0x00000100,
    ^
extras.c:787:66: error: 'NSWorkspaceLaunchWithoutActivation' is deprecated: first deprecated in macOS 10.16 - Use -[NSWorkspaceOpenConfiguration setActivates:NO] instead. [-Werror,-Wdeprecated-declarations]
    WORKSPACE_CONST("NSWorkspaceLaunchWithoutActivation",        NSWorkspaceLaunchWithoutActivation);
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWorkspace.h:326:5: note: 'NSWorkspaceLaunchWithoutActivation' has been explicitly marked deprecated here
    NSWorkspaceLaunchWithoutActivation        API_DEPRECATED("Use -[NSWorkspaceOpenConfiguration setActivates:NO] instead.", macos(10.3, 10.16)) = 0x00000200,
    ^
extras.c:788:66: error: 'NSWorkspaceLaunchAsync' is deprecated: first deprecated in macOS 10.16 - When using NSWorkspaceOpenConfiguration, all launches are asynchronous. [-Werror,-Wdeprecated-declarations]
    WORKSPACE_CONST("NSWorkspaceLaunchAsync",                    NSWorkspaceLaunchAsync);
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWorkspace.h:327:5: note: 'NSWorkspaceLaunchAsync' has been explicitly marked deprecated here
    NSWorkspaceLaunchAsync                    API_DEPRECATED("When using NSWorkspaceOpenConfiguration, all launches are asynchronous.", macos(10.3, 10.16)) = 0x00010000,
    ^
extras.c:794:66: error: 'NSWorkspaceLaunchNewInstance' is deprecated: first deprecated in macOS 10.16 - Use -[NSWorkspaceOpenConfiguration setCreatesNewApplicationInstance:YES] instead. [-Werror,-Wdeprecated-declarations]
    WORKSPACE_CONST("NSWorkspaceLaunchNewInstance",              NSWorkspaceLaunchNewInstance);
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWorkspace.h:328:5: note: 'NSWorkspaceLaunchNewInstance' has been explicitly marked deprecated here
    NSWorkspaceLaunchNewInstance              API_DEPRECATED("Use -[NSWorkspaceOpenConfiguration setCreatesNewApplicationInstance:YES] instead.", macos(10.3, 10.16)) = 0x00080000,
    ^
extras.c:795:66: error: 'NSWorkspaceLaunchAndHide' is deprecated: first deprecated in macOS 10.16 - Use -[NSWorkspaceOpenConfiguration setHides:YES] instead. [-Werror,-Wdeprecated-declarations]
    WORKSPACE_CONST("NSWorkspaceLaunchAndHide",                  NSWorkspaceLaunchAndHide);
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWorkspace.h:329:5: note: 'NSWorkspaceLaunchAndHide' has been explicitly marked deprecated here
    NSWorkspaceLaunchAndHide                  API_DEPRECATED("Use -[NSWorkspaceOpenConfiguration setHides:YES] instead.", macos(10.3, 10.16)) = 0x00100000,
    ^
extras.c:796:66: error: 'NSWorkspaceLaunchAndHideOthers' is deprecated: first deprecated in macOS 10.16 - Use -[NSWorkspaceOpenConfiguration setHidesOthers:YES] instead. [-Werror,-Wdeprecated-declarations]
    WORKSPACE_CONST("NSWorkspaceLaunchAndHideOthers",            NSWorkspaceLaunchAndHideOthers);
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWorkspace.h:330:5: note: 'NSWorkspaceLaunchAndHideOthers' has been explicitly marked deprecated here
    NSWorkspaceLaunchAndHideOthers            API_DEPRECATED("Use -[NSWorkspaceOpenConfiguration setHidesOthers:YES] instead.", macos(10.3, 10.16)) = 0x00200000,
    ^
extras.c:797:66: error: 'NSWorkspaceLaunchDefault' is deprecated: first deprecated in macOS 10.16 - Use NSWorkspaceOpenConfiguration instead. [-Werror,-Wdeprecated-declarations]
    WORKSPACE_CONST("NSWorkspaceLaunchDefault",                  NSWorkspaceLaunchDefault);
                                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWorkspace.h:331:5: note: 'NSWorkspaceLaunchDefault' has been explicitly marked deprecated here
    NSWorkspaceLaunchDefault                  API_DEPRECATED("Use NSWorkspaceOpenConfiguration instead.", macos(10.3, 10.16)) = NSWorkspaceLaunchAsync,
    ^
11 errors generated.
make: *** [extras.o] Error 1

make failed, exit code 2``````
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