Created
August 7, 2014 23:04
-
-
Save scottjacobsen/7134479889fa131c666e to your computer and use it in GitHub Desktop.
passenger-error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(staging-web) root@ip-10-0-1-132 /var/log/nginx# cat /tmp/passenger_native_support-rmfgcc.log | |
# mkdir -p /home/neighborland/.passenger/native_support/4.0.48/ruby-2.1.2-x86_64-linux-gnu | |
# cd /home/neighborland/.passenger/native_support/4.0.48/ruby-2.1.2-x86_64-linux-gnu | |
# /usr/bin/ruby2.1 /usr/share/passenger/ruby_extension_source/extconf.rb | |
checking for alloca.h... *** /usr/share/passenger/ruby_extension_source/extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of necessary | |
libraries and/or headers. Check the mkmf.log file for more details. You may | |
need configuration options. | |
Provided configuration options: | |
--with-opt-dir | |
--without-opt-dir | |
--with-opt-include | |
--without-opt-include=${opt-dir}/include | |
--with-opt-lib | |
--without-opt-lib=${opt-dir}/lib | |
--with-make-prog | |
--without-make-prog | |
--srcdir=/usr/share/passenger/ruby_extension_source | |
--curdir | |
--ruby=/usr/bin/ruby2.1 | |
/usr/lib/ruby/2.1.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError) | |
You have to install development tools first. | |
from /usr/lib/ruby/2.1.0/mkmf.rb:587:in `try_cpp' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:1067:in `block in have_header' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:918:in `block in checking_for' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:351:in `block (2 levels) in postpone' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:321:in `open' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:351:in `block in postpone' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:321:in `open' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:347:in `postpone' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:917:in `checking_for' | |
from /usr/lib/ruby/2.1.0/mkmf.rb:1066:in `have_header' | |
from /usr/share/passenger/ruby_extension_source/extconf.rb:37:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does anyone have have a solution for this problem? I am running into the same one, but with different version numbers.