title: xcode/perlbrew & building CPAN modules - make options? SDKs? Getting build errors
body: <p>I'm brand new to OSX, but have been using UNIX/Linux for decades. Just got a new MBP Retina running latest OSX 10.8.1.</p>
  
  <ul>
  <li>installed fink</li>
  <li>installed perlbrew</li>
  <li>installed xcode</li>
  </ul>
  
  <p>All's well, except I can't get a lot of CPAN modules to build. I am guessing I need to add some magic xcode SDK to get needed libs?</p>
  
  <p>Here's an example:</p>
  
  <pre><code>$ cpanm Wx
  ...
  make[2]: *** No rule to make target `/Users/dfelicia/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1/darwin-thread-multi-2level/CORE/cc_runtime.h', needed by `RichText.o'.  
  Stop.
  make[1]: *** [subdirs] Error 2
  make: *** [subdirs] Error 2
  </code></pre>
  
  <p>Regardless of the module that fails to build (and there are many), the failure is always with cc_runtime.h.</p>
  
  <p>What am I missing?</p>
  
  <p>I built perl 5.16.2 using the perlbrew arguments from here: <a href="http://wiki.wxperl.info/w/index.php/Mac_OS_X_Platform_Notes" rel="nofollow">http://wiki.wxperl.info/w/index.php/Mac_OS_X_Platform_Notes</a></p>