Zhao_Yi
(Zhao Yi)
2 December 2008 08:01
#1
I used this command to install sqlite3:
gem install -p http://3.36.140.1 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?
···
--
Posted via http://www.ruby-forum.com/ .
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 Tue, Dec 2, 2008 at 8:01 AM, Zhao Yi <youhaodeyi@gmail.com > wrote:
I used this command to install sqlite3:
gem install -p http://3.36.140.1 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?
--
Posted via http://www.ruby-forum.com/ .
Zhao_Yi
(Zhao Yi)
8 December 2008 08:00
#3
Does anyone help me on this?
thanks.
···
--
Posted via http://www.ruby-forum.com/ .
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 Gilcher
···
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/ .
Zhao_Yi
(Zhao Yi)
9 December 2008 01:47
#5
I installed ruby-1.8.1 in Linux 2.6.9-1. I built the ruby by the
following steps:
./configure
make
make install
···
--
Posted via http://www.ruby-forum.com/ .