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

January 5, 2013 4.6k views
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 :-)
1 Answer
Depending on what applications you are running or compiling you should add swap or resize to a larger sized virtual server.

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.
Have another answer? Share your knowledge.