Jim Roepcke's weblog have browser, will travel (est. 1999)

7Sep/09Off

Installing Mercurial on Snow Leopard

I had trouble getting mercurial 1.3.1 to install (using easy_install) in Snow Leopard today. First I had to re-install Xcode and include the 10.4u SDK, as it was looking for that and it wasn't there.

Even after installing that SDK, it failed to install. Complaining it couldn't find stdarg.h. After some googling of the error messages, I found a workaround:

export CC=gcc-4.0
export CXX=g++-4.0
easy_install -U mercurial

Note that I'm using the Python 2.6.2 build from python.org, which is 32-bit, not the 64-bit Python 2.6.1 that is included with Snow Leopard.

Filed under: Uncategorized No Comments

Roepcke Computing Solutions

Jim Roepcke specializes in development and mentoring for iPhone and Mac OS X / Cocoa, WebObjects, and Python.

Contact Jim for more information.

Archive Calendar

September 2009
S M T W T F S
« Aug   Oct »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Blogroll

Saved Searches

Willing to Fail

Jim Roepcke is Willing to Fail

WebObjects book

I co-authored this book

Badges

Proud Member of the Association for Computing Machinery

Listed on BlogShares

Blog Directory - Blogged

Recent tweets

Meta