免费注册 查看新帖 |

Chinaunix

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

编译php报错,请求帮助 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-06-24 17:26 |只看该作者 |倒序浏览
安装php5.2.10,源码安装,
计算机:hprx2620,itanium2(ia64)
系统:redhat5.1
1.  ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib-dir --with-bz2 --with-tiff-dir --with-libxml-dir=/usr/local/libxml2 --with-gd=/usr/local/gd2 --with-freetype-dir --with-jpeg-dir --with-png-dir --with-ttf --enable-mbstring --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-config-file-path=/etc --with-iconv --disable-ipv6 --enable-static
正常
2.make 正常
3.make test 报错
Build complete.
Don't forget to run 'make test'.

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

  在网上找了好多资料,都没有提到这个问题,请帮忙解决。谢谢!!!!!!

[ 本帖最后由 gms168 于 2009-6-24 20:59 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-06-24 18:07 |只看该作者
我编译安装n次的php了,如果make出问题了,一般都是依赖有问题,可能有包没安装。没有make test过,直接make install了。
如果出问题,重新配置编译安装。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP