I used this command to install sqlite3: gem install -p http://22.214.171.124 sqlite3-ruby but got this error: make: *** No rule to make target `ruby.h', needed by `sqlite3_api_wrap.o'. Stop. Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4 for inspection. Results logged to /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_api/gem_make.out How can I install sqlite3 in Linux?
on 2008-12-02 10:06
on 2008-12-02 13:34
Hi You're probably missing the ruby development libraries I think. On fedora for example you'd need to install the ruby-devel package (sudo yum install ruby-devel). The package may be differently named depending on which distro you're using. Cheers Eddie_Catflap
on 2008-12-03 02:52
Hi, I install ruby from source code instead of yum. There is no ruby-devel installation step in the install guide. Did I miss anything?
on 2008-12-08 10:07
Does anyone help me on this? thanks.
on 2008-12-08 11:54
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sorry, you didn't even tell us which distribution you are using. So Eddie Catflaps hint is as far as we can help you: probably you miss the Ruby development libraries or the sqlite-development libs. Regards, Florian G. On Dec 8, 2008, at 9:00 AM, Zhao Yi wrote: > Does anyone help me on this? > thanks. > -- > Posted via http://www.ruby-forum.com/. > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkk87ogACgkQyLKU2FMxSOJHKACgg8VT+C1WDHqcFtxiPJGaDM5Z V7EAoJ0er4jEC5IcMA1Ez+YUTJJ278d2 =4Ru0 -----END PGP SIGNATURE-----
on 2008-12-09 03:53
I installed ruby-1.8.1 in Linux 2.6.9-1. I built the ruby by the following steps: ./configure make make install