Author Topic: cc: Internal error: Killed (program cc1)  (Read 11888 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
cc: Internal error: Killed (program cc1)
« on: June 29, 2014, 09:43:43 PM »
I have Centos 6.4 x64 installed and LAMP was working on it with webmail service on... searching web I find this site with very interesting CentOS web panel and wanted to install it.
Everything downloaded fast and getting a lot info about installation (everything was good until php part).
Just one part of error on install:

config.status: creating php5.spec
config.status: creating main/build-defs.h
config.status: creating scripts/phpize
config.status: creating scripts/man1/phpize.1
config.status: creating scripts/php-config
config.status: creating scripts/man1/php-config.1
config.status: creating sapi/cli/php.1
config.status: creating sapi/cgi/php-cgi.1
config.status: creating ext/phar/phar.1
config.status: creating ext/phar/phar.phar.1
config.status: creating main/php_config.h
config.status: executing default commands
/bin/sh /tmp/php-build/php-5.4.27/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/date/lib -Iext/date/ -I/tmp/php-build/php-5.4.27/ext/date/ -DPHP_ATOM_INC -I/tmp/php-build/php-5.4.27/include -I/tmp/php-build/php-5.4.27/main -I/tmp/php-build/php-5.4.27 -I/tmp/php-build/php-5.4.27/ext/date/lib -I/tmp/php-build/php-5.4.27/ext/ereg/regex -I/usr/include/libxml2 -I/tmp/php-build/php-5.4.27/ext/mbstring/oniguruma -I/tmp/php-build/php-5.4.27/ext/mbstring/libmbfl -I/tmp/php-build/php-5.4.27/ext/mbstring/libmbfl/mbfl -I/tmp/php-build/php-5.4.27/ext/sqlite3/libsqlite -I/tmp/php-build/php-5.4.27/TSRM -I/tmp/php-build/php-5.4.27/Zend    -I/usr/include -g -O2 -fvisibility=hidden  -c /tmp/php-build/php-5.4.27/ext/date/php_date.c -o ext/date/php_date.lo
/bin/sh /tmp/php-build/php-5.4.27/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/date/lib -Iext/date/ -I/tmp/php-build/php-5.4.27/ext/date/ -DPHP_ATOM_INC -I/tmp/php-build/php-5.4.27/include -I/tmp/php-build/php-5.4.27/main -I/tmp/php-build/php-5.4.27 -I/tmp/php-build/php-5.4.27/ext/date/lib -I/tmp/php-build/php-5.4.27/ext/ereg/regex -I/usr/include/libxml2 -I/tmp/php-build/php-5.4.27/ext/mbstring/oniguruma -I/tmp/php-build/php-5.4.27/ext/mbstring/libmbfl -I/tmp/php-build/php-5.4.27/ext/mbstring/libmbfl/mbfl -I/tmp/php-build/php-5.4.27/ext/sqlite3/libsqlite -I/tmp/php-build/php-5.4.27/TSRM -I/tmp/php-build/php-5.4.27/Zend    -I/usr/include -g -O2 -fvisibility=hidden  -c /tmp/php-build/php-5.4.27/ext/date/lib/astro.c -o ext/date/lib/astro.lo
/bin/sh /tmp/php-build/php-5.4.27/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/date/lib -Iext/date/ -I/tmp/php-build/php-5.4.27/ext/date/ -DPHP_ATOM_INC -I/tmp/php-build/php-5.4.27/include -I/tmp/php-build/php-5.4.27/main -I/tmp/php-build/php-5.4.27 -I/tmp/php-build/php-5.4.27/ext/date/lib -I/tmp/php-build/php-5.4.27/ext/ereg/regex -I/usr/include/libxml2 -I/tmp/php-build/php-5.4.27/ext/mbstring/oniguruma -I/tmp/php-build/php-5.4.27/ext/mbstring/libmbfl -I/tmp/php-build/php-5.4.27/ext/mbstring/libmbfl/mbfl -I/tmp/php-build/php-5.4.27/ext/sqlite3/libsqlite -I/tmp/php-build/php-5.4.27/TSRM -I/tmp/php-build/php-5.4.27/Zend    -I/usr/include -g -O2 -fvisibility=hidden  -c /tmp/php-build/php-5.4.27/ext/date/lib/dow.c -o ext/date/lib/dow.lo
/bin/sh /tmp/php-build/php-5.4.27/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/date/lib -Iext/date/ -I/tmp/php-build/php-5.4.27/ext/date/ -DPHP_ATOM_INC -I/tmp/php-build/php-5.4.27/include -I/tmp/php-build/php-5.4.27/main -I/tmp/php-build/php-5.4.27 -I/tmp/php-build/php-5.4.27/ext/date/lib -I/tmp/php-build/php-5.4.27/ext/ereg/regex -I/usr/include/libxml2 -I/tmp/php-build/php-5.4.27/ext/mbstring/oniguruma -I/tmp/php-build/php-5.4.27/ext/mbstring/libmbfl -I/tmp/php-build/php-5.4.27/ext/mbstring/libmbfl/mbfl -I/tmp/php-build/php-5.4.27/ext/sqlite3/libsqlite -I/tmp/php-build/php-5.4.27/TSRM -I/tmp/php-build/php-5.4.27/Zend    -I/usr/include -g -O2 -fvisibility=hidden  -c /tmp/php-build/php-5.4.27/ext/date/lib/parse_date.c -o ext/date/lib/parse_date.lo
cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [ext/date/lib/parse_date.lo] Error 1
/bin/sh /tmp/php-build/php-5.4.27/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/date/lib -Iext/date/ -I/tmp/php-build/php-5.4.27/ext/date/ -DPHP_ATOM_INC -I/tmp/php-build/php-5.4.27/include -I/tmp/php-build/php-5.4.27/main -I/tmp/php-build/php-5.4.27 -I/tmp/php-build/php-5.4.27/ext/date/lib -I/tmp/php-build/php-5.4.27/ext/ereg/regex -I/usr/include/libxml2 -I/tmp/php-build/php-5.4.27/ext/mbstring/oniguruma -I/tmp/php-build/php-5.4.27/ext/mbstring/libmbfl -I/tmp/php-build/php-5.4.27/ext/mbstring/libmbfl/mbfl -I/tmp/php-build/php-5.4.27/ext/sqlite3/libsqlite -I/tmp/php-build/php-5.4.27/TSRM -I/tmp/php-build/php-5.4.27/Zend    -I/usr/include -g -O2 -fvisibility=hidden  -c /tmp/php-build/php-5.4.27/ext/date/lib/parse_date.c -o ext/date/lib/parse_date.lo
cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [ext/date/lib/parse_date.lo] Error 1
cp: cannot create regular file `/usr/local/php/php.ini': No such file or directory
httpd not running, trying to start

Installation FAILED at php

Any help - fast ? My other services is now failing to work.

Thx in front!

Offline
*
Re: cc: Internal error: Killed (program cc1)
« Reply #1 on: June 30, 2014, 12:34:27 AM »
looks like memory issue, you will need to have at least 512MB ram + SWAP for PHP compiler
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: cc: Internal error: Killed (program cc1)
« Reply #2 on: June 30, 2014, 05:37:05 PM »
Good point ... maybe if i turn of all of my services runing and try again - maybe it will work good :)
I have 512Mb of ram, but have 2 voice servers active 24/7. Thx for advice.