osx-elcapitan

brew install clang-omp not working

谁说胖子不能爱 提交于 2019-11-27 19:25:08
I need to compile a C++ code with OpenMP on my Mac. Unfortunately the default version of clang installed on the Mac (703.0.31) does not support OpenMP. Therefore, I am trying to install the clang-omp package with brew (e.g., following this guide). The issue is that brew cannot find neither the libiomp, nor the clang-omp package: $ brew install clang-omp Error: No available formula with the name "clang-omp" ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching taps... Error: No formulae found in taps. I am wondering whether clang-omp is still

Can't install virtualenvwrapper on OSX 10.11 El Capitan

坚强是说给别人听的谎言 提交于 2019-11-27 18:56:06
I recently wiped my Mac and reinstalled OSX El Capitan public beta 3. I installed pip with sudo easy_install pip and installed virtualenv with sudo pip install virtualenv and did not have any problems. Now, when I try to sudo pip install virtualenvwrapper , I get the following: Users-Air:~ User$ sudo pip install virtualenvwrapper The directory '/Users/User/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The

Unable to access MySQL after it automatically generated a temporary password

最后都变了- 提交于 2019-11-27 17:56:37
I have erased and installed OSX 10.11 El Capitan and I have been following through this tutorial to get MySQL up and running on the new OS X. The first step was to download MySQL For Mac OS X 10.9 (x86, 64-bit), DMG Archive (works on 10.11, they recommended in the tutorial). While I were finishing installing the MySQL, I got the message saying that : 2015-10-25T02:10:54.549219Z 1 [Note] A temporary password is generated for root@localhost: R>gFySuiu23U If you lose this password, please consult the section How to Reset the Root Password in the MySQL reference manual. That was weird, I have

ERROR: While executing gem … (Errno::EPERM) Operation not permitted [duplicate]

偶尔善良 提交于 2019-11-27 16:35:49
This question already has an answer here: Can't install gems on OS X “El Capitan” 14 answers I just updated my Mac to OSX 10.11 El Capitan and some gems didn't remain. The problem arose when I tried to run installations of different gems... e.g.: > sudo gem install compass Once I execute, I get the error: > ERROR: While executing gem ... (Errno::EPERM) Operation not permitted This happens with other gems, as well... I've run Homebrew and tried to install Ruby again, but nothing is working. Roy Calderon I found the answer on SASS issues.. https://github.com/sass/sass/issues/1768 Apparently with

Android studio broke up my build.gradle file after add a Fragment

喜夏-厌秋 提交于 2019-11-27 14:35:59
问题 Using Android Studio 2.0 over El Capitan like the next screenshot said: I found a bug that I can't report: After add a Fragment to my project, AS screw up my module build.gradle file. I mean, before add the fragment they file looks like this screenshot: but after add the Fragment AS screw it in this way: The way to reproduce it is like I'm showing in next screenshot: I can fix it manually, but its so annoying doing it every single time that I add a Fragment. Is there anyway to fix it? I'm on

Mysql password expired. Can't connect

空扰寡人 提交于 2019-11-27 10:29:02
I just wiped my Mac and did a fresh install of El Capitan. I'm struggling to connect to Mysql now. Having gone through a web server setup process, I've created a simple PHP test file: <?php $conn = new mysqli("127.0.0.1", "root", "xxxxxxxx"); if ($conn->connect_error) echo "Connection failed: " . $conn->connect_error; else echo "Connected successfully"; phpinfo(); ?> When I run it, I get this error: Warning: mysqli::mysqli(): (HY000/1862): Your password has expired. To log in you must change it using a client that supports expired passwords. in /Users/rich/Documents/DESIGN/test/index.php on

Is there a workaround for: “dtrace cannot control executables signed with restricted entitlements”?

浪子不回头ぞ 提交于 2019-11-27 10:13:46
问题 It looks like in OS X 10.11 El Capitan, dtruss and dtrace can no longer do what they're meant to do. This is the error I get when I try to run sudo dtruss curl ... : dtrace: failed to execute curl: dtrace cannot control executables signed with restricted entitlements I've come across people noticing this problem but so far no solutions. Is there a way to fix this or work around this? 回答1: Once you csrutil enable --without dtrace , there is an alternative to copying the binary: run the binary

How to auto-load MySQL on startup on OS X Yosemite / El Capitan

旧城冷巷雨未停 提交于 2019-11-27 10:12:28
After upgrading OS X my install of MySQL stopped loading on startup. This walk-through on MySQL says: "The Startup Item installation adds a variable MYSQLCOM=-YES- to the system configuration file /etc/hostconfig. If you want to disable the automatic startup of MySQL, change this variable to MYSQLCOM=-NO-." So, I opened that file and it says: # This file is going away AFPSERVER=-NO- AUTHSERVER=-NO- TIMESYNC=-NO- QTSSERVER=-NO- MYSQLCOM=-YES- I assume OSX dev's added the # This file is going away but I'm not certain. If that is the case, what is the proper way to start MySQL on startup on OSX

Autostart MySQL Server on Mac OS X Yosemite/El Capitan

天涯浪子 提交于 2019-11-27 10:10:07
I would like to auto start the MySQL server on startup. This was possible in Mavericks but seems to be not working on Yosemite. edit : seems this works with El Capitan as well Xaver @dcc was very close. This is how MySQL autostarts again on Yosemite: The com.mysql.mysql.plist in /Library/LaunchDaemons : <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>KeepAlive</key> <true/> <key>Label</key> <string>com.mysql.mysqld</string> <key>ProgramArguments</key> <array> <string>

Can not perform `pod install` under el capitan (15A279b)

坚强是说给别人听的谎言 提交于 2019-11-27 09:09:36
问题 I ran pod install with El Capitan and got this error: Errno::EPERM - Operation not permitted - /Users/../Pods/Pods.xcodeproj/xcuserdata/root.xcuserdatad Here's my environment: El Capitan (15A279b), Xcode Version 7.0 (7A220), cocoapod 0.38.2. Any ideas? Thanks!!! The reason I use xcode7 (and not 6.4) is that I need to target an existing project to iOS9 for testing. And the reason I am using El Capitan is that xcode7 doesn't run under Yosemite. And I need to replace a library (managed by