Re: Can't install sqlite3-ruby gem in Windows
- From: Luis Lavena <luislavena@xxxxxxxxx>
- Date: Thu, 4 Jun 2009 17:10:36 -0700 (PDT)
On Jun 4, 1:32 pm, Nova Pon <nova....@xxxxxxxxx> wrote:
I'm also having problems installing the sqlite3 gem on Windows. I
downloaded sqlite-3_6_14_2.zip and sqlitedll-3_6_14_2.zip fromhttp://www.sqlite.org/download.htmland extracted them to
/WINDOWS/SYSTEM 32. But when I type gem install sqlite3-ruby in the
command line I get:
Building native extensions. This could take a while...
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
c:/ruby/bin/ruby.exe extconf.rb
checking for fdatasync() in rt.lib... no
checking for sqlite3.h... no
nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.
Gem files will remain installed in
c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1
2.4 for inspection.
Results logged to
c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_
api/gem_make.out
C:\Documents and Settings\Nova>gem install sqlite3-ruby
Building native extensions. This could take a while...
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
c:/ruby/bin/ruby.exe extconf.rb
checking for fdatasync() in rt.lib... no
checking for sqlite3.h... no
nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.
Gem files will remain installed in
c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1
2.4 for inspection.
Results logged to
c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_
api/gem_make.out
C:\Documents and Settings\Nova>gem install sqlite3-ruby
Building native extensions. This could take a while...
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
c:/ruby/bin/ruby.exe extconf.rb
checking for fdatasync() in rt.lib... no
checking for sqlite3.h... no
nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.
Gem files will remain installed in
c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1
2.4 for inspection.
Results logged to
c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_
api/gem_make.out
Please help!! Thanks
This has been covered before on this list, but just for the record:
Latest version of sqlite3-ruby lacks binaries for Windows. For you to
build using version 1.2.4 of the gem also requires a compiler, which
in your case must be Microsoft Visual C 6.0
Since is an obsolete compiler, highly unlikely you will find a
downloadable version.
Please force the installation to prior version:
gem install sqlite3-ruby -v=1.2.3
HTH,
--
Luis Lavena
.
- Follow-Ups:
- Re: Can't install sqlite3-ruby gem in Windows
- From: Nova Pon
- Re: Can't install sqlite3-ruby gem in Windows
- From: John T.
- Re: Can't install sqlite3-ruby gem in Windows
- References:
- Can't install sqlite3-ruby gem in Windows
- From: Nova Pon
- Can't install sqlite3-ruby gem in Windows
- Prev by Date: Re: Games for Programmers
- Next by Date: Re: Compiling Ruby 1.9.1 zlib issue on Windows
- Previous by thread: Can't install sqlite3-ruby gem in Windows
- Next by thread: Re: Can't install sqlite3-ruby gem in Windows
- Index(es):
Relevant Pages
|