Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.47 KB | None | 0 0
  1. root@gosha:~# pecl install uploadprogress
  2. WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
  3. downloading uploadprogress-1.0.3.1.tgz ...
  4. Starting to download uploadprogress-1.0.3.1.tgz (9,040 bytes)
  5. .....done: 9,040 bytes
  6. 4 source files, building
  7. running: phpize
  8. Configuring for:
  9. PHP Api Version: 20151012
  10. Zend Module Api No: 20151012
  11. Zend Extension Api No: 320151012
  12. building in /tmp/pear/temp/pear-build-rootCnRkPM/uploadprogress-1.0.3.1
  13. running: /tmp/pear/temp/uploadprogress/configure --with-php-config=/usr/bin/php-config
  14. checking for grep that handles long lines and -e... /bin/grep
  15. checking for egrep... /bin/grep -E
  16. checking for a sed that does not truncate output... /bin/sed
  17. checking for cc... cc
  18. checking whether the C compiler works... yes
  19. checking for C compiler default output file name... a.out
  20. checking for suffix of executables...
  21. checking whether we are cross compiling... no
  22. checking for suffix of object files... o
  23. checking whether we are using the GNU C compiler... yes
  24. checking whether cc accepts -g... yes
  25. checking for cc option to accept ISO C89... none needed
  26. checking how to run the C preprocessor... cc -E
  27. checking for icc... no
  28. checking for suncc... no
  29. checking whether cc understands -c and -o together... yes
  30. checking for system library directory... lib
  31. checking if compiler supports -R... no
  32. checking if compiler supports -Wl,-rpath,... yes
  33. checking build system type... x86_64-pc-linux-gnu
  34. checking host system type... x86_64-pc-linux-gnu
  35. checking target system type... x86_64-pc-linux-gnu
  36. checking for PHP prefix... /usr
  37. checking for PHP includes... -I/usr/include/php/20151012 -I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM -I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext -I/usr/include/php/20151012/ext/date/lib
  38. checking for PHP extension directory... /usr/lib/php/20151012
  39. checking for PHP installed headers prefix... /usr/include/php/20151012
  40. checking if debug is enabled... no
  41. checking if zts is enabled... no
  42. checking for re2c... no
  43. configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
  44. checking for gawk... no
  45. checking for nawk... nawk
  46. checking if nawk is broken... no
  47. checking whether to enable uploadprogress functions... yes, shared
  48. checking how to print strings... printf
  49. checking for a sed that does not truncate output... (cached) /bin/sed
  50. checking for fgrep... /bin/grep -F
  51. checking for ld used by cc... /usr/bin/ld
  52. checking if the linker (/usr/bin/ld) is GNU ld... yes
  53. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  54. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  55. checking whether ln -s works... yes
  56. checking the maximum length of command line arguments... 1572864
  57. checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
  58. checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
  59. checking for /usr/bin/ld option to reload object files... -r
  60. checking for objdump... objdump
  61. checking how to recognize dependent libraries... pass_all
  62. checking for dlltool... no
  63. checking how to associate runtime and link libraries... printf %s\n
  64. checking for ar... ar
  65. checking for archiver @FILE support... @
  66. checking for strip... strip
  67. checking for ranlib... ranlib
  68. checking for gawk... (cached) nawk
  69. checking command to parse /usr/bin/nm -B output from cc object... ok
  70. checking for sysroot... no
  71. checking for a working dd... /bin/dd
  72. checking how to truncate binary pipes... /bin/dd bs=4096 count=1
  73. checking for mt... mt
  74. checking if mt is a manifest tool... no
  75. checking for ANSI C header files... yes
  76. checking for sys/types.h... yes
  77. checking for sys/stat.h... yes
  78. checking for stdlib.h... yes
  79. checking for string.h... yes
  80. checking for memory.h... yes
  81. checking for strings.h... yes
  82. checking for inttypes.h... yes
  83. checking for stdint.h... yes
  84. checking for unistd.h... yes
  85. checking for dlfcn.h... yes
  86. checking for objdir... .libs
  87. checking if cc supports -fno-rtti -fno-exceptions... no
  88. checking for cc option to produce PIC... -fPIC -DPIC
  89. checking if cc PIC flag -fPIC -DPIC works... yes
  90. checking if cc static flag -static works... yes
  91. checking if cc supports -c -o file.o... yes
  92. checking if cc supports -c -o file.o... (cached) yes
  93. checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  94. checking whether -lc should be explicitly linked in... no
  95. checking dynamic linker characteristics... GNU/Linux ld.so
  96. checking how to hardcode library paths into programs... immediate
  97. checking whether stripping libraries is possible... yes
  98. checking if libtool supports shared libraries... yes
  99. checking whether to build shared libraries... yes
  100. checking whether to build static libraries... no
  101. configure: creating ./config.status
  102. config.status: creating config.h
  103. config.status: executing libtool commands
  104. running: make
  105. /bin/bash /tmp/pear/temp/pear-build-rootCnRkPM/uploadprogress-1.0.3.1/libtool --mode=compile cc -I. -I/tmp/pear/temp/uploadprogress -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootCnRkPM/uploadprogress-1.0.3.1/include -I/tmp/pear/temp/pear-build-rootCnRkPM/uploadprogress-1.0.3.1/main -I/tmp/pear/temp/uploadprogress -I/usr/include/php/20151012 -I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM -I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext -I/usr/include/php/20151012/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/uploadprogress/uploadprogress.c -o uploadprogress.lo
  106. libtool: compile: cc -I. -I/tmp/pear/temp/uploadprogress -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootCnRkPM/uploadprogress-1.0.3.1/include -I/tmp/pear/temp/pear-build-rootCnRkPM/uploadprogress-1.0.3.1/main -I/tmp/pear/temp/uploadprogress -I/usr/include/php/20151012 -I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM -I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext -I/usr/include/php/20151012/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/uploadprogress/uploadprogress.c -fPIC -DPIC -o .libs/uploadprogress.o
  107. /tmp/pear/temp/uploadprogress/uploadprogress.c: In function ‘uploadprogress_php_rfc1867_file’:
  108. /tmp/pear/temp/uploadprogress/uploadprogress.c:160:31: error: ‘ENFORCE_SAFE_MODE’ undeclared (first use in this function)
  109. int options = ENFORCE_SAFE_MODE;
  110. ^~~~~~~~~~~~~~~~~
  111. /tmp/pear/temp/uploadprogress/uploadprogress.c:160:31: note: each undeclared identifier is reported only once for each function it appears in
  112. /tmp/pear/temp/uploadprogress/uploadprogress.c: In function ‘uploadprogress_file_php_get_info’:
  113. /tmp/pear/temp/uploadprogress/uploadprogress.c:420:57: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
  114. add_assoc_string( return_value, k, v, 1 );
  115. ^
  116. /tmp/pear/temp/uploadprogress/uploadprogress.c:420:17: error: ‘add_assoc_string’ undeclared (first use in this function)
  117. add_assoc_string( return_value, k, v, 1 );
  118. ^~~~~~~~~~~~~~~~
  119. /tmp/pear/temp/uploadprogress/uploadprogress.c: In function ‘uploadprogress_file_php_get_contents’:
  120. /tmp/pear/temp/uploadprogress/uploadprogress.c:437:19: error: ‘ENFORCE_SAFE_MODE’ undeclared (first use in this function)
  121. int options = ENFORCE_SAFE_MODE;
  122. ^~~~~~~~~~~~~~~~~
  123. /tmp/pear/temp/uploadprogress/uploadprogress.c:458:71: error: macro "php_stream_copy_to_mem" passed 4 arguments, but takes just 3
  124. if ((len = php_stream_copy_to_mem(stream, &contents, maxlen, 0)) > 0) {
  125. ^
  126. /tmp/pear/temp/uploadprogress/uploadprogress.c:458:20: error: ‘php_stream_copy_to_mem’ undeclared (first use in this function)
  127. if ((len = php_stream_copy_to_mem(stream, &contents, maxlen, 0)) > 0) {
  128. ^~~~~~~~~~~~~~~~~~~~~~
  129. /tmp/pear/temp/uploadprogress/uploadprogress.c:466:44: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2
  130. RETVAL_STRINGL(contents, len, 0);
  131. ^
  132. /tmp/pear/temp/uploadprogress/uploadprogress.c:466:13: error: ‘RETVAL_STRINGL’ undeclared (first use in this function)
  133. RETVAL_STRINGL(contents, len, 0);
  134. ^~~~~~~~~~~~~~
  135. Makefile:194: recipe for target 'uploadprogress.lo' failed
  136. make: *** [uploadprogress.lo] Error 1
  137. ERROR: `make' failed
  138. root@gosha:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement