一个关于libtool的编译错误信息。

发布于 2022-10-15 07:22:25 字数 4606 浏览 20 评论 0

本帖最后由 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???

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

⊕婉儿 2022-10-22 07:22:25

没人遇到过么???

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文