Take the 2-minute tour ×
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

Title says it all - can anyone walk me through setting this up on a mac? I ran the linux python install script but i'm guessing i'm missing a few dependencies as it failed on me.

edit: there are numerous errors, listed here:

Reading http://tmrc.mit.edu/mirror/twisted/Twisted/9.0/
Download error on http://tmrc.mit.edu/mirror/twisted/Twisted/9.0/: [Errno 61] Connection refused -- Some packages may not be found!
Reading http://tmrc.mit.edu/mirror/twisted/Twisted/10.0/
Download error on http://tmrc.mit.edu/mirror/twisted/Twisted/10.0/: [Errno 61] Connection refused -- Some packages may not be found!
Reading http://twistedmatrix.com/projects/core/
Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/
Download error on http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/: [Errno 61] Connection refused -- Some packages may not be found!
Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/
Download error on http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/: [Errno 61] Connection refused -- Some packages may not be found!

Running Twisted-12.3.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-OQqo5N/Twisted-12.3.0/egg-dist-tmp-9vucfj
unable to execute llvm-gcc-4.2: No such file or directory
unable to execute llvm-gcc-4.2: No such file or directory
unable to execute llvm-gcc-4.2: No such file or directory
error: Setup script exited with error: command 'llvm-gcc-4.2' failed with exit status 1
share|improve this question
    
Knowing the error message would quite obviously be important to be able to help you... –  Lohoris Feb 20 '13 at 0:06
    
good point. added to question. –  John Feb 20 '13 at 0:17
2  
unable to execute llvm-gcc-4.2: No such file or directory seems to indicate that you do not have a compiler installed. Did you set up Xcode and install the command line tools, or install GCC through MacPorts or Homebrew? –  Colin Dean Feb 20 '13 at 2:04
1  
Aah, I've been a fool, the command line tools have apparently been optional addons for Xcode since 4.2 so I assumed i had gcc but did not. Got them from xcode preferences/downloads. Thank you! Works fine now. Worryingly though, gcc will no longer be an option for future versions of Xcode (4.6 forwards) –  John Feb 20 '13 at 3:00
    
Any reason this has to be so difficult? Ah, to show that the devs are so much smarter than the rest of us! –  Zaph Feb 19 at 0:34

1 Answer 1

up vote 4 down vote accepted

So, while Mac includes python it does not include gcc by default, even once you've installed Xcode 4.2 or later. For now, grab that, go to preferences, downloads and get the command line tools.

Once a version of Xcode higher than 4.6 is out you'll have to find a new way to install gcc on your mac, as gcc will no longer be included, but I guess that's a question for another stackexchange, and likely a macports or homebrew solution.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.