views:

523

answers:

2

I am trying to install Scrapy on a a Mac OS X 10.6.2 machine... When i try to build one of the dependent modules ( libxml2 )

I am getting the following error:

configure: error: no acceptable C compiler found in $PATH

I assume I need the gcc...is that easy to install on 10.6? Is there some sort of package I should be installing, so as to not get hung up like this installing modules in Python?

+2  A: 

You need to install the Apple Xcode Development tools. There would be on Apple Developer Connection site or on your Mac OS X installation CDs/DVD. Ensure that the optional components for command line development are installed ("Unix Development" in the Xcode 3.x installer)

Mark
+1  A: 

You need to install XCode ('developer tools') from the Snow Leopard DVD - this includes gcc among much other stuff. You should also run software update after the install to freshen it

Max