I'm trying to install octave on macos mountain lion via the following:
sudo port install octave
However, the result of this command is always the following:
Error:
Error: No valid Xcode installation is properly selected.
Error: Please use xcode-select to select an Xcode installation:
Error: sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer # version 4.4
Error:
I've tried the suggested sudo xcode-select -switch
command to no avail. The same error always occurs. Any ideas how to resolve this problem?
Did you install xcode or just the command line tools?
I installed just the command line tools and was able to trick some GEMS by using the following command:
sudo xcode-select -switch /usr/bin
I basically pointed them to the bin folder where my GCC lives.
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
solved for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With