FreeBSD Port: php5-bz2-5.2.5

Kris Kennaway kris at FreeBSD.org
Wed Dec 26 17:52:01 PST 2007


Darrell Betts wrote:
> I am receiving this error when trying to compile php5
> 
> "Makefile", line 588: warning: duplicate script for target 
> "main/internal_functions.lo" ignored
> /bin/sh /usr/ports/lang/php5/work/php-5.2.5/libtool --silent 
> --preserve-dup-deps --mode=compile cc -Iext/date/lib -Iext/date/ 
> -I/usr/ports/lang/php5/work/php-5.2.5/ext/date/ -DPHP_ATOM_INC 
> -I/usr/ports/lang/php5/work/php-5.2.5/include 
> -I/usr/ports/lang/php5/work/php-5.2.5/main 
> -I/usr/ports/lang/php5/work/php-5.2.5 -I/usr/local/include/libxml2 
> -I/usr/local/include -I/usr/ports/lang/php5/work/php-5.2.5/ext/date/lib 
> -I/usr/ports/lang/php5/work/php-5.2.5/TSRM 
> -I/usr/ports/lang/php5/work/php-5.2.5/Zend    -O2 -fno-strict-aliasing 
> -pipe  -prefer-non-pic -c 
> /usr/ports/lang/php5/work/php-5.2.5/ext/date/lib/parse_date.c -o 
> ext/date/lib/parse_date.lo
> cc: Internal error: Killed: 9 (program cc1)
> Please submit a full bug report.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> {standard input}: Assembler messages:
> {standard input}:10028: Warning: end of file not at end of a line; 
> newline inserted
> *** Error code 1
> 
> Stop in /usr/ports/lang/php5/work/php-5.2.5.
> *** Error code 1
> 
> Stop in /usr/ports/lang/php5.
> *** Error code 1
> 
> Stop in /usr/ports/lang/php5.
> 
> Running freebsd 6.2
> 
> Thanks for looking into this.

This usually means your machine ran out of swap during the compile.  Add 
more RAM, more swap, try reducing the optimization level, or just use 
the precompiled package.

Kris



More information about the freebsd-ports mailing list