Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>SUMMARY FOR STACK OVERFLOW</p> <p>I was trying to install SiriProxy on a clean Lion installation on Xcode from App Store</p> <p>I kept getting errors like : The provided CC(/usr/bin/gcc) is LLVM based.</p> <pre><code>bash-3.2$ rvm install 1.9.3 ERROR: The provided CC(/usr/bin/gcc) is LLVM based, it is not yet fully supported by ruby and gems, please read `rvm requirements`. </code></pre> <p><br> After 2 days finally <strong>got it working with these two lines:</strong></p> <pre><code>http://stackoverflow.com/questions/8000145/ruby-rvm-llvm-and-mysql bash-3.2$ rvm get head bash-3.2$ CC=/usr/bin/gcc-4.2 rvm install 1.9.3 --enable-shared </code></pre> <p>Before that I had tried every stackoverflow article on Ruby and Lion so doing these may have done some setup that helped the above 2 steps work:</p> <p>Things I tried included:</p> <p>Running Install Xcode.app (I had downloaded from App Store - running this does futher installation)</p> <p>Installing</p> <pre><code>https://github.com/kennethreitz/osx-gcc-installer/downloads may help for installing GCC. </code></pre> <p>Set up CC in </p> <p>more /Users//.bash_profile </p> <pre><code>bash-3.2$ more /Users/&lt;USERNAME&gt;/.bash_profile [[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; . "$HOME/.rvm/scripts/rvm" # Load RVM function export CC=/usr/share/TargetConfigs/bin/gcc </code></pre> <p>First line came from SiriProxy install instruction <a href="https://github.com/plamoni/SiriProxy" rel="noreferrer">https://github.com/plamoni/SiriProxy</a></p> <p>2nd line export CC never seemed to work. So dont add. </p> <p>It had many versions each pointing I finally used CC=/usr/bin/gcc-4.2 rvm install 1.9.3 --enable-shared</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload