Question
Unable to install passenger-install-apache2-module in 512MB - 20GB - nyc2 Droplet
Hi I have installed ruby 2.1.0 in my droplet, but when I am trying to install passenger-install-apache2-module, I am getting following exception. I have already swapped my memory twice, but I am getting same exception again and again. Please help me out
In file included from ext/boost/bind/bind.hpp:29:0,
from ext/boost/bind.hpp:22,
from ext/boost/thread/detail/thread.hpp:29,
from ext/boost/thread/thread_only.hpp:22,
from ext/boost/thread/thread.hpp:12,
from ext/boost/thread.hpp:13,
from ext/common/agents/HelperAgent/Main.cpp:45:
ext/boost/bind/arg.hpp: In constructor ‘boost::arg::arg(const T&)’:
ext/boost/bind/arg.hpp:37:22: warning: typedef ‘T_must_be_placeholder’ locally defined but not used [-Wunused-local-typedefs]
typedef char T_must_be_placeholder[ I == is_placeholder::value? 1: -1 ];
^
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
rake aborted!
-----------------------------------------------
Your compiler failed with the exit status 4. This probably means that it ran out of memory. To solve this problem, try increasing your swap space: https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04
Tasks: TOP => apache2 => buildout/agents/PassengerHelperAgent
(See full trace by running task with --trace)
--------------------------------------------
It looks like something went wrong
Please read our Users guide for troubleshooting tips:
/usr/local/lib/ruby/gems/2.1.0/gems/passenger-4.0.41/doc/Users guide Apache.html
http://www.modrails.com/documentation/Users%20guide%20Apache.html
If that doesn't help, please use our support facilities. We'll do our best to help you.
http://www.phusionpassenger.com/support
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×