osx-elcapitan

How to install wget in macOS? [closed]

北城余情 提交于 2019-12-20 08:29:38
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I try to install wget in MAC OS 10.11.1 but when I run ./configure --with-ssl=openssl I get this error: configure: error: --with-ssl=openssl was given, but SSL is not available. How to resolve this problem in OSX 10.11.1? 回答1: Using brew First install brew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com

Error in mcrypt after upgrading into El Capitan OS

ε祈祈猫儿з 提交于 2019-12-20 05:11:21
问题 I just upgraded my OS into El Capitan. I had to do some changes in my apache configurations to make everything works as it did before. Thanks for - http://coolestguidesontheplanet.com/get-apache-mysql-php-and-phpmyadmin-working-on-osx-10-11-el-capitan/ One thing that is not working for me is the Mcrypt extension. Anyone knows how to update it to make it work? 回答1: Can be a problem related to the new System Integrity Protection or "SIP"? Maybe could be helpful to check permission on the /usr

Set OS X volume in OS X 10.11 using Swift without using the deprecated AudioHardwareServiceSetPropertyData API

对着背影说爱祢 提交于 2019-12-19 10:49:07
问题 I found this code to set the system volume using Swift. While using the code in a playground I got warning. AudioHardwareServiceSetPropertyData was deprecated in OS X 10.11 How do I update the code for OS X 10.11? Thanks. :) 回答1: As also suggested in this answer to a similar Objective-C question, I'd suggest using ISSoundAdditions, which you can call from Swift as such: NSSound.setSystemVolume(0.5) The implementation of -setSystemVolume begins around line 113 in ISSoundAdditions.m in case you

Extract .xip files into a specific folder

泪湿孤枕 提交于 2019-12-19 05:45:07
问题 A XIP file is an analog to zip, but allows for a digital signature to be applied and verified on the receiving system, before the archive is expanded. When a XIP file is opened (by double-clicking), Archive Utility will automatically expand it (but only if the digital signature is intact). Essentially, a .xip file is just a .zip with a signature to verify that the file has not changed since its creator saved it. This protects from both damage from a disk error and from a third-party tampering

'sudo gem install cocoapods' doesn't work on El Capitan 10.11.4 , ERROR: Could not find a valid gem 'cocoapods' (>= 0) in any repository

假如想象 提交于 2019-12-18 20:07:23
问题 Upgrading from Yosemite to El Capitan seem to have wiped out the already installed CocoaPods. When I pod install Alamofire/SwiftyJson, it says 'Pod command not found' , and as per the stackoverflow solutions I uninstalled cocoapods and trying to reinstall it with the commands - sudo gem uninstall cocoapods - sudo gem install cocoapods I get the error: "Could not find a valid gem 'cocoapods' (>= 0) in any repository" Did go through ALL the solutions mentioned by the Gurus under the issue https

Matplotlib Error: “figure includes Axes that are not compatible with tight_layout”

∥☆過路亽.° 提交于 2019-12-18 12:09:48
问题 After adding bbox_inches="tight" to an invocation of plt.savefig that has worked for several years, I get /usr/local/lib/python2.7/site-packages/matplotlib/figure.py:1744: UserWarning: This figure includes Axes that are not compatible with tight_layout, so its results might be incorrect The figure in question appears to work (without truncation of annotations now), but I wonder what this error could mean and whether there's anything obvious or known (without digging deep into complex figure

How do I remove MacPorts on an “unsupported OS” i.e. El Capitan Public beta?

别说谁变了你拦得住时间么 提交于 2019-12-18 11:50:56
问题 The MacPorts installation that I had on Yosemite doesn't work on the El Capitan since it isn't supported yet. I want to remove the Port installation here but I'm not able to run any of the Port commands. Does anyone have an idea how to clean it up? On running any port command, I get the following error: Error: Current platform "darwin 15" does not match expected platform "darwin 14" Error: If you upgraded your OS, please follow the migration instructions: https://trac.macports.org/wiki

change xcrun developer path for Android Studio/IntelliJ

别来无恙 提交于 2019-12-17 22:54:37
问题 I'm using GIT and am trying to push my code and getting the following error when using the Terminal . I don't use XCode , I'm using Android Studio . The command I tried using was: git branch Networking Error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun` I am running on El Capitan Beta 4 update if that helps in any way. Update : This also happens for IntelliJ users, and for MacOS Catalina

How to completely uninstall vscode on mac

时间秒杀一切 提交于 2019-12-17 21:43:14
问题 I need to clean install vscode on my mac. I opened the terminal and removed the .vscode/ from ~ . I also delete the Visual Studio Code.app/ from / . However, after deleting all that and download a fresh copy, I installed and open the editor and the editor remembered the last project I had. For me, that means that it is something else I need to delete but I can't find it. I went to the documentation but can't find anything about uninstalling the editor. Does anyone know how to completely

DYLD_LIBRARY_PATH & DYLD_INSERT_LIBRARIES not working

て烟熏妆下的殇ゞ 提交于 2019-12-17 18:33:27
问题 I create a .dylib file and compile it: #define _GNU_SOURCE #include <dlfcn.h> #include <stdio.h> static void* (*real_malloc)(size_t); void *malloc(size_t size) { void *p = NULL; fprintf(stderr, "malloc(%zd) = ", size); p = real_malloc(size); fprintf(stderr, "%p\n", p); return p; } void __attribute((constructor))init() { real_malloc = (decltype(real_malloc))dlsym(RTLD_NEXT, "malloc"); if (NULL == real_malloc) { fprintf(stderr, "Error in `dlsym`: %s\n", dlerror()); return; } } Then I create a