1
vote
2answers
638 views

“xcode-select --install” versus retrieving the dmg from Apple's developer website

I would to ask a question closely related to already existing posts (How to install command line tools without error that is not currently available on Software Update server? and ...
1
vote
1answer
1k views

Purge command - Unable to purge disk buffers, error #-2?

When I attempt to run the purge command, I get the same error every time. [ERROR] <CPDevice.c:3816> Unable to create new counter client. [ERROR] <CPOSX.c:1172> Unable to get user ...
3
votes
3answers
1k views

Homebrew warning: “No developer tools installed” even though Xcode is installed

After installing Homebrew the "brew doctor" command returns: Warning: No developer tools installed. You should install the Command Line Tools. Run `xcode-select --install` to install them. …and I ...
9
votes
2answers
3k views

How can I install the Command Line Tools completely from the command line?

I'd like to script the installation of the the Xcode Command Line Tools. On Mavericks, xcode-select --install will open a dialog prompting the user to install, but I'd like to trigger the install ...
2
votes
1answer
598 views

Terminal goes slow after install Mavericks OS

After I've update my OS to Mavericks. Terminal goes really slow, I've found out that the problem must be from Xcode. While I remove Xcode from my computer terminal works fine, and after I installed ...
1
vote
2answers
3k views

How to get Apple Command Line Developer Tools without App Store?

I got a mid-2013 MacBook Air for UNIX development. I'm disappointed that it came with no C/C++ compilers and with no make, which are apparently part of Apple Command Line Developer Tools, which is ...
3
votes
1answer
1k views

Is it possible to download Apple's Command Line Tools for Xcode from the command line?

Background My job gives me temporary MacBook Pros for travel purposes. I get them with a fresh OS install before I leave, and when I return, they blank the hard drive. The trips usually require some ...
1
vote
3answers
1k views

Clear Output Screen from C program [closed]

I am using a Macbook Air. I used system("cls"); and system("clear"). That would not work. It displays on the output screen (xcode output screen) that the command cannot be found. I am using the C ...
1
vote
3answers
7k views

Where can I find gcc in Xcode 3.2.6?

I have a Mac with OS X 10.6.8 Snow Leopard. I'm trying very hard to learn the basics of programming in C, but I can't get my first simple program to run. I read online to go to Xcode Preferences -> ...
1
vote
1answer
1k views

How do I get a Unix Executable File to run from anywhere, like Java or Git?

I've just created my first Command Line Tool in Xcode. What do I have to do, or where do I have to put the final output file, so that I can run it from anywhere from within terminal, without having ...
10
votes
3answers
7k views

I installed Xcode but I still don't have gcc in my terminal

I just got a Mac and I'm a complete newbie, so this may be kind of a really easy question, but I wasn't able to solve it with Google or F1. I was trying to run a C program from the Terminal that ...
0
votes
1answer
580 views

unable to run ddd on mac

I am trying to install ddd debugger on my MAC. It installed fine, however when I try to run it I get the following error: bash-3.2$ ddd test Error: No `Ddd' application defaults file To resolve this ...
1
vote
2answers
242 views

How can I get Unix (brew/xcode/vim) acting like Unix under Lion?

I "upgraded" from Snow Leopard with Homebrew and vim both chugging along happily, to Lion. Now vim hangs/segfaults, and when I invoke brew, it complains xcode is missing, and continues to do so after ...
0
votes
1answer
1k views

How can I run iPhone app in Simulator without opening Xcode using command-line utility

I know that there are some utilities which allows us to install iPhone apps to Simulator. But I found problems installing in this way when I have two Xcode versions installed on the system. I want to ...
5
votes
1answer
304 views

Why is mdfind only returning my most recently accessed files?

I've imported most of a javascript code base via mdimport (using the packaged SourceCode.mdimporter provided by Xcode) and it succeeds. However, mdfind only ever returns to me at most two results, ...
1
vote
3answers
1k views

I used to be able to use g++ from the terminal, but now it's missing. I still have XCode installed

I used to be able to use g++ from the terminal to compile c++ programs, but now when I try to use it, I get -bash: g++: command not found General advice on the internet was to install XCode, ...