user-hO7X3CQjxafZmfiEtUfXeA@public.gmane.org:~$ gem install sqlite3-ruby Updating metadata for 7 gems from http://gems.rubyforge.org ....... complete Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. /home/user/packages/ruby/bin/ruby extconf.rb install sqlite3-ruby checking for sqlite3.h... no make make: *** No rule to make target `ruby.h'', needed by `sqlite3_api_wrap.o''. Stop. Gem files will remain installed in /home/user/packages/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1 for inspection. Results logged to /home/user/packages/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/ext/sqlite3_api/gem_make.out any help... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
sudo apt-get install build-essential ruby-1.8dev Try it. On Dec 22, 2007 4:19 PM, Pokkai Dokkai <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > user-hO7X3CQjxafZmfiEtUfXeA@public.gmane.org:~$ gem install sqlite3-ruby > Updating metadata for 7 gems from http://gems.rubyforge.org > ....... > complete > Building native extensions. This could take a while... > ERROR: Error installing sqlite3-ruby: > ERROR: Failed to build gem native extension. > > /home/user/packages/ruby/bin/ruby extconf.rb install sqlite3-ruby > checking for sqlite3.h... no > > make > make: *** No rule to make target `ruby.h'', needed by > `sqlite3_api_wrap.o''. Stop. > > > Gem files will remain installed in > /home/user/packages/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1 for > inspection. > Results logged to > /home/user/packages/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1 > /ext/sqlite3_api/gem_make.out > > > any help... > -- > Posted via http://www.ruby-forum.com/. > > > >-- Ryan Bigg http://www.frozenplague.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ryan Bigg wrote:> sudo apt-get install build-essential ruby-1.8dev > > Try it.after installing "build-essential ruby-1.8dev" the again same problem .... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
sudo apt-get install sqlite On Dec 22, 2007 11:09 PM, Pokkai Dokkai <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Ryan Bigg wrote: > > sudo apt-get install build-essential ruby-1.8dev > > > > Try it. > > after installing "build-essential ruby-1.8dev" the again same problem > .... > -- > Posted via http://www.ruby-forum.com/. > > > >-- Ryan Bigg http://www.frozenplague.net Feel free to add me to MSN and/or GTalk as this email. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
sudo apt-get install sqlite3 libsqlite3-dev sudo gem install sqlite3-ruby works!! On 22 Dez., 14:04, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> sudo apt-get install sqlite > > On Dec 22, 2007 11:09 PM, Pokkai Dokkai <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > > > > Ryan Bigg wrote: > > > sudo apt-get install build-essential ruby-1.8dev > > > > Try it. > > > after installing "build-essential ruby-1.8dev" the again same problem > > .... > > -- > > Posted viahttp://www.ruby-forum.com/. > > -- > Ryan Bigghttp://www.frozenplague.net > Feel free to add me to MSN and/or GTalk as this email.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Phillip Koebbe
2007-Dec-29 00:08 UTC
Re: gem install sqlite3-ruby problem ,please help....
On Dec 28, 2007, at 5:58 PM, Uwe wrote:> > sudo apt-get install sqlite3 libsqlite3-dev > sudo gem install sqlite3-ruby > > works!! >Yes, when you install many gems, they get built natively, so you need development libraries for that to work correctly. Peace, Phillip --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, I''m using Suse10.3, with yast you can install the sqlite3 gem + yast shall automatic install all other libs you need. No problem with Suse. Luc. On Dec 29, 2007 1:08 AM, Phillip Koebbe <phillipkoebbe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > On Dec 28, 2007, at 5:58 PM, Uwe wrote: > > > > > sudo apt-get install sqlite3 libsqlite3-dev > > sudo gem install sqlite3-ruby > > > > works!! > > > > Yes, when you install many gems, they get built natively, so you need > development libraries for that to work correctly. > > Peace, > Phillip > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Sat, 29 Dec 2007 11:55:11 +0100, Luc Evers wrote:> I''m using Suse10.3, with yast you can install the sqlite3 gem + yast > shall > automatic install all other libs you need. > No problem with Suse.What about on windows? -Thufir --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thufir, For Windows try: *Source:* http://www.artima.com/forums/flat.jsp?forum=123&thread=140416 1. Install SQLite3 for Windows by downloading the following 2 zip files and unzipping them into /WINDOWS/system32 http://www.sqlite.org/sqlite-3_2_7.zip http://www.sqlite.org/sqlitedll-3_2_7.zip If those don''t work try the official download site here<http://www.sqlite.org/download.html> 2. gem install sqlite3-ruby 3. Select option 1 to get the latest win32 driver Read: Installing SQLite 3 on Windows<http://jroller.com/page/obie?entry=installing_sqlite_3_on_windows> On Dec 30, 2007 11:09 AM, Thufir <hawat.thufir-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On Sat, 29 Dec 2007 11:55:11 +0100, Luc Evers wrote: > > > I''m using Suse10.3, with yast you can install the sqlite3 gem + yast > > shall > > automatic install all other libs you need. > > No problem with Suse. > > > What about on windows? > > > -Thufir > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Sun, 30 Dec 2007 17:16:10 +0100, Luc Evers wrote:> 1. Install SQLite3 for Windows by downloading the following 2 zip > files and unzipping them into /WINDOWS/system32I''m not on Windows at the moment. I put the DLL into /WINDOWS/System32/ but just put the binary into C:\sqlite\... and then added the location of the binary to the PATH variable through sysdm.cpl, could this be a problem? I was getting some annoying errors when running an app on the Windows system (after putting the require ''rubygems'' into the .rb files). Not a rails app, but it was using ActiveRecord and sqlite. In Windows, I could get into sqlite3 through the command line easily, and the sqlite add-on for Firefox worked fine. -Thufir --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 from http://www.sqlite.org/download.html and 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 -- Posted via http://www.ruby-forum.com/.
Frederick Cheung
2009-Jun-04 17:21 UTC
Re: gem install sqlite3-ruby problem ,please help....
On Jun 4, 5:28 pm, Nova Pon <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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. >Ask gem to install version 1.2.3 (since that one is available as a prebuilt win32 gem) Fred