Note that there are some explanatory texts on larger screens.

plurals
  1. POhubris fails to install with: Missing C libraries: ruby, ruby, ruby
    text
    copied!<p>I am desperately trying to install Hubris but the installation fails whenever I run "cabal install". </p> <p>Link to Hurbis:<br> <a href="https://github.com/mwotton/Hubris/tree/master/Haskell" rel="nofollow">https://github.com/mwotton/Hubris/tree/master/Haskell</a></p> <p>Link to the Cabal file:<br> <a href="https://github.com/mwotton/Hubris/blob/master/Haskell/hubris.cabal" rel="nofollow">https://github.com/mwotton/Hubris/blob/master/Haskell/hubris.cabal</a></p> <p>The cabal command that fails is:</p> <pre><code>cabal install --extra-include-dirs=/usr/include/ruby-1.9.1/x86_64-linux --extra-include-dirs=/usr/include/ruby-1.9.1 --extra-lib-dirs=/usr/lib --user --enable-shared --with-ghc=/usr/local/bin/ghc </code></pre> <p>The error message is:</p> <pre><code>Resolving dependencies... Configuring hubris-0.0.4... cabal: Missing dependencies on foreign libraries: * Missing C libraries: ruby, ruby, ruby This problem can usually be solved by installing the system packages that provide these libraries (you may need the "-dev" versions). If the libraries are already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are. cabal: Error: some packages failed to install: hubris-0.0.4 failed during the configure step. The exception was: ExitFailure 1 </code></pre> <p>THE RAKE ERROR IS THE SAME:</p> <pre><code>+install -c tmp/x86_64-linux/stub/1.9.3/stub.so lib/stub.so cabal: Missing dependencies on foreign libraries: * Missing C libraries: ruby, ruby, ruby This problem can usually be solved by installing the system packages that provide these libraries (you may need the "-dev" versions). If the libraries are already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are. cabal: Error: some packages failed to install: hubris-0.0.4 failed during the configure step. The exception was: ExitFailure 1 rake aborted! ERROR: ran cabal update; cd Haskell; cabal install --extra-include- dirs=/usr/include/ruby-1.9.1/x86_64-linux --extra-include-dirs=/usr/include/ruby-1.9.1 - -extra-lib-dirs=/usr/lib --user --enable-shared --with-ghc=/usr/local/bin/ghc, got Downloading the latest package list from hackage.haskell.org </code></pre> <p>I also installed 'ruby-dev', e.g.</p> <pre><code>apt-get install ruby1.9.1-dev </code></pre> <p>Probably the error is related to missing header files and wrong include directories when I run the cabal command.</p> <p>.</p> <p>System Configuration:</p> <pre><code> ubuntu 12.04 GHC version 7.4.1 ruby version 1.9.3p0 gem version 1.8.24 </code></pre>
 

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