|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-02-18 16:56 UTC] jpilling at fortvale dot com
Description: ------------ I am trying to compile PHP 5.3.0 Beta 1 on zLinux. Our package is Suse Linux Enterprise Server 10 Service Pack 2 s390x (64bit). My configure line: ./configure --with-apxs2=/home/apache2/bin/apxs --with-mysql=/home/mysql --prefix=/home/apache2/php --disable-debug After a successful 'make', I run 'make test' and receive the following error: /bin/sh: line 1: 1416 Segmentation fault TEST_PHP_EXECUTABLE=/home/php-5.3.0beta1/sapi/cli/php TEST_PHP_SRCDIR=/home/php-5.3.0beta1 CC="gcc" /home/php-5.3.0beta1/sapi/cli/php -n -c /home/php-5.3.0beta1/tmp-php.ini -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' /home/php-5.3.0beta1/run-tests.php -n -c /home/php-5.3.0beta1/tmp-php.ini -d extension_dir=/home/php-5.3.0beta1/modules/ ` if test "x" != "x"; then for i in ""; do . $i; /home/php-5.3.0beta1/build/shtool echo -n -- " -d extension=$dlname"; done; fi; if test "x" != "x"; then for i in ""; do . $i; /home/php-5.3.0beta1/build/shtool echo -n -- " -d zend_extension=/home/php-5.3.0beta1/modules/$dlname"; done; fi` make: [test] Error 139 (ignored) Please advise or offer any suggestions. regards Jonathan PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 17:00:02 2025 UTC |
I exported CFLAGS=-01 and that did not help. I modified my Makefile since gcc was complaining about -01. Changes to Makefile: removed -01 from CFLAGS_CLEAN added -01 to CFLAGS and left the exported CFLAGS set with -01 Compile completed successfully and make test worked as expected.