Install SQLite3 from http://www.sqlite.org/ first. *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. no nmake 'nmake' is not recognized as an internal or external command, operable program or batch file. I ran into some sqlite3 problems after re installing ruby and then installing ruby 1.8.7 I re installed sqlite3 gem install sqlite3-ruby (I'm a windows guy) I still had to go http://mislav.uniqpath.com/rails/install-sqlite3/#windows Now when i enter "gem install sqlite3" i get --> Done installing documentation after 0 seconds Posting to the forum is only allowed for members with active accounts. Source
Also, don't place files in system32 folder. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count). Then do gem install sqlite3 --platform=ruby -- --with-sqlite3-dir=[sqlite3 directory]. I put sqlite3.h in the folder in which ruby.exe is, but he still says sqlite3.h is missing.. http://stackoverflow.com/questions/421225/why-cant-i-install-the-sqlite-gem
Move directories despite of errors format block of text Is it a security vulnerability if the addresses of university students are exposed? Installing sqlite3-ruby (1.3.2) with native extensions /usr/local/lib/ ruby/site_ruby/1.8/rubygems/installer.rb:483:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) /usr/local/bin/ruby extconf.rb checking for sqlite3.h... EDIT platforms: [:mingw, :mswin] to read platforms: [:mingw, :mswin, :x64_mingw] SAVE this should fix Ondrej Moravcik 15,073 Points Ondrej Moravcik Ondrej Moravcik 15,073 Points 2y ago doesn't work for me :-/ it fails when i run gem install sqlite3. –user53216 Dec 16 '14 at 15:29 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote You lack the
share|improve this answer answered Mar 21 '11 at 13:31 Jeroen Vijfhuizen 111 add a comment| up vote 1 down vote The solution is to add -- to separate configure parameters from Did 17 U.S. Please update your dependencies accordingly. Sqlite3.h Is Missing sqlite3-ruby gem needs the headers and libraries.
Check the mkmf.log file for more details. Gem Install Sqlite3 Error I did sudo gem install sqlite3 -- --with-sqlite3-dir=/usr/local/Cellar/sqlite/188.8.131.52. You may need configuration options. no sqlite3-ruby only supports sqlite3 versions 3.6.16+, please upgrade! *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers.
just a few things i have tried from searching the web, the forums, and the mailing groups are upgrading everything (rails, gems, ruby, xcode, sqlite), compiling and installing sqlite, trying to Sqlite3 Gem yes checking for rb_proc_arity()... You signed out in another tab or window. Here's the command I'm running and its results: sudo gem install sqlite3-ruby Building native extensions.
Hope that helps. 👍 1 luislavena closed this Feb 26, 2013 yuumi3 commented Feb 26, 2013 Thanks luislavena, I built sqlite3 library by mingw32. share|improve this answer answered Jun 13 '13 at 10:02 Logan Mzz 906718 add a comment| up vote 0 down vote You have broken version of RVM. Failed To Build Gem Native Extension Sqlite3 Mac more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Gem Install Sqlite3 Mac Thanks again. –Mark Essel May 7 '10 at 0:38 7 libsqlite3-dev and ruby-dev really worked!
ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb install sqlite3-ruby can't find header files for ruby. http://smartnewsolutions.com/failed-to/failed-to-start-system-build-prop.html in fact, this runs on a PMG5 which is only used for this. jupeal commented May 9, 2013 @luislavena C:\Setup\Gem>update_rubygems RubyGems 2.0.3 installed Parsing documentation for rubygems-2.0.3 Installing ri documentation for rubygems-2.0.3 C:\Setup\Gem>gem -v 2.0.3 C:\Setup\Gem>gem install -l sqlite3-1.3.7.gem Building native extensions. release notes: Release Name: 1.2.4 Notes: This release only updates the generated C file to reflect the compatibility changes that were made to the SWIG file. How To Install Sqlite3-ruby Gem On Windows
If you aren't > fussy you could install an earlier version of sqlite3-ruby (that is > happy with the version you do have) As an indication, this is the version I D:/Ruby200/bin/ruby.exe extconf.rb --with-sqlite3-include=D:\sqlite3\include --with-sqlite3-lib=D:\sqlite3\liby checking for sqlite3.h... Install SQLite3 from http://www.sqlite.org/ first. *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. have a peek here share|improve this answer answered Dec 13 '10 at 20:43 mhaligowski 1,2181221 worked for me too.
When I copied them manually all worked fine. Sqlite3 Download You should obtain the headers and libraries for sqlite3 and use build arguments: gem install sqlite3 --platform=ruby -- --with-sqlite3-dir=C:/path/to/sqlite3 Where C:/path/to/sqlite3 is where the headers (include) and libs (lib) for sqlite3 this is running on a PPC machine.
Kids shuffling cards Hacker used picture upload to get PHP code into my site How to change "niceness" while perfoming top command? Install SQLite3 from http://www.sqlite.org/ first. *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. But this info can help someone to economy their time when they see strange error. Gem::ext::builderror: Error: Failed To Build Gem Native Extension. Join them; it only takes a minute: Sign up Sqlite3: Failed to build gem native extension up vote 0 down vote favorite 1 I'm using Capistrano for the first time and
On Ruby1.8 with Ubuntu you also need other packages: libsqlite3, libsqlite3-dev, please check all libsqlite in Synaptic. (I think it's installed by default with Ruby1.9 and on MacOS, and OSX or intelligence agencies claim that Russia was behind the DNC hack? After searching around to uncover why it was failing to load ‘mkmf', I found that I needed to install the ruby1.8-dev package: sudo apt-get install ruby1.8-dev Kudos goes to: http://mentalized.net/journal/2006/01/24/no_such_file_to_load_mkmf/ Justin http://smartnewsolutions.com/failed-to/build-web-failed-to-create-appdomain.html Why am I seeing more notes than allowed to be in a bar?
Parking lot supervisor Solving the integral of a function with modulus 12 hour to 24 hour time converter Where is the barding trick? So libraries couldn't locate sqlite/sqlite_native though it was successfully compiled.