Advertisement
Guest User

phpkafka log

a guest
Jan 3rd, 2014
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 12.68 KB | None | 0 0
  1. vagrant@precise32:/vagrant/phpkafka$ phpize
  2. Configuring for:
  3. PHP Api Version:         20100412
  4. Zend Module Api No:      20100525
  5. Zend Extension Api No:   220100525
  6. vagrant@precise32:/vagrant/phpkafka$ ./configure --enable-kafka
  7. checking for grep that handles long lines and -e... /bin/grep
  8. checking for egrep... /bin/grep -E
  9. checking for a sed that does not truncate output... /bin/sed
  10. checking for cc... cc
  11. checking whether the C compiler works... yes
  12. checking for C compiler default output file name... a.out
  13. checking for suffix of executables...
  14. checking whether we are cross compiling... no
  15. checking for suffix of object files... o
  16. checking whether we are using the GNU C compiler... yes
  17. checking whether cc accepts -g... yes
  18. checking for cc option to accept ISO C89... none needed
  19. checking how to run the C preprocessor... cc -E
  20. checking for icc... no
  21. checking for suncc... no
  22. checking whether cc understands -c and -o together... yes
  23. checking for system library directory... lib
  24. checking if compiler supports -R... no
  25. checking if compiler supports -Wl,-rpath,... yes
  26. checking build system type... i686-pc-linux-gnu
  27. checking host system type... i686-pc-linux-gnu
  28. checking target system type... i686-pc-linux-gnu
  29. checking for PHP prefix... /usr
  30. checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr
  31. /include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/inclu
  32. de/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  33. checking for PHP extension directory... /usr/lib/php5/20100525+lfs
  34. checking for PHP installed headers prefix... /usr/include/php5
  35. checking if debug is enabled... no
  36. checking if zts is enabled... no
  37. checking for re2c... no
  38. configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate
  39.  PHP parsers.
  40. checking for gawk... no
  41. checking for nawk... nawk
  42. checking if nawk is broken... no
  43. checking Whether to enable the "kafka" extension... yes, shared
  44. checking how to print strings... printf
  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... no, using cp -p
  52. checking the maximum length of command line arguments... 1572864
  53. checking whether the shell understands some XSI constructs... yes
  54. checking whether the shell understands "+="... yes
  55. checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format
  56. ... func_convert_file_noop
  57. checking how to convert i686-pc-linux-gnu file names to toolchain format... func
  58. _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... rm: cannot remove `conftest.o': Protocol
  66. error
  67. rm: cannot remove `conftest.o': Protocol error
  68. @
  69. checking for strip... strip
  70. checking for ranlib... ranlib
  71. checking for gawk... (cached) nawk
  72. checking command to parse /usr/bin/nm -B output from cc object... rm: cannot rem
  73. ove `conftest.o': Protocol error
  74. ok
  75. checking for sysroot... no
  76. checking for mt... mt
  77. checking if mt is a manifest tool... no
  78. checking for ANSI C header files... yes
  79. checking for sys/types.h... yes
  80. checking for sys/stat.h... yes
  81. checking for stdlib.h... yes
  82. checking for string.h... yes
  83. checking for memory.h... yes
  84. checking for strings.h... yes
  85. checking for inttypes.h... yes
  86. checking for stdint.h... yes
  87. checking for unistd.h... yes
  88. checking for dlfcn.h... yes
  89. checking for objdir... .libs
  90. checking if cc supports -fno-rtti -fno-exceptions... no
  91. checking for cc option to produce PIC... -fPIC -DPIC
  92. checking if cc PIC flag -fPIC -DPIC works... yes
  93. checking if cc static flag -static works... yes
  94. checking if cc supports -c -o file.o... yes
  95. checking if cc supports -c -o file.o... (cached) yes
  96. checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
  97. checking whether -lc should be explicitly linked in... no
  98. checking dynamic linker characteristics... GNU/Linux ld.so
  99. checking how to hardcode library paths into programs... immediate
  100. checking whether stripping libraries is possible... yes
  101. checking if libtool supports shared libraries... yes
  102. checking whether to build shared libraries... yes
  103. checking whether to build static libraries... no
  104. configure: creating ./config.status
  105. config.status: creating config.h
  106. config.status: executing libtool commands
  107.  
  108. vagrant@precise32:/vagrant/phpkafka$ make
  109. /bin/bash /vagrant/phpkafka/libtool --mode=compile cc -I/vagrant/phpkafka/librdk
  110. afka -I. -I/vagrant/phpkafka -DPHP_ATOM_INC -I/vagrant/phpkafka/include -I/vagra
  111. nt/phpkafka/main -I/vagrant/phpkafka -I/usr/include/php5 -I/usr/include/php5/mai
  112. n -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/u
  113. sr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -DHAVE_
  114. CONFIG_H  -g -O2   -c /vagrant/phpkafka/kafka.c -o kafka.lo
  115. libtool: compile:  cc -I/vagrant/phpkafka/librdkafka -I. -I/vagrant/phpkafka -DP
  116. HP_ATOM_INC -I/vagrant/phpkafka/include -I/vagrant/phpkafka/main -I/vagrant/phpk
  117. afka -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/us
  118. r/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_
  119. LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /vagrant/phpka
  120. fka/kafka.c  -fPIC -DPIC -o .libs/kafka.o
  121. /bin/bash /vagrant/phpkafka/libtool --mode=link cc -DPHP_ATOM_INC -I/vagrant/php
  122. kafka/include -I/vagrant/phpkafka/main -I/vagrant/phpkafka -I/usr/include/php5 -
  123. I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr
  124. /include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_O
  125. FFSET_BITS=64  -DHAVE_CONFIG_H  -g -O2   -o kafka.la -export-dynamic -avoid-vers
  126. ion -prefer-pic -module -rpath /vagrant/phpkafka/modules  kafka.lo librdkafka/rd
  127. .lo librdkafka/rdaddr.lo librdkafka/rdcrc32.lo librdkafka/rdgz.lo librdkafka/rdk
  128. afka.lo librdkafka/rdkafka_broker.lo librdkafka/rdkafka_defaultconf.lo librdkafk
  129. a/rdkafka_msg.lo librdkafka/rdkafka_topic.lo librdkafka/rdlog.lo librdkafka/rdqu
  130. eue.lo librdkafka/rdrand.lo librdkafka/rdthread.lo librdkafka/snappy.lo
  131. libtool: link: cc -shared  -fPIC -DPIC  .libs/kafka.o librdkafka/.libs/rd.o libr
  132. dkafka/.libs/rdaddr.o librdkafka/.libs/rdcrc32.o librdkafka/.libs/rdgz.o librdka
  133. fka/.libs/rdkafka.o librdkafka/.libs/rdkafka_broker.o librdkafka/.libs/rdkafka_d
  134. efaultconf.o librdkafka/.libs/rdkafka_msg.o librdkafka/.libs/rdkafka_topic.o lib
  135. rdkafka/.libs/rdlog.o librdkafka/.libs/rdqueue.o librdkafka/.libs/rdrand.o librd
  136. kafka/.libs/rdthread.o librdkafka/.libs/snappy.o    -O2   -Wl,-soname -Wl,kafka.
  137. so -o .libs/kafka.so
  138. libtool: link: ( cd ".libs" && rm -f "kafka.la" && cp -p "../kafka.la" "kafka.la
  139. " )
  140. /bin/bash /vagrant/phpkafka/libtool --mode=install cp ./kafka.la /vagrant/phpkaf
  141. ka/modules
  142. libtool: install: cp ./.libs/kafka.so /vagrant/phpkafka/modules/kafka.so
  143. libtool: install: cp ./.libs/kafka.lai /vagrant/phpkafka/modules/kafka.la
  144. libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/
  145. bin:/usr/games:/opt/vagrant_ruby/bin:/sbin" ldconfig -n /vagrant/phpkafka/module
  146. s
  147. ----------------------------------------------------------------------
  148. Libraries have been installed in:
  149.   /vagrant/phpkafka/modules
  150.  
  151. If you ever happen to want to link against installed libraries
  152. in a given directory, LIBDIR, you must either use libtool, and
  153. specify the full pathname of the library, or use the `-LLIBDIR'
  154. flag during linking and do at least one of the following:
  155.    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
  156.     during execution
  157.   - add LIBDIR to the `LD_RUN_PATH' environment variable
  158.      during linking
  159.    - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
  160.   - have your system administrator add LIBDIR to `/etc/ld.so.conf'
  161.  
  162. See any operating system documentation about shared libraries for
  163. more information, such as the ld(1) and ld.so(8) manual pages.
  164. ----------------------------------------------------------------------
  165.  
  166. Build complete.
  167. Don't forget to run 'make test'.
  168.  
  169. vagrant@precise32:/vagrant/phpkafka$ sudo make install
  170. Installing shared extensions:     /usr/lib/php5/20100525+lfs/
  171.  
  172. vagrant@precise32:/vagrant/phpkafka$ make
  173. /bin/bash /vagrant/phpkafka/libtool --mode=compile cc -I/vagrant/phpkafka/librdk
  174. afka -I. -I/vagrant/phpkafka -DPHP_ATOM_INC -I/vagrant/phpkafka/include -I/vagra
  175. nt/phpkafka/main -I/vagrant/phpkafka -I/usr/include/php5 -I/usr/include/php5/mai
  176. n -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/u
  177. sr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -DHAVE_
  178. CONFIG_H  -g -O2   -c /vagrant/phpkafka/kafka.c -o kafka.lo
  179. libtool: compile:  cc -I/vagrant/phpkafka/librdkafka -I. -I/vagrant/phpkafka -DP
  180. HP_ATOM_INC -I/vagrant/phpkafka/include -I/vagrant/phpkafka/main -I/vagrant/phpk
  181. afka -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/us
  182. r/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_
  183. LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /vagrant/phpka
  184. fka/kafka.c  -fPIC -DPIC -o .libs/kafka.o
  185. /bin/bash /vagrant/phpkafka/libtool --mode=link cc -DPHP_ATOM_INC -I/vagrant/php
  186. kafka/include -I/vagrant/phpkafka/main -I/vagrant/phpkafka -I/usr/include/php5 -
  187. I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr
  188. /include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_O
  189. FFSET_BITS=64  -DHAVE_CONFIG_H  -g -O2   -o kafka.la -export-dynamic -avoid-vers
  190. ion -prefer-pic -module -rpath /vagrant/phpkafka/modules  kafka.lo librdkafka/rd
  191. .lo librdkafka/rdaddr.lo librdkafka/rdcrc32.lo librdkafka/rdgz.lo librdkafka/rdk
  192. afka.lo librdkafka/rdkafka_broker.lo librdkafka/rdkafka_defaultconf.lo librdkafk
  193. a/rdkafka_msg.lo librdkafka/rdkafka_topic.lo librdkafka/rdlog.lo librdkafka/rdqu
  194. eue.lo librdkafka/rdrand.lo librdkafka/rdthread.lo librdkafka/snappy.lo
  195. libtool: link: cc -shared  -fPIC -DPIC  .libs/kafka.o librdkafka/.libs/rd.o libr
  196. dkafka/.libs/rdaddr.o librdkafka/.libs/rdcrc32.o librdkafka/.libs/rdgz.o librdka
  197. fka/.libs/rdkafka.o librdkafka/.libs/rdkafka_broker.o librdkafka/.libs/rdkafka_d
  198. efaultconf.o librdkafka/.libs/rdkafka_msg.o librdkafka/.libs/rdkafka_topic.o lib
  199. rdkafka/.libs/rdlog.o librdkafka/.libs/rdqueue.o librdkafka/.libs/rdrand.o librd
  200. kafka/.libs/rdthread.o librdkafka/.libs/snappy.o    -O2   -Wl,-soname -Wl,kafka.
  201. so -o .libs/kafka.so
  202. libtool: link: ( cd ".libs" && rm -f "kafka.la" && cp -p "../kafka.la" "kafka.la
  203. " )
  204. /bin/bash /vagrant/phpkafka/libtool --mode=install cp ./kafka.la /vagrant/phpkaf
  205. ka/modules
  206. libtool: install: cp ./.libs/kafka.so /vagrant/phpkafka/modules/kafka.so
  207. libtool: install: cp ./.libs/kafka.lai /vagrant/phpkafka/modules/kafka.la
  208. libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/
  209. bin:/usr/games:/opt/vagrant_ruby/bin:/sbin" ldconfig -n /vagrant/phpkafka/module
  210. s
  211. ----------------------------------------------------------------------
  212. Libraries have been installed in:
  213.   /vagrant/phpkafka/modules
  214.  
  215. If you ever happen to want to link against installed libraries
  216. in a given directory, LIBDIR, you must either use libtool, and
  217. specify the full pathname of the library, or use the `-LLIBDIR'
  218. flag during linking and do at least one of the following:
  219.    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
  220.     during execution
  221.   - add LIBDIR to the `LD_RUN_PATH' environment variable
  222.      during linking
  223.    - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
  224.   - have your system administrator add LIBDIR to `/etc/ld.so.conf'
  225.  
  226. See any operating system documentation about shared libraries for
  227. more information, such as the ld(1) and ld.so(8) manual pages.
  228. ----------------------------------------------------------------------
  229.  
  230. Build complete.
  231. Don't forget to run 'make test'.
  232.  
  233. vagrant@precise32:/vagrant/phpkafka$ sudo make install
  234. Installing shared extensions:     /usr/lib/php5/20100525+lfs/
  235.  
  236. vagrant@precise32:/vagrant/phpkafka$ php -v
  237. PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/2010052
  238. 5+lfs/kafka.so' - /usr/lib/php5/20100525+lfs/kafka.so: undefined symbol: snappy_
  239. compress_iov in Unknown on line 0
  240. PHP 5.4.23-1+sury.org~precise+1 (cli) (built: Dec 12 2013 09:28:04)
  241. Copyright (c) 1997-2013 The PHP Group
  242. Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
  243.    with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement