compiling php on arch linux 2012-09 (256 droplet)

  • Posted January 5, 2013

not actually a question, but a solution that i found while compiling php on the 256 droplet running arch linux 2012-09. there wasn’t enough memory for gcc to compile and would fail with an obscure error.

cc: internal compiler error: Killed (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [ext/date/lib/parse_date.lo] Error 1 make: *** Waiting for unfinished jobs…

i then looked at the memory configuration and found there was no swap file configured for the droplet. i followed this guide to configure a swap file within my droplet:

my php compilation is humming along just fine now :-)


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Depending on what applications you are running or compiling you should add swap or resize to a larger sized virtual server. <br> <br>We also have something in the pipeline that we will be announcing in mid-January that should help with this particular issue that you ran into as well.