Gazebo 4 Installation Fails on "make -j4"
I've been trying to install Gazebo 4 for a while now, but the process always terminates at roughly 82% into the "make -j4" step where you're supposed to build Gazebo. Specifically, I get the following message:
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[2]: *** [gazebo/sensors/CMakeFiles/UNIT_WirelessTransmitter_TEST.dir/WirelessTransmitter_TEST.cc.o] Error 4
make[1]: *** [gazebo/sensors/CMakeFiles/UNIT_WirelessTransmitter_TEST.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[2]: *** [test/performance/CMakeFiles/PERFORMANCE_sensor_stress.dir/sensor_stress.cc.o] Error 4
make[1]: *** [test/performance/CMakeFiles/PERFORMANCE_sensor_stress.dir/all] Error 2
I'm using a computer with Intel Core 2 Duo CPU, roughly 2GB of RAM, and Ubuntu Trusty. Does anyone have information on this issue? Should I just install Gazebo 3 or just stick with Gazebo 2.22 instead?