Advertisement
Guest User

SPL_Types install error

a guest
Oct 27th, 2016
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.40 KB | None | 0 0
  1. sudo pecl install SPL_Types
  2. downloading SPL_Types-0.4.0.tgz ...
  3. Starting to download SPL_Types-0.4.0.tgz (8,388 bytes)
  4. .....done: 8,388 bytes
  5. 6 source files, building
  6. running: phpize
  7. Configuring for:
  8. PHP Api Version: 20151012
  9. Zend Module Api No: 20151012
  10. Zend Extension Api No: 320151012
  11. building in /var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0
  12. running: /var/tmp/SPL_Types/configure --with-php-config=/usr/bin/php-config
  13. checking for grep that handles long lines and -e... /bin/grep
  14. checking for egrep... /bin/grep -E
  15. checking for a sed that does not truncate output... /bin/sed
  16. checking for cc... cc
  17. checking for C compiler default output file name... a.out
  18. checking whether the C compiler works... yes
  19. checking whether we are cross compiling... no
  20. checking for suffix of executables...
  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/lib64/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 enable SPL Types suppport... yes, shared
  45. checking for a sed that does not truncate output... (cached) /bin/sed
  46. checking for fgrep... /bin/grep -F
  47. checking for ld used by cc... /usr/bin/ld
  48. checking if the linker (/usr/bin/ld) is GNU ld... yes
  49. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  50. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  51. checking whether ln -s works... yes
  52. checking the maximum length of command line arguments... 1966080
  53. checking whether the shell understands some XSI constructs... yes
  54. checking whether the shell understands "+="... yes
  55. checking for /usr/bin/ld option to reload object files... -r
  56. checking for objdump... objdump
  57. checking how to recognize dependent libraries... pass_all
  58. checking for ar... ar
  59. checking for strip... strip
  60. checking for ranlib... ranlib
  61. checking command to parse /usr/bin/nm -B output from cc object... ok
  62. checking for ANSI C header files... yes
  63. checking for sys/types.h... yes
  64. checking for sys/stat.h... yes
  65. checking for stdlib.h... yes
  66. checking for string.h... yes
  67. checking for memory.h... yes
  68. checking for strings.h... yes
  69. checking for inttypes.h... yes
  70. checking for stdint.h... yes
  71. checking for unistd.h... yes
  72. checking for dlfcn.h... yes
  73. checking for objdir... .libs
  74. checking if cc supports -fno-rtti -fno-exceptions... no
  75. checking for cc option to produce PIC... -fPIC -DPIC
  76. checking if cc PIC flag -fPIC -DPIC works... yes
  77. checking if cc static flag -static works... no
  78. checking if cc supports -c -o file.o... yes
  79. checking if cc supports -c -o file.o... (cached) yes
  80. checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  81. checking whether -lc should be explicitly linked in... no
  82. checking dynamic linker characteristics... GNU/Linux ld.so
  83. checking how to hardcode library paths into programs... immediate
  84. checking whether stripping libraries is possible... yes
  85. checking if libtool supports shared libraries... yes
  86. checking whether to build shared libraries... yes
  87. checking whether to build static libraries... no
  88. configure: creating ./config.status
  89. config.status: creating config.h
  90. config.status: executing libtool commands
  91. running: make
  92. /bin/sh /var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/libtool --mode=compile cc -I. -I/var/tmp/SPL_Types -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/include -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/main -I/var/tmp/SPL_Types -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 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/SPL_Types/php_spl_types.c -o php_spl_types.lo
  93. libtool: compile: cc -I. -I/var/tmp/SPL_Types -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/include -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/main -I/var/tmp/SPL_Types -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 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/SPL_Types/php_spl_types.c -fPIC -DPIC -o .libs/php_spl_types.o
  94. /bin/sh /var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/libtool --mode=compile cc -I. -I/var/tmp/SPL_Types -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/include -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/main -I/var/tmp/SPL_Types -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 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/SPL_Types/spl_type.c -o spl_type.lo
  95. libtool: compile: cc -I. -I/var/tmp/SPL_Types -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/include -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/main -I/var/tmp/SPL_Types -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 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/SPL_Types/spl_type.c -fPIC -DPIC -o .libs/spl_type.o
  96. /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_object_free_storage':
  97. /var/tmp/SPL_Types/spl_type.c:74: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type
  98. /usr/include/php/Zend/zend_variables.h:112: note: expected 'struct zval *' but argument is of type 'struct zval **'
  99. /var/tmp/SPL_Types/spl_type.c: At top level:
  100. /var/tmp/SPL_Types/spl_type.c:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spl_type_object_new_ex'
  101. /var/tmp/SPL_Types/spl_type.c:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spl_type_object_clone'
  102. /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_set_int':
  103. /var/tmp/SPL_Types/spl_type.c:205: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type
  104. /usr/include/php/Zend/zend_types.h:326: note: expected 'const struct zval *' but argument is of type 'struct zval **'
  105. /var/tmp/SPL_Types/spl_type.c:205: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type
  106. /usr/include/php/Zend/zend_operators.h:244: note: expected 'struct zval *' but argument is of type 'struct zval **'
  107. /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_set_string':
  108. /var/tmp/SPL_Types/spl_type.c:218: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type
  109. /usr/include/php/Zend/zend_types.h:326: note: expected 'const struct zval *' but argument is of type 'struct zval **'
  110. /var/tmp/SPL_Types/spl_type.c:218: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type
  111. /usr/include/php/Zend/zend_types.h:326: note: expected 'const struct zval *' but argument is of type 'struct zval **'
  112. /var/tmp/SPL_Types/spl_type.c:218: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type
  113. /usr/include/php/Zend/zend_operators.h:243: note: expected 'struct zval *' but argument is of type 'struct zval **'
  114. /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_set_float':
  115. /var/tmp/SPL_Types/spl_type.c:231: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type
  116. /usr/include/php/Zend/zend_types.h:326: note: expected 'const struct zval *' but argument is of type 'struct zval **'
  117. /var/tmp/SPL_Types/spl_type.c:231: warning: passing argument 1 of 'convert_to_double' from incompatible pointer type
  118. /usr/include/php/Zend/zend_operators.h:245: note: expected 'struct zval *' but argument is of type 'struct zval **'
  119. /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_object_set':
  120. /var/tmp/SPL_Types/spl_type.c:241: warning: cast to pointer from integer of different size
  121. /var/tmp/SPL_Types/spl_type.c:246: error: invalid type argument of '->' (have 'int')
  122. /var/tmp/SPL_Types/spl_type.c:251: error: too few arguments to function 'value->value.obj->handlers->get'
  123. /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_object_get':
  124. /var/tmp/SPL_Types/spl_type.c:265: warning: cast to pointer from integer of different size
  125. /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_object_get_properties':
  126. /var/tmp/SPL_Types/spl_type.c:277: warning: cast to pointer from integer of different size
  127. /var/tmp/SPL_Types/spl_type.c:286: error: too many arguments to function 'zend_hash_copy'
  128. /var/tmp/SPL_Types/spl_type.c:289:129: error: macro "zend_hash_update" passed 6 arguments, but takes just 3
  129. /var/tmp/SPL_Types/spl_type.c:289: error: 'zend_hash_update' undeclared (first use in this function)
  130. /var/tmp/SPL_Types/spl_type.c:289: error: (Each undeclared identifier is reported only once
  131. /var/tmp/SPL_Types/spl_type.c:289: error: for each function it appears in.)
  132. /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_object_cast':
  133. /var/tmp/SPL_Types/spl_type.c:329: warning: cast to pointer from integer of different size
  134. /var/tmp/SPL_Types/spl_type.c: In function 'zim_spl_SplType___construct':
  135. /var/tmp/SPL_Types/spl_type.c:344: warning: cast to pointer from integer of different size
  136. /var/tmp/SPL_Types/spl_type.c:346: warning: 'php_set_error_handling' is deprecated (declared at /usr/include/php/main/php.h:292)
  137. /var/tmp/SPL_Types/spl_type.c:349: warning: 'php_set_error_handling' is deprecated (declared at /usr/include/php/main/php.h:292)
  138. /var/tmp/SPL_Types/spl_type.c:354: error: lvalue required as unary '&' operand
  139. /var/tmp/SPL_Types/spl_type.c:357: warning: 'php_set_error_handling' is deprecated (declared at /usr/include/php/main/php.h:292)
  140. /var/tmp/SPL_Types/spl_type.c: In function 'spl_enum_apply_get_consts':
  141. /var/tmp/SPL_Types/spl_type.c:371: error: 'zend_hash_key' has no member named 'arKey'
  142. /var/tmp/SPL_Types/spl_type.c:371: error: 'zend_hash_key' has no member named 'arKey'
  143. /var/tmp/SPL_Types/spl_type.c: In function 'zim_spl_SplEnum_getConstList':
  144. /var/tmp/SPL_Types/spl_type.c:390: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type
  145. /usr/include/php/Zend/zend_hash.h:154: note: expected 'struct zend_string *' but argument is of type 'char *'
  146. /var/tmp/SPL_Types/spl_type.c:390: error: too many arguments to function 'zend_hash_find'
  147. /var/tmp/SPL_Types/spl_type.c: At top level:
  148. /var/tmp/SPL_Types/spl_type.c:400: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spl_type_object_new'
  149. /var/tmp/SPL_Types/spl_type.c:406: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spl_int_object_new'
  150. /var/tmp/SPL_Types/spl_type.c:412: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spl_float_object_new'
  151. /var/tmp/SPL_Types/spl_type.c:418: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spl_string_object_new'
  152. /var/tmp/SPL_Types/spl_type.c:443: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spl_enum_object_new'
  153. /var/tmp/SPL_Types/spl_type.c: In function 'zm_startup_spl_type':
  154. /var/tmp/SPL_Types/spl_type.c:451: error: 'spl_type_object_new' undeclared (first use in this function)
  155. /var/tmp/SPL_Types/spl_type.c:454: error: 'spl_type_object_clone' undeclared (first use in this function)
  156. /var/tmp/SPL_Types/spl_type.c:455: warning: assignment from incompatible pointer type
  157. /var/tmp/SPL_Types/spl_type.c:456: warning: assignment from incompatible pointer type
  158. /var/tmp/SPL_Types/spl_type.c:469: error: 'spl_enum_object_new' undeclared (first use in this function)
  159. /var/tmp/SPL_Types/spl_type.c:477: error: 'spl_int_object_new' undeclared (first use in this function)
  160. /var/tmp/SPL_Types/spl_type.c:480: error: 'spl_float_object_new' undeclared (first use in this function)
  161. /var/tmp/SPL_Types/spl_type.c:483: error: 'spl_string_object_new' undeclared (first use in this function)
  162. make: *** [spl_type.lo] Error 1
  163. ERROR: `make' failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement