Error Failed To Build Gem Native Extension
Contents |
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 answers to error failed to build gem native extension windows any questions you might have Meta Discuss the workings and policies
Error Failed To Build Gem Native Extension Ubuntu
of this site About Us Learn more about Stack Overflow the company Business Learn more about error failed to build gem native extension rails hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for error failed to build gem native extension mac Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Can't install a Ruby package: Failed to build gem native extension up vote 2 down vote favorite 1
Error Failed To Build Gem Native Extension Linux
I installed ruby 2.1.0 and package pdfbeads on 32bit 12.04 last year following the blog https://railssavvy.wordpress.com/2012/06/02/install_ruby_and_rails/, and it worked. Now it seems that I have installed ruby 2.2.0 on 64bit 14.04, but met the problem when installing pdfbeads. Installing rvm and ruby: I heard the ruby in Ubuntu repository does not work (but I don't know if that still applies), so I followed https://railssavvy.wordpress.com/2012/06/02/install_ruby_and_rails/ to install rvm and ruby. I am not sure if I did the right things in the following: gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 curl -L get.rvm.io | bash -s stable I originally first ran curl -L get.rvm.io | bash -s stable first, but it asked me to run the gpg command before it. Then I add a line to ~/.bashrc: PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting And a couple of lines to ~/.bash_profile: [[ -s "$HOME/.profile" ]] && source "$HOME/.profile" [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" Then I ran: source
Sign in Pricing Blog Support Search GitHub This repository Watch 111 Star 3,415 Fork 533 eventmachine/eventmachine Code Issues error failed to build gem native extension compass 156 Pull requests 35 Projects 0 Wiki Pulse Graphs ERROR: Failed error failed to build gem native extension osx to build gem native extension #643 Closed craigmdennis opened this Issue Oct 9, 2015 · 36 comments
Error Failed To Build Gem Native Extension Windows 8
Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 33 participants and others craigmdennis commented Oct 9, 2015 I'm trying http://askubuntu.com/questions/600068/cant-install-a-ruby-package-failed-to-build-gem-native-extension to install middleman but it crashes when trying to install version 1.0.8 of eventemitter. I'm running OSX 10.11 El Capitan. I use rbenv and have tried ruby 2.1.7 and 2.2.0 The full error is below: Installing eventmachine 1.0.8 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /usr/local/var/rbenv/versions/2.1.7/bin/ruby extconf.rb checking for rb_trap_immediate https://github.com/eventmachine/eventmachine/issues/643 in ruby.h,rubysig.h... no checking for rb_thread_blocking_region()... yes checking for ruby/thread.h... yes checking for rb_thread_call_without_gvl() in ruby/thread.h... yes checking for inotify_init() in sys/inotify.h... no checking for __NR_inotify_init in sys/syscall.h... no checking for writev() in sys/uio.h... yes checking for rb_thread_fd_select()... yes checking for rb_fdset_t in ruby/intern.h... yes checking for pipe2() in unistd.h... no checking for accept4() in sys/socket.h... no checking for SOCK_CLOEXEC in sys/socket.h... no checking for rb_wait_for_single_fd()... yes checking for rb_enable_interrupt()... no checking for rb_time_new()... yes checking for sys/event.h... yes checking for sys/queue.h... yes CFLAGS= -O3 -Wno-error=shorten-64-to-32 -pipe -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result CPPFLAGS=-I/usr/local/var/rbenv/versions/2.1.7/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT $(DEFS) $(cppflags) -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result checking for clock_gettime()... no checking for gethrtime()... no creating Makefile make "DESTDIR=" clean make "DESTDIR=" compiling binder.cpp In file included from binder.cpp:20: ./project.h:116:10: fatal error: 'openssl/ssl.h' file not found #include
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss http://unix.stackexchange.com/questions/244545/error-failed-to-build-gem-native-extension-while-trying-to-install-compass the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; error failed it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top `ERROR: Failed to build gem native extension` while trying to install compass up vote 3 down vote favorite I am using Ubuntu 14.04 I tried this command sudo gem install error failed to compass and it gave me this error: Fetching: multi_json-1.11.2.gem (100%) Fetching: compass-core-1.0.3.gem (100%) Fetching: compass-import-once-1.0.5.gem (100%) Fetching: chunky_png-1.3.5.gem (100%) Fetching: rb-fsevent-0.9.6.gem (100%) Fetching: ffi-1.9.10.gem (100%) Building native extensions. This could take a while... ERROR: Error installing compass: ERROR: Failed to build gem native extension. /usr/bin/ruby1.9.1 extconf.rb /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from extconf.rb:4:in `