Re: Can't install sqlite3-ruby gem in Windows



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
.



Relevant Pages

  • Re: How do I install an application using a custom component
    ... you don't necessarily have to run the command with the batch file. ... Use the same FBA Generic command. ... Is there any other way I could install my application ?. ... You will have to launch cmd.exe and pass the path to the batch file as the argument with /C switch added. ...
    (microsoft.public.windowsxp.embedded)
  • Re: How do I install an application using a custom component
    ... You are doing FBA Generic Command, ... You will have to launch cmd.exe and pass the path to the batch file as the argument with /C switch added. ... please set the Reboot option of the command to False. ... Along with the system component install, FBA and custom FBA resources just allow you to simplify ...
    (microsoft.public.windowsxp.embedded)
  • Re: Stop NMAKE processing
    ... Executing the command block for a target. ... Batch file determines something is wrong, ... But how to stop NMAKE processing as though there has been an error? ...
    (microsoft.public.vstudio.general)
  • Re: compiling from command line for VS2005 and direct show
    ... > the VS2005 beta compiler using a batch file from command line. ... You can install it on ...
    (microsoft.public.vc.ide_general)
  • Re: install an application using sms, scritping and batch files
    ... >I am trying to install an application using sms, ... Not necessarily - just if you use something like SMS Installer + the MSI ... > I tried following these instructions locally from the DOS command line ... > I thought about creating a batch file that will run the command. ...
    (microsoft.public.sms.admin)