Report this

What is the reason for this report?

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

Posted on 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 https://bugs.archlinux.org/ 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:

https://wiki.archlinux.org/index.php/Swap

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



This textbox defaults to using Markdown to format your 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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.