You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing using sudo pecl install zookeeper-0.3.1 I get the following trace for compilation:
Starting to download zookeeper-0.3.1.tgz (24,087 bytes)
........done: 24,087 bytes
11 source files, building
running: phpize
Configuring for:
PHP Api Version: 20131106
Zend Module Api No: 20131226
Zend Extension Api No: 220131226
building in /private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1
running: /private/tmp/pear/temp/zookeeper/configure
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/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... x86_64-apple-darwin15.4.0
checking host system type... x86_64-apple-darwin15.4.0
checking target system type... x86_64-apple-darwin15.4.0
checking for PHP prefix... /usr/local/php5
checking for PHP includes... -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/php5/lib/php/extensions/no-debug-non-zts-20131226
checking for PHP installed headers prefix... /usr/local/php5/include/php
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... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable zookeeper support... yes, shared
checking whether to enable zookeeper session handler support... yes
checking for libzookeeper... yes, shared
checking for libzookeeper location... /usr/local
checking whether zookeeper session handler is enabled... enabled
checking for session includes... /usr/local/php5/include/php
checking for ld used by cc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.4.0 dyld
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
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/libtool --mode=compile cc -I/usr/local/php5/include/php -I. -I/private/tmp/pear/temp/zookeeper -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/include -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/main -I/private/tmp/pear/temp/zookeeper -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -I/usr/local/include/zookeeper -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/zookeeper/php_zookeeper.c -o php_zookeeper.lo
mkdir .libs
cc -I/usr/local/php5/include/php -I. -I/private/tmp/pear/temp/zookeeper -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/include -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/main -I/private/tmp/pear/temp/zookeeper -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -I/usr/local/include/zookeeper -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/zookeeper/php_zookeeper.c -fno-common -DPIC -o .libs/php_zookeeper.o
/bin/sh /private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/libtool --mode=compile cc -I/usr/local/php5/include/php -I. -I/private/tmp/pear/temp/zookeeper -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/include -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/main -I/private/tmp/pear/temp/zookeeper -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -I/usr/local/include/zookeeper -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/zookeeper/zoo_lock.c -o zoo_lock.lo
cc -I/usr/local/php5/include/php -I. -I/private/tmp/pear/temp/zookeeper -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/include -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/main -I/private/tmp/pear/temp/zookeeper -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -I/usr/local/include/zookeeper -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/zookeeper/zoo_lock.c -fno-common -DPIC -o .libs/zoo_lock.o
/private/tmp/pear/temp/zookeeper/zoo_lock.c:260:43: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
snprintf(prefix, 30, "x-%016lx-", session);
~~~~~~ ^~~~~~~
%016llx
/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
1 warning generated.
/bin/sh /private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/libtool --mode=compile cc -I/usr/local/php5/include/php -I. -I/private/tmp/pear/temp/zookeeper -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/include -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/main -I/private/tmp/pear/temp/zookeeper -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -I/usr/local/include/zookeeper -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/zookeeper/php_zookeeper_session.c -o php_zookeeper_session.lo
cc -I/usr/local/php5/include/php -I. -I/private/tmp/pear/temp/zookeeper -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/include -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/main -I/private/tmp/pear/temp/zookeeper -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -I/usr/local/include/zookeeper -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/zookeeper/php_zookeeper_session.c -fno-common -DPIC -o .libs/php_zookeeper_session.o
/bin/sh /private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/libtool --mode=compile cc -I/usr/local/php5/include/php -I. -I/private/tmp/pear/temp/zookeeper -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/include -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/main -I/private/tmp/pear/temp/zookeeper -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -I/usr/local/include/zookeeper -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/zookeeper/php_zookeeper_exceptions.c -o php_zookeeper_exceptions.lo
cc -I/usr/local/php5/include/php -I. -I/private/tmp/pear/temp/zookeeper -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/include -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/main -I/private/tmp/pear/temp/zookeeper -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -I/usr/local/include/zookeeper -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/zookeeper/php_zookeeper_exceptions.c -fno-common -DPIC -o .libs/php_zookeeper_exceptions.o
/bin/sh /private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/libtool --mode=link cc -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/include -I/private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/main -I/private/tmp/pear/temp/zookeeper -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -I/usr/local/include/zookeeper -DHAVE_CONFIG_H -g -O2 -o zookeeper.la -export-dynamic -avoid-version -prefer-pic -module -rpath /private/tmp/pear/temp/pear-build-rootJVDCyH/zookeeper-0.3.1/modules php_zookeeper.lo zoo_lock.lo php_zookeeper_session.lo php_zookeeper_exceptions.lo -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lzookeeper_mt
cc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/zookeeper.so -bundle .libs/php_zookeeper.o .libs/zoo_lock.o .libs/php_zookeeper_session.o .libs/php_zookeeper_exceptions.o -L/usr/local/lib -lzookeeper_mt -Wl,-rpath -Wl,/usr/local/lib
duplicate symbol _zk_optimeout_exception in:
.libs/php_zookeeper.o
.libs/php_zookeeper_exceptions.o
duplicate symbol _zk_connection_exception in:
.libs/php_zookeeper.o
.libs/php_zookeeper_exceptions.o
duplicate symbol _zk_session_exception in:
.libs/php_zookeeper.o
.libs/php_zookeeper_exceptions.o
duplicate symbol _zk_auth_exception in:
.libs/php_zookeeper.o
.libs/php_zookeeper_exceptions.o
duplicate symbol _zk_marshalling_exception in:
.libs/php_zookeeper.o
.libs/php_zookeeper_exceptions.o
duplicate symbol _zk_base_exception in:
.libs/php_zookeeper.o
.libs/php_zookeeper_exceptions.o
duplicate symbol _zk_nonode_exception in:
.libs/php_zookeeper.o
.libs/php_zookeeper_exceptions.o
ld: 7 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [zookeeper.la] Error 1
ERROR: `make' failed
Do you know about this error?
Thanks
The text was updated successfully, but these errors were encountered:
When installing using
sudo pecl install zookeeper-0.3.1
I get the following trace for compilation:Do you know about this error?
Thanks
The text was updated successfully, but these errors were encountered: