By jerkrichards
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.