xcode-command-line-tools

How can I install zlib on Mac OS X Mojave (10.14)?

风格不统一 提交于 2019-12-02 22:40:26
I recently upgraded from Sierra to Mojave. After that I tried to use pyenv install 3.5.6 . This uses homebrew in the background to try to install python, which fails with zipimport.ZipImportError: can't decompress data; zlib not available . The same command worked before the upgrade. This question has been asked before and the generally accepted solution is to install xcode command line tools using this command: xcode-select --install . I have both xcode 10 and the command line tools installed but zlib is still unavailable. I tried installing zlib using homebrew but that didn't work either.

Installing Xcode command line tools

天涯浪子 提交于 2019-12-02 21:03:46
I performed a fresh install of macOS Mojave 10.14. Immediately after that I installed Xcode Version 10.0 (10A255) from the Mac App Store. Now, I wish to install Homebrew which requires Xcode command line tools to be installed. My understanding is that installing Xcode also installs the command line tools. Or not? As per this answer , I checked if the command line tools are installed by running: xcode-select -p which printed the path for the Developer directory as follows: /Applications/Xcode.app/Contents/Developer As suggested in the answer, I also verified the return value by running: echo $?

How to switch between multiple Command Line Tools installations in Mac OS X (without installing XCode)

六眼飞鱼酱① 提交于 2019-11-30 15:55:48
Is it possible to install and switch between multiple version of Command Line Tools in Mac OS X? I was wondering if it's possible use xcode-select but the Command Line Tools installer doesn't have an option to choose the installation destination. I tried to create multiple installations by manually renaming Library/Developer/CommandLineTools and then passing it to xcode-select . The command succeeds but when I try to access gcc I get: gcc: error: unable to find Xcode installation from active developer path "/Library/Developer/CommandLineTools_9.0.0", use xcode-select to change It seems this is

How to switch between multiple Command Line Tools installations in Mac OS X (without installing XCode)

我是研究僧i 提交于 2019-11-29 23:34:23
问题 Is it possible to install and switch between multiple version of Command Line Tools in Mac OS X? I was wondering if it's possible use xcode-select but the Command Line Tools installer doesn't have an option to choose the installation destination. I tried to create multiple installations by manually renaming Library/Developer/CommandLineTools and then passing it to xcode-select . The command succeeds but when I try to access gcc I get: gcc: error: unable to find Xcode installation from active