<div dir="ltr">Hi all,<div><br></div><div>I just updated to OS X Yosemite. I have the latest XCode and also reinstalled command line developer tools.</div><div><br></div><div>When I try to install PETSc, I get the following error:</div><div><br></div><div>







<p class=""><span class="">./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-fblaslapack --download-mpich --with-debugging=0</span></p></div><div>







<p class=""><span class="">===============================================================================</span></p>
<p class=""><span class="">             Configuring PETSc to compile on your system                       </span></p>
<p class=""><span class="">===============================================================================</span></p>
<p class=""><span class="">TESTING: checkCPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:568)                        *******************************************************************************</span></p>
<p class=""><span class="">         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):</span></p>
<p class=""><span class="">-------------------------------------------------------------------------------</span></p>
<p class=""><span class="">Cannot find a C preprocessor</span></p>
<p class=""><span class="">*******************************************************************************</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">Can someone explain to me what's going on here?</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">Thanks,</span></p><p class=""><span class="">Justin</span></p></div></div>