Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vagrant@precise32:/vagrant/phpkafka$ phpize
- Configuring for:
- PHP Api Version: 20100412
- Zend Module Api No: 20100525
- Zend Extension Api No: 220100525
- vagrant@precise32:/vagrant/phpkafka$ ./configure --enable-kafka
- checking for grep that handles long lines and -e... /bin/grep
- checking for egrep... /bin/grep -E
- checking for a sed that does not truncate output... /bin/sed
- checking for cc... cc
- checking whether the C compiler works... yes
- checking for C compiler default output file name... a.out
- checking for suffix of executables...
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether cc accepts -g... yes
- checking for cc option to accept ISO C89... none needed
- checking how to run the C preprocessor... cc -E
- checking for icc... no
- checking for suncc... no
- checking whether cc understands -c and -o together... yes
- checking for system library directory... lib
- checking if compiler supports -R... no
- checking if compiler supports -Wl,-rpath,... yes
- checking build system type... i686-pc-linux-gnu
- checking host system type... i686-pc-linux-gnu
- checking target system type... i686-pc-linux-gnu
- checking for PHP prefix... /usr
- checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr
- /include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/inclu
- de/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
- checking for PHP extension directory... /usr/lib/php5/20100525+lfs
- checking for PHP installed headers prefix... /usr/include/php5
- checking if debug is enabled... no
- checking if zts is enabled... no
- checking for re2c... no
- configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate
- PHP parsers.
- checking for gawk... no
- checking for nawk... nawk
- checking if nawk is broken... no
- checking Whether to enable the "kafka" extension... yes, shared
- checking how to print strings... printf
- checking for a sed that does not truncate output... (cached) /bin/sed
- checking for fgrep... /bin/grep -F
- checking for ld used by cc... /usr/bin/ld
- checking if the linker (/usr/bin/ld) is GNU ld... yes
- checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
- checking the name lister (/usr/bin/nm -B) interface... BSD nm
- checking whether ln -s works... no, using cp -p
- checking the maximum length of command line arguments... 1572864
- checking whether the shell understands some XSI constructs... yes
- checking whether the shell understands "+="... yes
- checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format
- ... func_convert_file_noop
- checking how to convert i686-pc-linux-gnu file names to toolchain format... func
- _convert_file_noop
- checking for /usr/bin/ld option to reload object files... -r
- checking for objdump... objdump
- checking how to recognize dependent libraries... pass_all
- checking for dlltool... no
- checking how to associate runtime and link libraries... printf %s\n
- checking for ar... ar
- checking for archiver @FILE support... rm: cannot remove `conftest.o': Protocol
- error
- rm: cannot remove `conftest.o': Protocol error
- @
- checking for strip... strip
- checking for ranlib... ranlib
- checking for gawk... (cached) nawk
- checking command to parse /usr/bin/nm -B output from cc object... rm: cannot rem
- ove `conftest.o': Protocol error
- ok
- checking for sysroot... no
- checking for mt... mt
- checking if mt is a manifest tool... no
- checking for ANSI C header files... yes
- checking for sys/types.h... yes
- checking for sys/stat.h... yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for memory.h... yes
- checking for strings.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... yes
- checking for unistd.h... yes
- checking for dlfcn.h... yes
- checking for objdir... .libs
- checking if cc supports -fno-rtti -fno-exceptions... no
- checking for cc option to produce PIC... -fPIC -DPIC
- checking if cc PIC flag -fPIC -DPIC works... yes
- checking if cc static flag -static works... yes
- checking if cc supports -c -o file.o... yes
- checking if cc supports -c -o file.o... (cached) yes
- checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
- checking whether -lc should be explicitly linked in... no
- checking dynamic linker characteristics... GNU/Linux ld.so
- checking how to hardcode library paths into programs... immediate
- checking whether stripping libraries is possible... yes
- checking if libtool supports shared libraries... yes
- checking whether to build shared libraries... yes
- checking whether to build static libraries... no
- configure: creating ./config.status
- config.status: creating config.h
- config.status: executing libtool commands
- vagrant@precise32:/vagrant/phpkafka$ make
- /bin/bash /vagrant/phpkafka/libtool --mode=compile cc -I/vagrant/phpkafka/librdk
- afka -I. -I/vagrant/phpkafka -DPHP_ATOM_INC -I/vagrant/phpkafka/include -I/vagra
- nt/phpkafka/main -I/vagrant/phpkafka -I/usr/include/php5 -I/usr/include/php5/mai
- n -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/u
- sr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_
- CONFIG_H -g -O2 -c /vagrant/phpkafka/kafka.c -o kafka.lo
- libtool: compile: cc -I/vagrant/phpkafka/librdkafka -I. -I/vagrant/phpkafka -DP
- HP_ATOM_INC -I/vagrant/phpkafka/include -I/vagrant/phpkafka/main -I/vagrant/phpk
- afka -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/us
- r/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_
- LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /vagrant/phpka
- fka/kafka.c -fPIC -DPIC -o .libs/kafka.o
- /bin/bash /vagrant/phpkafka/libtool --mode=link cc -DPHP_ATOM_INC -I/vagrant/php
- kafka/include -I/vagrant/phpkafka/main -I/vagrant/phpkafka -I/usr/include/php5 -
- I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr
- /include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_O
- FFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -o kafka.la -export-dynamic -avoid-vers
- ion -prefer-pic -module -rpath /vagrant/phpkafka/modules kafka.lo librdkafka/rd
- .lo librdkafka/rdaddr.lo librdkafka/rdcrc32.lo librdkafka/rdgz.lo librdkafka/rdk
- afka.lo librdkafka/rdkafka_broker.lo librdkafka/rdkafka_defaultconf.lo librdkafk
- a/rdkafka_msg.lo librdkafka/rdkafka_topic.lo librdkafka/rdlog.lo librdkafka/rdqu
- eue.lo librdkafka/rdrand.lo librdkafka/rdthread.lo librdkafka/snappy.lo
- libtool: link: cc -shared -fPIC -DPIC .libs/kafka.o librdkafka/.libs/rd.o libr
- dkafka/.libs/rdaddr.o librdkafka/.libs/rdcrc32.o librdkafka/.libs/rdgz.o librdka
- fka/.libs/rdkafka.o librdkafka/.libs/rdkafka_broker.o librdkafka/.libs/rdkafka_d
- efaultconf.o librdkafka/.libs/rdkafka_msg.o librdkafka/.libs/rdkafka_topic.o lib
- rdkafka/.libs/rdlog.o librdkafka/.libs/rdqueue.o librdkafka/.libs/rdrand.o librd
- kafka/.libs/rdthread.o librdkafka/.libs/snappy.o -O2 -Wl,-soname -Wl,kafka.
- so -o .libs/kafka.so
- libtool: link: ( cd ".libs" && rm -f "kafka.la" && cp -p "../kafka.la" "kafka.la
- " )
- /bin/bash /vagrant/phpkafka/libtool --mode=install cp ./kafka.la /vagrant/phpkaf
- ka/modules
- libtool: install: cp ./.libs/kafka.so /vagrant/phpkafka/modules/kafka.so
- libtool: install: cp ./.libs/kafka.lai /vagrant/phpkafka/modules/kafka.la
- libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/
- bin:/usr/games:/opt/vagrant_ruby/bin:/sbin" ldconfig -n /vagrant/phpkafka/module
- s
- ----------------------------------------------------------------------
- Libraries have been installed in:
- /vagrant/phpkafka/modules
- If you ever happen to want to link against installed libraries
- in a given directory, LIBDIR, you must either use libtool, and
- specify the full pathname of the library, or use the `-LLIBDIR'
- flag during linking and do at least one of the following:
- - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
- during execution
- - add LIBDIR to the `LD_RUN_PATH' environment variable
- during linking
- - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- - have your system administrator add LIBDIR to `/etc/ld.so.conf'
- See any operating system documentation about shared libraries for
- more information, such as the ld(1) and ld.so(8) manual pages.
- ----------------------------------------------------------------------
- Build complete.
- Don't forget to run 'make test'.
- vagrant@precise32:/vagrant/phpkafka$ sudo make install
- Installing shared extensions: /usr/lib/php5/20100525+lfs/
- vagrant@precise32:/vagrant/phpkafka$ make
- /bin/bash /vagrant/phpkafka/libtool --mode=compile cc -I/vagrant/phpkafka/librdk
- afka -I. -I/vagrant/phpkafka -DPHP_ATOM_INC -I/vagrant/phpkafka/include -I/vagra
- nt/phpkafka/main -I/vagrant/phpkafka -I/usr/include/php5 -I/usr/include/php5/mai
- n -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/u
- sr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_
- CONFIG_H -g -O2 -c /vagrant/phpkafka/kafka.c -o kafka.lo
- libtool: compile: cc -I/vagrant/phpkafka/librdkafka -I. -I/vagrant/phpkafka -DP
- HP_ATOM_INC -I/vagrant/phpkafka/include -I/vagrant/phpkafka/main -I/vagrant/phpk
- afka -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/us
- r/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_
- LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c /vagrant/phpka
- fka/kafka.c -fPIC -DPIC -o .libs/kafka.o
- /bin/bash /vagrant/phpkafka/libtool --mode=link cc -DPHP_ATOM_INC -I/vagrant/php
- kafka/include -I/vagrant/phpkafka/main -I/vagrant/phpkafka -I/usr/include/php5 -
- I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr
- /include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_O
- FFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -o kafka.la -export-dynamic -avoid-vers
- ion -prefer-pic -module -rpath /vagrant/phpkafka/modules kafka.lo librdkafka/rd
- .lo librdkafka/rdaddr.lo librdkafka/rdcrc32.lo librdkafka/rdgz.lo librdkafka/rdk
- afka.lo librdkafka/rdkafka_broker.lo librdkafka/rdkafka_defaultconf.lo librdkafk
- a/rdkafka_msg.lo librdkafka/rdkafka_topic.lo librdkafka/rdlog.lo librdkafka/rdqu
- eue.lo librdkafka/rdrand.lo librdkafka/rdthread.lo librdkafka/snappy.lo
- libtool: link: cc -shared -fPIC -DPIC .libs/kafka.o librdkafka/.libs/rd.o libr
- dkafka/.libs/rdaddr.o librdkafka/.libs/rdcrc32.o librdkafka/.libs/rdgz.o librdka
- fka/.libs/rdkafka.o librdkafka/.libs/rdkafka_broker.o librdkafka/.libs/rdkafka_d
- efaultconf.o librdkafka/.libs/rdkafka_msg.o librdkafka/.libs/rdkafka_topic.o lib
- rdkafka/.libs/rdlog.o librdkafka/.libs/rdqueue.o librdkafka/.libs/rdrand.o librd
- kafka/.libs/rdthread.o librdkafka/.libs/snappy.o -O2 -Wl,-soname -Wl,kafka.
- so -o .libs/kafka.so
- libtool: link: ( cd ".libs" && rm -f "kafka.la" && cp -p "../kafka.la" "kafka.la
- " )
- /bin/bash /vagrant/phpkafka/libtool --mode=install cp ./kafka.la /vagrant/phpkaf
- ka/modules
- libtool: install: cp ./.libs/kafka.so /vagrant/phpkafka/modules/kafka.so
- libtool: install: cp ./.libs/kafka.lai /vagrant/phpkafka/modules/kafka.la
- libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/
- bin:/usr/games:/opt/vagrant_ruby/bin:/sbin" ldconfig -n /vagrant/phpkafka/module
- s
- ----------------------------------------------------------------------
- Libraries have been installed in:
- /vagrant/phpkafka/modules
- If you ever happen to want to link against installed libraries
- in a given directory, LIBDIR, you must either use libtool, and
- specify the full pathname of the library, or use the `-LLIBDIR'
- flag during linking and do at least one of the following:
- - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
- during execution
- - add LIBDIR to the `LD_RUN_PATH' environment variable
- during linking
- - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- - have your system administrator add LIBDIR to `/etc/ld.so.conf'
- See any operating system documentation about shared libraries for
- more information, such as the ld(1) and ld.so(8) manual pages.
- ----------------------------------------------------------------------
- Build complete.
- Don't forget to run 'make test'.
- vagrant@precise32:/vagrant/phpkafka$ sudo make install
- Installing shared extensions: /usr/lib/php5/20100525+lfs/
- vagrant@precise32:/vagrant/phpkafka$ php -v
- PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/2010052
- 5+lfs/kafka.so' - /usr/lib/php5/20100525+lfs/kafka.so: undefined symbol: snappy_
- compress_iov in Unknown on line 0
- PHP 5.4.23-1+sury.org~precise+1 (cli) (built: Dec 12 2013 09:28:04)
- Copyright (c) 1997-2013 The PHP Group
- Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
- with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement