Note that there are some explanatory texts on larger screens.

plurals
  1. POProblem installing sqlite3-ruby!
    primarykey
    data
    text
    <p>I'm having issues installing the sqlite3-ruby gem on crunchbang linux. After googling the past few hours and following several people with the same problem, I still haven't gotten it to work.</p> <p>Here is what I see after trying a 'sudo gem install sqlite3-ruby'</p> <p>Building native extensions. This could take a while...<br> ERROR: Error installing sqlite3-ruby:<br> ERROR: Failed to build gem native extension. </p> <p>/usr/bin/ruby1.8 extconf.rb<br> checking for sqlite3.h... yes<br> checking for sqlite3_libversion_number() in -lsqlite3... yes<br> checking for rb_proc_arity()... no<br> checking for sqlite3_initialize()... no<br> sqlite3-ruby only supports sqlite3 versions 3.6.16+, please upgrade!<br> <strong>* extconf.rb failed *</strong><br> Could not create Makefile due to some reason, probably lack of<br> necessary libraries and/or headers. Check the mkmf.log file for more<br> details. You may need configuration options. </p> <p>Next I ran across this page; <a href="http://groups.google.com/group/sqlite3-ruby/browse_thread/thread/f22d098b561c48af/6e754f7b2fc3cd75?#6e754f7b2fc3cd75" rel="nofollow noreferrer">http://groups.google.com/group/sqlite3-ruby/browse_thread/thread/f22d098b561c48af/6e754f7b2fc3cd75?#6e754f7b2fc3cd75</a></p> <p>I downloaded sqlite-amalgamation-3.7.0.1.tar.gz and issued the following commands:</p> <p>tar zxvf sqlite-amalgamation-3.7.0.1.tar.gz<br> cd cd sqlite-3.7.0.1<br> mkdir $HOME/sqlite<br> ./configure --prefix=$HOME/sqlite<br> make &amp;&amp; make install<br> sudo gem install sqlite3-ruby -- --with-sqlite3-dir=$HOME/sqlite </p> <p>However, I still get the exact same error. I've used 'sudo apt-get install sqlite3 libsqlite3-dev' but I still get the exact same error. </p> <p>Any advice?</p> <p>And as a small aside, how come when I use 'sudo apt-get install sqlite3', it grabs 3.5.9 instead of the 3.7.0.1 I manually downloaded?</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.
 

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