免费注册 查看新帖 |

Chinaunix

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

[服务应用] 编译安装php 停在make install,不报错。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-05-10 22:12 |只看该作者 |倒序浏览
  1. [root@localhost php-5.2.5]# make install
  2. Installing PHP SAPI module:       apache2handler
  3. /usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool' libphp5.la /usr/local/apache/modules
  4. /usr/local/apache/build/libtool --mode=install cp libphp5.la /usr/local/apache/modules/
  5. cp .libs/libphp5.so /usr/local/apache/modules/libphp5.so
  6. cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la
  7. libtool: install: warning: remember to run `libtool --finish /data/php/php-5.2.5/libs'
  8. chmod 755 /usr/local/apache/modules/libphp5.so
  9. [activating module `php5' in /etc/httpd/conf/httpd.conf]
  10. Installing PHP CLI binary:        /usr/local/php/bin/
  11. Installing PHP CLI man page:      /usr/local/php/man/man1/
  12. Installing build environment:     /usr/local/php/lib/php/build/
  13. Installing header files:          /usr/local/php/include/php/
  14. Installing helper programs:       /usr/local/php/bin/
  15.   program: phpize
  16.   program: php-config
  17. Installing man pages:             /usr/local/php/man/man1/
  18.   page: phpize.1
  19.   page: php-config.1
  20. Installing PEAR environment:      /usr/local/php/lib/php/
  21. [PEAR] Console_Getopt - already installed: 1.2.3
  22. [PEAR] Archive_Tar    - already installed: 1.3.2
  23. [PEAR] Structures_Graph- already installed: 1.0.2
  24. [PEAR] PEAR           - already installed: 1.6.1
  25. Wrote PEAR system config file at: /usr/local/php/etc/pear.conf
  26. You may want to add: /usr/local/php/lib/php to your php.ini include_path
复制代码
就一直停在这里。

我的./configure 参数
  1. ./configure \
  2. --prefix=/usr/local/php \
  3. --with-apxs2=/usr/local/apache/bin/apxs \
  4. --with-mysql=/usr/local/mysql \
  5. --with-config-file-path=/usr/local/php/etc \
  6. --with-mysqli=/usr/local/mysql/bin/mysql_config \
  7. --with-iconv=/usr/local/libiconv \
  8. --enable-mbstring \
  9. --with-freetype-dir=/usr/local/freetype \
  10. --enable-sockets \
  11. --with-db4 \
  12. --with-regex=php \
  13. --with-bz2 \
  14. --with-ttf \
  15. --with-gd=/usr/local/gd2 \
  16. --enable-gd-native-ttf \
  17. --enable-gd-jis-conv \
  18. --with-curl \
  19. --disable-debug \
  20. --enable-force-cgi-redirect \
  21. --enable-ftp \
  22. --with-zlib \
  23. --with-png-dir \
  24. --with-libxml-dir=/usr/local/libxml2 \
  25. --with-jpeg-dir=/usr/local/jpeg6 \
  26. --with-mcrypt=/usr/local/libmcrypt \
  27. --enable-soap \
  28. --enable-exif \
  29. --disable-ipv6 \
  30. --enable-fastcgi \
  31. --enable-safe-mode
复制代码
请前辈们帮帮我吧!真不知道**问题,今天一个下午到现在都是这个问题,一直卡在make install的:You may want to add: /usr/local/php/lib/php to your php.ini include_path
只有按ctrl+c 才能退出。

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
2 [报告]
发表于 2012-05-10 22:16 |只看该作者
make没有问题,make install应该很快就完成的.
楼主检查下系统日志(/var/log/messages),看看有没有错误信息

论坛徽章:
4
CU大牛徽章
日期:2013-03-13 15:29:07CU大牛徽章
日期:2013-03-13 15:29:49CU大牛徽章
日期:2013-03-13 15:30:192015年迎新春徽章
日期:2015-03-04 09:57:09
3 [报告]
发表于 2012-05-11 09:29 |只看该作者
你把这句“You may want to add: /usr/local/php/lib/php to your php.ini include_path”
做了,再make install试试。

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
4 [报告]
发表于 2012-05-11 09:44 |只看该作者
回复 3# dooros


    我觉得与那个无关,那个操作是安装完php后的操作.

论坛徽章:
0
5 [报告]
发表于 2012-05-11 10:19 |只看该作者
make 的时候正常啊。没有报错。看了/var/log/messages里面也没有异常啊。

论坛徽章:
0
6 [报告]
发表于 2012-05-11 11:03 |只看该作者
回复 3# dooros


    这个我已经试过了,现在我的耐心真的快被磨平了,现在正在换5.2.17版在编译。如果还是过不了我可能就得考虑去找东高点的楼了......{:3_182:}

论坛徽章:
0
7 [报告]
发表于 2012-05-11 11:33 |只看该作者
汗啊~~~~~5.2.17 还是一样的问题。。。

论坛徽章:
4
CU大牛徽章
日期:2013-03-13 15:29:07CU大牛徽章
日期:2013-03-13 15:29:49CU大牛徽章
日期:2013-03-13 15:30:192015年迎新春徽章
日期:2015-03-04 09:57:09
8 [报告]
发表于 2012-05-11 23:20 |只看该作者
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache/bin/apxs \
--with-libxml-dir=/usr/local/lib --with-zlib --with-zlib-dir=/usr/local/lib \
--with-mysql=/usr/local/mysql --enable-soap --enable-sockets
这个试试

论坛徽章:
0
9 [报告]
发表于 2012-05-12 21:20 |只看该作者
下周上班等客户把系统重新安装好了再去试试,当时我一气之下在 / 执行了 rm -rf *了。。。

论坛徽章:
4
CU大牛徽章
日期:2013-03-13 15:29:07CU大牛徽章
日期:2013-03-13 15:29:49CU大牛徽章
日期:2013-03-13 15:30:192015年迎新春徽章
日期:2015-03-04 09:57:09
10 [报告]
发表于 2012-05-12 21:59 |只看该作者
ToughGuy630 发表于 2012-05-12 21:20
下周上班等客户把系统重新安装好了再去试试,当时我一气之下在 / 执行了 rm -rf *了。。。


这么有勇气?!这都敢……
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP