免费注册 查看新帖 |

Chinaunix

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

一个关于libtool的编译错误信息。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-05-10 16:47 |只看该作者 |倒序浏览
本帖最后由 lijichao 于 2011-05-10 16:55 编辑

我在编译php的cli扩展时在configure 阶段出现以下错误,百思不得其姐!!!
  1. [root@server56 cli]# ./configure --with-php-config=/usr/local/php/bin/php-config
  2. checking for egrep... grep -E
  3. checking for a sed that does not truncate output... /bin/sed
  4. checking for cc... cc
  5. checking for C compiler default output file name... a.out
  6. checking whether the C compiler works... yes
  7. checking whether we are cross compiling... no
  8. checking for suffix of executables...
  9. checking for suffix of object files... o
  10. checking whether we are using the GNU C compiler... yes
  11. checking whether cc accepts -g... yes
  12. checking for cc option to accept ANSI C... none needed
  13. checking how to run the C preprocessor... cc -E
  14. checking for icc... no
  15. checking for suncc... no
  16. checking whether cc understands -c and -o together... yes
  17. checking for system library directory... lib
  18. checking if compiler supports -R... no
  19. checking if compiler supports -Wl,-rpath,... yes
  20. checking build system type... x86_64-unknown-linux-gnu
  21. checking host system type... x86_64-unknown-linux-gnu
  22. checking target system type... x86_64-unknown-linux-gnu
  23. checking for PHP prefix... /usr/local/php
  24. checking for PHP includes... -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib
  25. checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613
  26. checking for PHP installed headers prefix... /usr/local/php/include/php
  27. checking if debug is enabled... no
  28. checking if zts is enabled... no
  29. checking for re2c... no
  30. configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
  31. checking for gawk... gawk
  32. checking for CLI build... yes
  33. checking for ld used by cc... /usr/bin/ld
  34. checking if the linker (/usr/bin/ld) is GNU ld... yes
  35. checking for /usr/bin/ld option to reload object files... -r
  36. checking for BSD-compatible nm... /usr/bin/nm -B
  37. checking whether ln -s works... yes
  38. checking how to recognize dependent libraries... pass_all
  39. checking for ANSI C header files... yes
  40. checking for sys/types.h... yes
  41. checking for sys/stat.h... yes
  42. checking for stdlib.h... yes
  43. checking for string.h... yes
  44. checking for memory.h... yes
  45. checking for strings.h... yes
  46. checking for inttypes.h... yes
  47. checking for stdint.h... yes
  48. checking for unistd.h... yes
  49. checking dlfcn.h usability... yes
  50. checking dlfcn.h presence... yes
  51. checking for dlfcn.h... yes
  52. checking the maximum length of command line arguments... 98304
  53. checking command to parse /usr/bin/nm -B output from cc object... ok
  54. checking for objdir... .libs
  55. checking for ar... ar
  56. checking for ranlib... ranlib
  57. checking for strip... strip
  58. checking if cc supports -fno-rtti -fno-exceptions... no
  59. checking for cc option to produce PIC... -fPIC
  60. checking if cc PIC flag -fPIC works... yes
  61. checking if cc static flag -static works... yes
  62. checking if cc supports -c -o file.o... yes
  63. checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  64. checking whether -lc should be explicitly linked in... no
  65. checking dynamic linker characteristics... GNU/Linux ld.so
  66. checking how to hardcode library paths into programs... immediate
  67. checking whether stripping libraries is possible... yes
  68. checking if libtool supports shared libraries... yes
  69. checking whether to build shared libraries... yes
  70. checking whether to build static libraries... no

  71. creating libtool
  72. appending configuration tag "CXX" to libtool
  73. shtool:mkdir:Error: invalid number of arguments (at least 1 expected)
  74. shtool:mkdir:Hint:  run `./build/shtool mkdir -h' or `man shtool' for details
  75. configure: creating ./config.status
  76. config.status: creating config.h
  77. config.status: config.h is unchanged
复制代码
WHY???

论坛徽章:
0
2 [报告]
发表于 2011-05-10 17:11 |只看该作者
没人遇到过么???
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP