免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2143 | 回复: 1
打印 上一主题 下一主题

编译php报错,请高手指点下 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-04-23 07:46 |只看该作者 |倒序浏览
SUSE Linux Enterprise Server 10 (s390x)
httpd-2.2.11
mysql-5.0.22

Configured with the following options without warnigs:
#./configure --prefix=/oracle/lamp/php --with-apxs2=/oracle/lamp/apache2/bin/apxs --with-mysql=/oracle/mysql/ --with-libxml-dir=/oracle/lamp/libxml2/ --with-gd=/oracle/lamp/gd2/ --with-jpeg-dir=/oracle/lamp/jpeg6/ --with-png-dir=/usr/local/  --with-zlib-dir=/usr/lib  --with-freetype-dir=/oracle/lamp/freetype/ --with-curl=/oracle/lamp/curl/

#make也正常
#echo $? 返回0
Build complete.
Don't forget to run 'make test'.

#make test时出错
Build complete.
Don't forget to run 'make test'.

/bin/sh: line 1: 21119 Segmentation fault      TEST_PHP_EXECUTABLE=/usr/local/php-5.2.5/sapi/cli/php TEST_PHP_SRCDIR=/usr/local/php-5.2.5 CC="gcc" /usr/local/php-5.2.5/sapi/cli/php -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' /usr/local/php-5.2.5/run-tests.php -c /usr/local/php-5.2.5/tmp-php.ini -U -d extension_dir=/usr/local/php-5.2.5/modules/ ` if test "x" != "x"; then for i in ""; do . $i; /usr/local/php-5.2.5/build/shtool echo -n -- " -d extension=$dlname"; done; fi`
make: [test] Error 139 (ignored)
panda:/usr/local/php-5.2.5 # make install也出错
Installing PHP SAPI module:       apache2handler
/oracle/lamp/apache2//build/instdso.sh SH_LIBTOOL='/oracle/lamp/apr/build-1/libtool' libphp5.la /oracle/lamp/apache2//modules
/oracle/lamp/apr/build-1/libtool --mode=install cp libphp5.la /oracle/lamp/apache2//modules/
cp .libs/libphp5.so /oracle/lamp/apache2//modules/libphp5.so
cp .libs/libphp5.lai /oracle/lamp/apache2//modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /usr/local/php-5.2.5/libs'
chmod 755 /oracle/lamp/apache2//modules/libphp5.so
[activating module `php5' in /oracle/lamp/apache2//conf/httpd.conf]
Installing PHP CLI binary:        /oracle/lamp/php/bin/
Installing PHP CLI man page:      /oracle/lamp/php/man/man1/
Installing build environment:     /oracle/lamp/php/lib/php/build/
Installing header files:          /oracle/lamp/php/include/php/
Installing helper programs:       /oracle/lamp/php/bin/
  program: phpize
  program: php-config
Installing man pages:             /oracle/lamp/php/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /oracle/lamp/php/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2

论坛徽章:
0
2 [报告]
发表于 2010-04-23 11:38 |只看该作者
没有编译过PHP,不过一般readme文件中有说的吧!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP