PHP Won't Complete Compile

MrManager

Verified User
Joined
Mar 14, 2005
Messages
5
Location
Roseville, CA
I try to compile it time and time again and becauise it fails, I cannot get Apache to come up either.

Here the tail of the PHP compile process:
------------------------------------------------------------

-I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_highlight.c -o Zend/zend_highlight.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_llist.c -o Zend/zend_llist.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_opcode.c -o Zend/zend_opcode.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_operators.c -o Zend/zend_operators.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_ptr_stack.c -o Zend/zend_ptr_stack.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_stack.c -o Zend/zend_stack.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_variables.c -o Zend/zend_variables.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend.c -o Zend/zend.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_API.c -o Zend/zend_API.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_extensions.c -o Zend/zend_extensions.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_hash.c -o Zend/zend_hash.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_list.c -o Zend/zend_list.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_indent.c -o Zend/zend_indent.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_builtin_functions.c -o Zend/zend_builtin_functions.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_sprintf.c -o Zend/zend_sprintf.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_ini.c -o Zend/zend_ini.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_qsort.c -o Zend/zend_qsort.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_multibyte.c -o Zend/zend_multibyte.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_strtod.c -o Zend/zend_strtod.lo
/bin/sh /usr/local/directadmin/customapache/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/local/directadmin/customapache/php-4.3.10/Zend/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.3.10/include -I/usr/local/directadmin/customapache/php-4.3.10/main -I/usr/local/directadmin/customapache/php-4.3.10 -I/usr/local/directadmin/customapache/php-4.3.10/Zend -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/customapache/php-4.3.10/ext/xml/expat -I/usr/local/directadmin/customapache/php-4.3.10/TSRM -g -O2 -prefer-pic -c /usr/local/directadmin/customapache/php-4.3.10/Zend/zend_execute.c -o Zend/zend_execute.lo
/usr/local/directadmin/customapache/php-4.3.10/Zend/zend_execute.c: In function `execute':
/usr/local/directadmin/customapache/php-4.3.10/Zend/zend_execute.c:2561: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1

Stop in /usr/local/directadmin/customapache/php-4.3.10.
-e \n*** The make has failed, do you want to try to make again? (y,n):
--------------------------------------------------------------------


Ideas?
 
I've done:

./build update
./build clean
./builod all

and even

./build php

and it never gets past this point. *sigh*

This is for a customer's dedicated server and setup is getting delayed because of this - help is appreciated!
 
You've posted the same thing in two places.

Which one do you want me to delete?

Jeff
 
I've always found internal compiler segfaults to be due to bad RAM... I'd do a memtest for a few hours and see what you can see.

What hardware is this? OS and GCC version?
 
Back
Top