Questions tagged [osx-elcapitan]
Twelfth major release of OS X (10.11)
osx-elcapitan
1,200
questions
573
votes
16
answers
268k
views
Command Line Tools not working - OS X El Capitan, Sierra, High Sierra, Mojave
I just upgraded from Yosemite to El Capitan (and replicated the problem upgrading from El Capitan to Sierra), and when I try to type for example git status inside a terminal, I get the following error:...
298
votes
5
answers
586k
views
How to install wget in macOS? [closed]
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 ...
273
votes
5
answers
420k
views
Operation Not Permitted when on root - El Capitan (rootless disabled) [closed]
I am trying to move something to /usr/bin on OS X El Capitan. I have disabled rootless using the following commands: sudo nvram boot-args="rootless=0"; sudo reboot, but I keep getting the same error:
...
204
votes
9
answers
143k
views
Setting environment variables via launchd.conf no longer works in OS X Yosemite/El Capitan/macOS Sierra/Mojave?
It looks like the launchd.conf does not load my environment variable anymore.
Has anyone else noticed that?
Is there another solution to permanently set environment variables?
169
votes
12
answers
43k
views
PDFtk Server on OS X 10.11
I've been using PDFTK Server on OSX pre 10.11 for over a year without any issues running commands on the command line.
After installing OSX 10.11 beta, I can no longer run any PDFTK Server commands ...
153
votes
2
answers
126k
views
ERROR: While executing gem ... (Errno::EPERM) Operation not permitted [duplicate]
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 ...
131
votes
12
answers
137k
views
OSX El Capitan: sudo pip install OSError: [Errno: 1] Operation not permitted
When I run:
sudo pip install ipython
I get the following error
OSError: [Errno: 1] Operation not permitted: '/System/Library/Frameworks/Python.framework/Versions/2.7/share'
The last command ...
97
votes
7
answers
101k
views
`Apache` `localhost/~username/` not working
So I just recently upgrade to Mac OS X Yosemite and I need to set up my Apache again. I create a folder "Sites" under /user/kevin and change file permission to 777 and uncomment the ...
94
votes
21
answers
155k
views
Mysql password expired. Can't connect
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
$...
84
votes
7
answers
48k
views
Autostart MySQL Server on Mac OS X Yosemite/El Capitan
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
81
votes
6
answers
41k
views
Is there a workaround for: "dtrace cannot control executables signed with restricted entitlements"?
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: ...
78
votes
5
answers
62k
views
How to auto-load MySQL on startup on OS X Yosemite / El Capitan
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 ...
73
votes
7
answers
87k
views
"restricted" folder/files in OS X El Capitan
After upgrading from OS X Yosemite to OS X El Capitan Developer Preview, I tried to edit /System/Library/LaunchDaemons/ssh.plist to change the default SSH port to a custom one. This is the process I'...
70
votes
15
answers
104k
views
Unable to access MySQL after it automatically generated a temporary password
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 (...
67
votes
5
answers
22k
views
change xcrun developer path for Android Studio/IntelliJ
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 ...
66
votes
6
answers
34k
views
Can not perform `pod install` under el capitan (15A279b)
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), ...
66
votes
7
answers
70k
views
brew install npm "npm: command not found"
I've installed node using brew install node and when I use the node -v I get following v5.0.0. However when I try to run the npm command I get npm: command not found.
I've tried to run brew install ...
64
votes
7
answers
26k
views
Cocoa Pods not updating pods on El Capitan
I've upgraded to El Capitan and since then I can't update my pods.
$ pod update
-bash: pod: command not found
So I've tried to reinstall CocoaPods and got this:
$ sudo gem install cocoapods
ERROR: ...
56
votes
2
answers
17k
views
Can't install virtualenvwrapper on OSX 10.11 El Capitan
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....
54
votes
20
answers
101k
views
Homebrew install: Failed during: git fetch origin master:refs/remotes/origin/master -n --depth=1
I ran the following command on terminal (Mac El Capitan)
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
and got the following error message:
...
51
votes
4
answers
75k
views
`brew upgrade` hangs on El Capitan
I can't run brew upgrade without it hanging indefinitely. I'm using El Capitan OS. Here's the input/output:
>>$ brew upgrade
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (...
51
votes
7
answers
31k
views
Trouble installing m2crypto with pip on OS X / macOS
pip install m2crypto
Generates the following output:
building 'M2Crypto.__m2crypto' extension
swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
swig -python -I/System/Library/Frameworks/Python....
51
votes
4
answers
55k
views
Yosemite / El Capitan php-gd + mcrypt installation
How to install/enable php-gd and mcrypt in Yosemite 10.10 - PHP 5.5.14 build?
note that following steps install newest PHP 5.5.x
To check if you have gd and mcrypt installed use $ php -m to display ...
50
votes
4
answers
43k
views
Can't find msguniq. Make sure you have GNU gettext tools 0.15 or newer installed. (Django 1.8 and OSX ElCapitan)
I'm trying to internationalize a Django app by following the wonderful Django documentation. The problem is when I try to run command to create language files:
python manage.py makemessages -l fr
...
49
votes
14
answers
72k
views
Why is node-gyp rebuild failing on Mac OSX El Capitan
I recently bought a mac, which uses Mac OSX El Capitan v10.11.4. Installed node with homebrew, and am using node v6.2.2 and npm v3.9.5. I'm getting an error with bcrypt during npm install, which I ...
46
votes
4
answers
84k
views
Docker image running a Mac OS X installation
I am using Docker for Mac and wish to create Docker image running a Mac El Capitan with my development env.
I am not finding any resources on this. All I see is Linux installations.
On Linux I saw ...
43
votes
4
answers
34k
views
How can I disable Bash sessions in OS X El Capitan
A seemingly new feature in OS X El Capitan (10.11 Beta) is Bash sessions (Terminal sessions). I now have a ~/.bash_sessions directory with history files, and my HISTFILE and HISTIGNORE envars are ...
41
votes
2
answers
11k
views
iosnoop, iotop, opensnoop, execsnoop, opensnoop, dtruss and other dtrace based commands don't work on osx El capitan, macOS Sierra
While running iosnoop command on OSX 10.11.1 I get an error with the following text:
dtrace: invalid probe specifier
/*
* Command line arguments
*/
inline int OPT_dump = 0;
inline int ...
40
votes
1
answer
38k
views
Who or what is '_mbsetupuser'? [closed]
In all my terminal sessions on OS X or macOS, if I type who, in addition to the expected users (all me in various windows) I also always see
_mbsetupuser console ...
Just who is that, and what is ...
40
votes
5
answers
6k
views
Release UDP port used by dead process on OS X
I am on OS X 10.11.6 and trying to run a program that normally listens on UDP port 8008 upon startup.
This program normally also spawns a couple of helper child processes during its operation, but ...
39
votes
2
answers
33k
views
Matplotlib Error: "figure includes Axes that are not compatible with tight_layout"
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:
...
35
votes
6
answers
23k
views
El Capitan upgrade: Library not loaded: /usr/local/lib/libmysqlclient.18.dylib
Error:
/Users/askar/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/mysql2-0.3.20/lib/mysql2.rb:31:in `require': dlopen(/Users/askar/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/extensions/x86_64-darwin-...
35
votes
3
answers
12k
views
Getting "cat: /release: No such file or directory" when running scala
I tried to install Scala 2.12.1 on my Mac (El Capitan) via Homebrew and also by downloading the binaries from https://www.scala-lang.org/download/.
In both cases, whenever I run scala (or scalac, ...
34
votes
3
answers
67k
views
How to view DNS cache in OSX? [closed]
To list the entries of DNS cache in OSX 10.11.6, I tried dscacheutil -statistics but that didn't work.
$ sudo dscacheutil -statistics
Unable to get details from the cache node
How can I just print ...
32
votes
5
answers
6k
views
Xcode 6.4/7 crashing after El Capitan beta
I updated my computer to the latest beta that was released to developers last night and the same project that was compiling fine yesterday night now fails due to a supposed .xib/.storyboard error.
I ...
31
votes
1
answer
14k
views
sublime symlink disappeared after upgrading to El Capitan
I have just upgraded to OS X El Capitan and subl . command stopped working with the zsh: command not found: subl error message.
I have run the following command as suggested in other posts:
sudo ln ...
30
votes
5
answers
8k
views
Homebrew won't brew any more
On my MacMini with El Capitan I can't run brew any more. I get the following Error:
/usr/local/Library/Homebrew/config.rb:34:in `initialize': no implicit conversion of nil into String (TypeError)
...
30
votes
8
answers
16k
views
Android Device Monitor will not launch, either from Android Studio or from Terminal -- UnsupportedClassVersionError
I am getting the following error when trying to launch Android Device Monitor from the Tools window in Android Studio on a Mac.
and when I open the log file I find an error report very similar to the ...
29
votes
9
answers
25k
views
Installing Cocoapods on OS X El Capitan error
First of all. I updated to El Capitan because of iOS 9.3 and it's support only in xCode 7.3.
After update I discovered that pod command isn't working.
I executed:
sudo gem install cocoapods
ERROR: ...
28
votes
10
answers
22k
views
Install therubyracer gem on OSX 10.11 El Capitan
bundle install fails with Make sure that `gem install therubyracer -v '0.12.1'` succeeds before bundling
gem install therubyracer -v '0.12.1' fails with errors which appear to relate to compilation
...
28
votes
8
answers
27k
views
How to extract xip archive using command line?
I searched around how to extract XIP archive using command line with no luck so I am leaving my own solution, as a bash function, here.
I found my inspiration here.
28
votes
4
answers
32k
views
brew install clang-omp not working
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 ...
28
votes
2
answers
58k
views
How to update cURL on OSX El Capitan?
I'm new using Mac and I'd like to upgrade the available cURL-7.43.0 to the last version cURL-7.47.1?
I'm looking at some pages, but they say to avoid upgrading the originals on OSX.
Any help please?
...
26
votes
2
answers
12k
views
MySQL Improperly Configured Reason: unsafe use of relative path
I'm using Django, and when I run python manage.py runserver I receive the following error:
ImproperlyConfigured: Error loading MySQLdb module: dlopen(/Library/Python/2.7/site-packages/_mysql.so, 2): ...
26
votes
4
answers
31k
views
Uninstall vagrant on Mac
I want to uninstall Vagrant on a mac running El Capitan.
The Vagrant docs say:
On Mac OS X, remove the /Applications/Vagrant directory and the /usr/bin/vagrant file. Also execute sudo pkgutil --...
26
votes
1
answer
10k
views
Git doesn't work after upgrading Mac OS X El Capitan [duplicate]
Git doesn't work after upgrading Mac OS X El Capitan.
After installing El Capitan, I have this error when I'm doing a git command:
xcrun: error: invalid active developer path (/Library/Developer/...
25
votes
1
answer
4k
views
Manipulate OS X windows with script
Ok, so I'm trying to make my setup super simple by creating a script that I can run in the morning that will launch all the applications that I use in the day and lay them out across my 'spaces' how I ...
24
votes
3
answers
14k
views
brew install mysql on mac os el capitan
I'm trying to install mysql on MAC OS version 10.11.2 by following the methods in this link,
The following command has been successfully executed,
brew install mysql
but when I type the following ...
24
votes
2
answers
10k
views
Compass doesn't work after update to OS X El Capitan (10.11) [duplicate]
After installing OS X El Capitan (10.11) my ruby compass is no longer working. After trying to install compass I recieve error message like this:
$ sudo gem install compass
ERROR: While executing ...
22
votes
10
answers
35k
views
How to install xgboost in python on MacOS?
I am a newbie and learning python. Can someone help me- how to install xgboost in python. Im using Mac 10.11. I read online and did the below mentioned step, but not able to decode what to do next:
...