Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This turned out to be fairly simple in the end - many thanks to everyone in the comments who helped work it out.</p> <p>There were two issues:</p> <h1>Issue 1: gcc compiler wasn't working</h1> <h2>Symptoms:</h2> <p>Functions dependent on gcc fail with the following in the configure log (e.g.<code>/Users/&lt;user&gt;/.rvm/log/ruby-1.9.3-p0/yaml/configure.log</code>):</p> <pre><code>checking for gcc... /usr/bin/gcc-4.2 checking whether the C compiler works... no </code></pre> <p>...and the following in the config log (e.g. <code>/Users/&lt;user&gt;/.rvm/src/yaml-0.1.4/config.log</code>):</p> <pre><code>ld: library not found for -lcrt1.10.6.o </code></pre> <h2>Root issue:</h2> <p>Xcode hasn't been installed properly. Specifically the file <code>/Developer/SDKs/MacOSX10.6.sdk/usr/lib/crt1.10.6.o</code> doesn't exist.</p> <h2>Solution:</h2> <p><a href="http://trac.macports.org/ticket/21784">http://trac.macports.org/ticket/21784</a>: "Try reinstalling Xcode, make sure you choose the "unix development support" option."</p> <h1>Issue 2: RVM wouldn't install ruby 1.9.3</h1> <h2>Symptoms:</h2> <p><code>rvm install ruby 1.9.3</code> fails with <code>ERROR: Error running 'make '</code></p> <p>The corresponding <code>/Users/&lt;user&gt;/.rvm/log/ruby-1.9.3-p0/make.log</code> contains the following segment:</p> <pre><code>compiling openssl_missing.c In file included from openssl_missing.c:22: openssl_missing.h:173: error: conflicting types for ‘BN_rand_range’ /usr/include/openssl/bn.h:411: error: previous declaration of ‘BN_rand_range’ was here openssl_missing.h:177: error: conflicting types for ‘BN_pseudo_rand_range’ /usr/include/openssl/bn.h:412: error: previous declaration of ‘BN_pseudo_rand_range’ was here openssl_missing.c:270: error: conflicting types for ‘BN_rand_range’ /usr/include/openssl/bn.h:411: error: previous declaration of ‘BN_rand_range’ was here openssl_missing.c:278: error: conflicting types for ‘BN_pseudo_rand_range’ /usr/include/openssl/bn.h:412: error: previous declaration of ‘BN_pseudo_rand_range’ was here </code></pre> <h2>Root issue:</h2> <p>Conflicts with previous runs of the install <em>(not entirely sure about this)</em>.</p> <h2>Solution</h2> <p><a href="https://rvm.beginrescueend.com/packages/openssl/">https://rvm.beginrescueend.com/packages/openssl/</a>: clean out the ruby you are trying to install and reinstall:</p> <pre><code>rvm remove 1.9.3 rvm install 1.9.3 </code></pre> <p><em>I also removed two other rubies - ruby-1.9.2-p290 and ruby-1.9.2-p136, which might have had something to do with it...:</em></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

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