MacOSXYosemite10.10brew error: mktemp: mkdtempfailedon/tmp/git-LIPo: Nosuchfileordirectory
This problem has plagued me for a long time, so I have to spend some time talking about the solution.
The thing is: two days ago, I updated the baby mac to 10.10 happily. Everything looks so beautiful, .. Mcrypt is required when I reinstall magento !; I installed it before, but I didn't have it after updating it. Okay, reinstall it !! However, at this time, we found that brew update cannot be used !! Pitfall !! So reinstall brew !, It's hard to install it. When brew installs mcrypt, the following problems occur:
Already downloaded:/Library/Caches/Homebrew/mhash-0.9.9.9.tar.gzmktemp: mkdtemp failed on/tmp/mhash-N7EaNg: No such file or directoryError: Failed to create sandbox
Have you seen a terrible error? What does TMD say can't be a sandbox or a bird's tongue. No way, Baidu .. No .. Google .. No. There is no way. solve it by yourself. It probably means there is a problem under/tmp. Well, let's change the installation directory. Edit ~ /. Bash_profile file, add
Export HOMEBREW_TEMP = "/usr/local/Cellar /"
Then update:
Source ~ /. Bash_profile
OK. I got the bitter feeling from the sky, and re-install it !!!