免费注册 查看新帖 |

Chinaunix

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

PHP扩展库安装错误[自己解决了] [复制链接]

论坛徽章:
3
未羊
日期:2013-11-18 15:17:06酉鸡
日期:2013-12-06 17:07:16天蝎座
日期:2014-06-11 12:37:07
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-04-05 18:41 |只看该作者 |倒序浏览
本帖最后由 墨迹哥 于 2013-04-06 18:44 编辑

安装Perl扩展失败。。十分郁闷。。求解答。。
  1. root@smart:~/xx2/perl-1.0.1# make install
  2. /bin/bash /root/xx2/perl-1.0.1/libtool --mode=compile cc  -I. -I/root/xx2/perl-1.0.1 -DPHP_ATOM_INC -I/root/xx2/perl-1.0.1/include -I/root/xx2/perl-1.0.1/main -I/root/xx2/perl-1.0.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE  -c /root/xx2/perl-1.0.1/php_perl.c -o php_perl.lo
  3. libtool: compile:  cc -I. -I/root/xx2/perl-1.0.1 -DPHP_ATOM_INC -I/root/xx2/perl-1.0.1/include -I/root/xx2/perl-1.0.1/main -I/root/xx2/perl-1.0.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -c /root/xx2/perl-1.0.1/php_perl.c  -fPIC -DPIC -o .libs/php_perl.o
  4. /root/xx2/perl-1.0.1/php_perl.c:186:3: warning: initialization from incompatible pointer type [enabled by default]
  5. /root/xx2/perl-1.0.1/php_perl.c:186:3: warning: (near initialization for 'php_perl_object_handlers.read_property') [enabled by default]
  6. /root/xx2/perl-1.0.1/php_perl.c:187:3: warning: initialization from incompatible pointer type [enabled by default]
  7. /root/xx2/perl-1.0.1/php_perl.c:187:3: warning: (near initialization for 'php_perl_object_handlers.write_property') [enabled by default]
  8. /root/xx2/perl-1.0.1/php_perl.c:193:3: warning: initialization from incompatible pointer type [enabled by default]
  9. /root/xx2/perl-1.0.1/php_perl.c:193:3: warning: (near initialization for 'php_perl_object_handlers.has_property') [enabled by default]
  10. /root/xx2/perl-1.0.1/php_perl.c:194:3: warning: initialization from incompatible pointer type [enabled by default]
  11. /root/xx2/perl-1.0.1/php_perl.c:194:3: warning: (near initialization for 'php_perl_object_handlers.unset_property') [enabled by default]
  12. /root/xx2/perl-1.0.1/php_perl.c:198:3: warning: initialization from incompatible pointer type [enabled by default]
  13. /root/xx2/perl-1.0.1/php_perl.c:198:3: warning: (near initialization for 'php_perl_object_handlers.get_method') [enabled by default]
  14. /root/xx2/perl-1.0.1/php_perl.c:199:3: warning: initialization from incompatible pointer type [enabled by default]
  15. /root/xx2/perl-1.0.1/php_perl.c:199:3: warning: (near initialization for 'php_perl_object_handlers.call_method') [enabled by default]
  16. /root/xx2/perl-1.0.1/php_perl.c:202:3: warning: initialization from incompatible pointer type [enabled by default]
  17. /root/xx2/perl-1.0.1/php_perl.c:202:3: warning: (near initialization for 'php_perl_object_handlers.get_class_name') [enabled by default]
  18. /root/xx2/perl-1.0.1/php_perl.c:213:3: warning: initialization from incompatible pointer type [enabled by default]
  19. /root/xx2/perl-1.0.1/php_perl.c:213:3: warning: (near initialization for 'php_perl_proxy_handlers.read_property') [enabled by default]
  20. /root/xx2/perl-1.0.1/php_perl.c:214:3: warning: initialization from incompatible pointer type [enabled by default]
  21. /root/xx2/perl-1.0.1/php_perl.c:214:3: warning: (near initialization for 'php_perl_proxy_handlers.write_property') [enabled by default]
  22. /root/xx2/perl-1.0.1/php_perl.c:220:3: warning: initialization from incompatible pointer type [enabled by default]
  23. /root/xx2/perl-1.0.1/php_perl.c:220:3: warning: (near initialization for 'php_perl_proxy_handlers.has_property') [enabled by default]
  24. /root/xx2/perl-1.0.1/php_perl.c:221:3: warning: initialization from incompatible pointer type [enabled by default]
  25. /root/xx2/perl-1.0.1/php_perl.c:221:3: warning: (near initialization for 'php_perl_proxy_handlers.unset_property') [enabled by default]
  26. /root/xx2/perl-1.0.1/php_perl.c:225:3: warning: initialization from incompatible pointer type [enabled by default]
  27. /root/xx2/perl-1.0.1/php_perl.c:225:3: warning: (near initialization for 'php_perl_proxy_handlers.get_method') [enabled by default]
  28. /root/xx2/perl-1.0.1/php_perl.c:226:3: warning: initialization from incompatible pointer type [enabled by default]
  29. /root/xx2/perl-1.0.1/php_perl.c:226:3: warning: (near initialization for 'php_perl_proxy_handlers.call_method') [enabled by default]
  30. /root/xx2/perl-1.0.1/php_perl.c:229:3: warning: initialization from incompatible pointer type [enabled by default]
  31. /root/xx2/perl-1.0.1/php_perl.c:229:3: warning: (near initialization for 'php_perl_proxy_handlers.get_class_name') [enabled by default]
  32. /root/xx2/perl-1.0.1/php_perl.c:247:1: warning: excess elements in struct initializer [enabled by default]
  33. /root/xx2/perl-1.0.1/php_perl.c:247:1: warning: (near initialization for 'php_perl_constructor_function') [enabled by default]
  34. /root/xx2/perl-1.0.1/php_perl.c: In function 'php_perl_sv_to_zval_noref':
  35. /root/xx2/perl-1.0.1/php_perl.c:540:7: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [enabled by default]
  36. In file included from /usr/lib/perl/5.14/CORE/perl.h:5036:0,
  37.                  from /root/xx2/perl-1.0.1/php_perl.c:38:
  38. /usr/lib/perl/5.14/CORE/proto.h:3565:21: note: expected 'STRLEN * const' but argument is of type 'int *'
  39. /root/xx2/perl-1.0.1/php_perl.c: In function 'php_perl_call_method':
  40. /root/xx2/perl-1.0.1/php_perl.c:680:11: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [enabled by default]
  41. In file included from /usr/lib/perl/5.14/CORE/perl.h:5036:0,
  42.                  from /root/xx2/perl-1.0.1/php_perl.c:38:
  43. /usr/lib/perl/5.14/CORE/proto.h:3565:21: note: expected 'STRLEN * const' but argument is of type 'int *'
  44. /root/xx2/perl-1.0.1/php_perl.c: In function 'php_perl_call':
  45. /root/xx2/perl-1.0.1/php_perl.c:743:11: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [enabled by default]
  46. In file included from /usr/lib/perl/5.14/CORE/perl.h:5036:0,
  47.                  from /root/xx2/perl-1.0.1/php_perl.c:38:
  48. /usr/lib/perl/5.14/CORE/proto.h:3565:21: note: expected 'STRLEN * const' but argument is of type 'int *'
  49. /root/xx2/perl-1.0.1/php_perl.c: In function 'php_perl_get_method':
  50. /root/xx2/perl-1.0.1/php_perl.c:1418:5: error: too few arguments to function 'zend_get_std_object_handlers()->get_method'
  51. /root/xx2/perl-1.0.1/php_perl.c: In function 'php_perl_get_properties':
  52. /root/xx2/perl-1.0.1/php_perl.c:1496:29: error: 'znode_op' has no member named 'op_type'
  53. /root/xx2/perl-1.0.1/php_perl.c:1497:29: error: 'znode_op' has no member named 'u'
  54. /root/xx2/perl-1.0.1/php_perl.c:1498:12: error: 'znode_op' has no member named 'u'
  55. /root/xx2/perl-1.0.1/php_perl.c:1498:12: error: 'znode_op' has no member named 'u'
  56. /root/xx2/perl-1.0.1/php_perl.c:1499:12: error: 'znode_op' has no member named 'u'
  57. /root/xx2/perl-1.0.1/php_perl.c:1499:12: error: 'znode_op' has no member named 'u'
  58. /root/xx2/perl-1.0.1/php_perl.c:1500:12: error: 'znode_op' has no member named 'u'
  59. /root/xx2/perl-1.0.1/php_perl.c:1500:12: error: 'znode_op' has no member named 'u'
  60. /root/xx2/perl-1.0.1/php_perl.c:1501:12: error: 'znode_op' has no member named 'u'
  61. /root/xx2/perl-1.0.1/php_perl.c:1501:12: error: 'znode_op' has no member named 'u'
  62. /root/xx2/perl-1.0.1/php_perl.c:1502:12: error: 'znode_op' has no member named 'u'
  63. /root/xx2/perl-1.0.1/php_perl.c:1502:12: error: 'znode_op' has no member named 'u'
  64. /root/xx2/perl-1.0.1/php_perl.c: In function 'zim_Perl_eval':
  65. /root/xx2/perl-1.0.1/php_perl.c:1905:13: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [enabled by default]
  66. In file included from /usr/lib/perl/5.14/CORE/perl.h:5036:0,
  67.                  from /root/xx2/perl-1.0.1/php_perl.c:38:
  68. /usr/lib/perl/5.14/CORE/proto.h:3565:21: note: expected 'STRLEN * const' but argument is of type 'int *'
  69. make: *** [php_perl.lo] 错误 1
复制代码
PHP板块太你妹的冷血了。。。出了问题都木有人来解答下。。最后还是自己给解决了。。

论坛徽章:
3
未羊
日期:2013-11-18 15:17:06酉鸡
日期:2013-12-06 17:07:16天蝎座
日期:2014-06-11 12:37:07
2 [报告]
发表于 2013-04-05 18:58 |只看该作者
悲剧!没人回答。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP