1. [[email protected] feng]# pecl install pthreads
  2. downloading pthreads-2.0.10.tgz ...
  3. Starting to download pthreads-2.0.10.tgz (85,247 bytes)
  4. ....................done: 85,247 bytes
  5. 36 source files, building
  6. running: phpize-zts
  7. Configuring for:
  8. PHP Api Version: 20131106
  9. Zend Module Api No: 20131226
  10. Zend Extension Api No: 220131226
  11. building in /tmp/pear/temp/pear-build-root1RC2QQ/pthreads-2.0.10
  12. running: /tmp/pear/temp/pthreads/configure
  13. checking for grep that handles long lines and -e... /usr/bin/grep
  14. checking for egrep... /usr/bin/grep -E
  15. checking for a sed that does not truncate output... /usr/bin/sed
  16. checking for cc... cc
  17. checking whether the C compiler works... yes
  18. checking for C compiler default output file name... a.out
  19. checking for suffix of executables...
  20. checking whether we are cross compiling... no
  21. checking for suffix of object files... o
  22. checking whether we are using the GNU C compiler... yes
  23. checking whether cc accepts -g... yes
  24. checking for cc option to accept ISO C89... none needed
  25. checking how to run the C preprocessor... cc -E
  26. checking for icc... no
  27. checking for suncc... no
  28. checking whether cc understands -c and -o together... yes
  29. checking for system library directory... lib
  30. checking if compiler supports -R... no
  31. checking if compiler supports -Wl,-rpath,... yes
  32. checking build system type... x86_64-unknown-linux-gnu
  33. checking host system type... x86_64-unknown-linux-gnu
  34. checking target system type... x86_64-unknown-linux-gnu
  35. checking for PHP prefix... /usr
  36. checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
  37. checking for PHP extension directory... /usr/lib/php/modules
  38. checking for PHP installed headers prefix... /usr/include/php
  39. checking if debug is enabled... no
  40. checking if zts is enabled... no
  41. checking for re2c... no
  42. configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
  43. checking for gawk... gawk
  44. checking whether to enable Threading API... yes, shared
  45. checking whether to enable pedantic locking... no
  46. checking checking for ZTS... configure: error: pthreads requires ZTS, please re-compile PHP with ZTS enabled
  47. ERROR: `/tmp/pear/temp/pthreads/configure' failed
Comments powered by Disqus