error on make
Hi, i'm trying to instal membase-server-community_1.6.5.4_src, on opensuse 11.4, i've followed all the instructions from this page http://www.couchbase.org/wiki/display/membase/Building+on+Linux+from+source for Redhat/Centos/Fedora (>= 5.2), but when i run 'make', i got this:
make
make COMPONENT=memcached memcached.stamp_test
make[1]: Entering directory `/home/silvia/qp4-install/work/membase-server-community_1.6.5.4_src'
make[1]: Leaving directory `/home/silvia/qp4-install/work/membase-server-community_1.6.5.4_src'
memcached.stamp
make EXE= BUILDPREFIX=/tmp/membase-build GITBASE=git://github.com/membase \
COMPONENT=memcached \
COMPONENT_OUT=memcached \
COMPONENT_GIT_CHECKOUT=engine \
COMPONENT_CONFIGURE_FLAGS="--without-sasl \
--enable-isasl \
" \
memcached/memcached
make[1]: Entering directory `/home/silvia/qp4-install/work/membase-server-community_1.6.5.4_src'
memcached.stamp
make[2]: Entering directory `/home/silvia/qp4-install/work/membase-server-community_1.6.5.4_src/memcached'
make all-am
make[3]: Entering directory `/home/silvia/qp4-install/work/membase-server-community_1.6.5.4_src/memcached'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-memcached.o -MD -MP -MF .deps/memcached-memcached.Tpo -c -o memcached-memcached.o `test -f 'memcached.c' || echo './'`memcached.c
cc1: warnings being treated as errors
memcached.c: In function ‘try_read_command’:
memcached.c:3517:13: error: array subscript is above array bounds
memcached.c:3517:13: error: array subscript is above array bounds
memcached.c:3521:18: error: array subscript is above array bounds
memcached.c:3521:18: error: array subscript is above array bounds
memcached.c:3521:18: error: array subscript is above array bounds
make[3]: *** [memcached-memcached.o] Error 1
make[3]: Leaving directory `/home/silvia/qp4-install/work/membase-server-community_1.6.5.4_src/memcached'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/silvia/qp4-install/work/membase-server-community_1.6.5.4_src/memcached'
make[1]: *** [memcached/memcached] Error 2
make[1]: Leaving directory `/home/silvia/qp4-install/work/membase-server-community_1.6.5.4_src'
make: *** [/tmp/membase-build/bin/memcached] Error 2
any idea of what can i do?
Hi, thanks for your answear, i've tried to install membase-server_src-1.7-rc1.tar.gz, but i keep getting the error. Here is the entire log:
make
cd memcached && ./configure --prefix=/home/silvia/qp4-install/work/membase-server_src/install --enable-isasl
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/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... yes
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 for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
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 gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) 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
checking for icc in use... no
checking for gcc option to accept ISO C99... -std=gnu99
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether byte ordering is bigendian... no
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking for dlfcn.h... (cached) yes
checking for inttypes.h... (cached) yes
checking umem.h usability... no
checking umem.h presence... no
checking for umem.h... no
checking priv.h usability... no
checking priv.h presence... no
checking for priv.h... no
checking sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for unistd.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking for sys/stat.h... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for library containing clock_gettime... -lrt
checking for bundled libevent... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc needs -traditional... no
checking whether we need extra flags to make libc reentrant... no
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/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 the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
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... no
checking whether to build static libraries... yes
checking for socket in -lsocket... no
checking for inet_aton in -lresolv... yes
checking for clock_gettime in -lrt... yes
checking for inet_ntoa in -lnsl... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for unistd.h... (cached) yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/devpoll.h usability... no
checking sys/devpoll.h presence... no
checking for sys/devpoll.h... no
checking port.h usability... no
checking port.h presence... no
checking for port.h... no
checking netinet/in6.h usability... no
checking netinet/in6.h presence... no
checking for netinet/in6.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for TAILQ_FOREACH in sys/queue.h... yes
checking for timeradd in sys/time.h... yes
checking for timercmp in sys/time.h... yes
checking for timerclear in sys/time.h... yes
checking for timerisset in sys/time.h... yes
checking for WIN32... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking for gettimeofday... yes
checking for vasprintf... yes
checking for fcntl... yes
checking for clock_gettime... yes
checking for strtok_r... yes
checking for strsep... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for strlcpy... no
checking for inet_ntop... yes
checking for signal... yes
checking for sigaction... yes
checking for strtoll... yes
checking for issetugid... no
checking for geteuid... yes
checking for getegid... yes
checking size of long... 8
checking for F_SETFD in fcntl.h... yes
checking for select... yes
checking for poll... yes
checking for epoll_ctl... yes
checking for port_create... no
checking for pid_t... yes
checking for size_t... yes
checking for uint64_t... yes
checking for uint32_t... yes
checking for uint16_t... yes
checking for uint8_t... yes
checking for fd_mask... yes
checking size of long long... 8
checking size of int... 4
checking size of short... 2
checking for struct in6_addr... yes
checking for socklen_t... yes
checking whether our compiler supports __func__... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating test/Makefile
config.status: creating sample/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for library containing umem_cache_create... no
checking for library containing gethugepagesizes... no
checking for library containing dlopen... -ldl
checking for library containing log... -lm
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for print macros for integers (C99 section 7.8.1)... yes
checking for an ANSI C-conforming const... yes
checking for socklen_t... yes
checking for htonll... no
checking for library containing pthread_create... none required
checking for mlockall... yes
checking for getpagesizes... no
checking for memcntl... no
checking for sigignore... yes
checking for alignment... need
checking for setppriv... no
checking for dot... /usr/bin/dot
checking for doxygen... doxygen
checking for perl... /usr/bin/perl
checking for python... /usr/bin/python
configure: creating ./config.status
config.status: creating t/binary-sasl.t
config.status: creating Makefile
config.status: creating config/Doxyfile
config.status: creating config/Doxyfile-api
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
(rm -rf tmp/memcached; mkdir -p tmp/memcached)
make -C memcached install
make[1]: Entering directory `/home/silvia/qp4-install/work/membase-server_src/memcached'
make install-am
make[2]: Entering directory `/home/silvia/qp4-install/work/membase-server_src/memcached'
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./utilities -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT libmemcached_utilities_la-config_parser.lo -MD -MP -MF .deps/libmemcached_utilities_la-config_parser.Tpo -c -o libmemcached_utilities_la-config_parser.lo `test -f 'utilities/config_parser.c' || echo './'`utilities/config_parser.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./utilities -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT libmemcached_utilities_la-config_parser.lo -MD -MP -MF .deps/libmemcached_utilities_la-config_parser.Tpo -c utilities/config_parser.c -fPIC -DPIC -o .libs/libmemcached_utilities_la-config_parser.o
mv -f .deps/libmemcached_utilities_la-config_parser.Tpo .deps/libmemcached_utilities_la-config_parser.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./utilities -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT libmemcached_utilities_la-engine_loader.lo -MD -MP -MF .deps/libmemcached_utilities_la-engine_loader.Tpo -c -o libmemcached_utilities_la-engine_loader.lo `test -f 'utilities/engine_loader.c' || echo './'`utilities/engine_loader.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./utilities -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT libmemcached_utilities_la-engine_loader.lo -MD -MP -MF .deps/libmemcached_utilities_la-engine_loader.Tpo -c utilities/engine_loader.c -fPIC -DPIC -o .libs/libmemcached_utilities_la-engine_loader.o
mv -f .deps/libmemcached_utilities_la-engine_loader.Tpo .deps/libmemcached_utilities_la-engine_loader.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./utilities -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT libmemcached_utilities_la-extension_loggers.lo -MD -MP -MF .deps/libmemcached_utilities_la-extension_loggers.Tpo -c -o libmemcached_utilities_la-extension_loggers.lo `test -f 'utilities/extension_loggers.c' || echo './'`utilities/extension_loggers.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./utilities -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT libmemcached_utilities_la-extension_loggers.lo -MD -MP -MF .deps/libmemcached_utilities_la-extension_loggers.Tpo -c utilities/extension_loggers.c -fPIC -DPIC -o .libs/libmemcached_utilities_la-extension_loggers.o
mv -f .deps/libmemcached_utilities_la-extension_loggers.Tpo .deps/libmemcached_utilities_la-extension_loggers.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./utilities -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT libmemcached_utilities_la-genhash.lo -MD -MP -MF .deps/libmemcached_utilities_la-genhash.Tpo -c -o libmemcached_utilities_la-genhash.lo `test -f 'utilities/genhash.c' || echo './'`utilities/genhash.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./utilities -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT libmemcached_utilities_la-genhash.lo -MD -MP -MF .deps/libmemcached_utilities_la-genhash.Tpo -c utilities/genhash.c -fPIC -DPIC -o .libs/libmemcached_utilities_la-genhash.o
mv -f .deps/libmemcached_utilities_la-genhash.Tpo .deps/libmemcached_utilities_la-genhash.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./utilities -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT libmemcached_utilities_la-util.lo -MD -MP -MF .deps/libmemcached_utilities_la-util.Tpo -c -o libmemcached_utilities_la-util.lo `test -f 'utilities/util.c' || echo './'`utilities/util.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./utilities -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT libmemcached_utilities_la-util.lo -MD -MP -MF .deps/libmemcached_utilities_la-util.Tpo -c utilities/util.c -fPIC -DPIC -o .libs/libmemcached_utilities_la-util.o
mv -f .deps/libmemcached_utilities_la-util.Tpo .deps/libmemcached_utilities_la-util.Plo
(cd ./libevent && make)
make[3]: Entering directory `/home/silvia/qp4-install/work/membase-server_src/memcached/libevent'
echo '/* event-config.h' > event-config.h
echo ' * Generated by autoconf; post-processed by libevent.' >> event-config.h
echo ' * Do not edit this file.' >> event-config.h
echo ' * Do not rely on macros in this file existing in later versions.'>> event-config.h
echo ' */' >> event-config.h
echo '#ifndef _EVENT_CONFIG_H_' >> event-config.h
echo '#define _EVENT_CONFIG_H_' >> event-config.h
sed -e 's/#define /#define _EVENT_/' \
-e 's/#undef /#undef _EVENT_/' \
-e 's/#ifndef /#ifndef _EVENT_/' < config.h >> event-config.h
echo "#endif" >> event-config.h
make all-recursive
make[4]: Entering directory `/home/silvia/qp4-install/work/membase-server_src/memcached/libevent'
Making all in .
make[5]: Entering directory `/home/silvia/qp4-install/work/membase-server_src/memcached/libevent'
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c -o event.lo event.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c event.c -o event.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c -o buffer.lo buffer.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c buffer.c -o buffer.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c -o evbuffer.lo evbuffer.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c evbuffer.c -o evbuffer.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c -o log.lo log.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c log.c -o log.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c -o evutil.lo evutil.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c evutil.c -o evutil.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c -o event_tagging.lo event_tagging.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c event_tagging.c -o event_tagging.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c -o http.lo http.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c http.c -o http.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c -o evdns.lo evdns.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c evdns.c -o evdns.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c -o evrpc.lo evrpc.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c evrpc.c -o evrpc.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c -o strlcpy.lo strlcpy.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c strlcpy.c -o strlcpy.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c -o select.lo select.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c select.c -o select.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c -o poll.lo poll.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c poll.c -o poll.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c -o epoll.lo epoll.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c epoll.c -o epoll.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c -o signal.lo signal.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./compat -g -O2 -Wall -fno-strict-aliasing -c signal.c -o signal.o
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -Wall -fno-strict-aliasing -release 1.4 -version-info 4:0:2 -o libevent.la -rpath /usr/local/lib event.lo buffer.lo evbuffer.lo log.lo evutil.lo event_tagging.lo http.lo evdns.lo evrpc.lo strlcpy.lo select.lo poll.lo epoll.lo signal.lo -lnsl -lrt -lresolv
libtool: link: ar cru .libs/libevent.a event.o buffer.o evbuffer.o log.o evutil.o event_tagging.o http.o evdns.o evrpc.o strlcpy.o select.o poll.o epoll.o signal.o
libtool: link: ranlib .libs/libevent.a
libtool: link: ( cd ".libs" && rm -f "libevent.la" && ln -s "../libevent.la" "libevent.la" )
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -Wall -fno-strict-aliasing -release 1.4 -version-info 4:0:2 -o libevent_core.la -rpath /usr/local/lib event.lo buffer.lo evbuffer.lo log.lo evutil.lo select.lo poll.lo epoll.lo signal.lo -lnsl -lrt -lresolv
libtool: link: ar cru .libs/libevent_core.a event.o buffer.o evbuffer.o log.o evutil.o select.o poll.o epoll.o signal.o
libtool: link: ranlib .libs/libevent_core.a
libtool: link: ( cd ".libs" && rm -f "libevent_core.la" && ln -s "../libevent_core.la" "libevent_core.la" )
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -Wall -fno-strict-aliasing -release 1.4 -version-info 4:0:2 -o libevent_extra.la -rpath /usr/local/lib event_tagging.lo http.lo evdns.lo evrpc.lo strlcpy.lo select.lo poll.lo epoll.lo signal.lo -lnsl -lrt -lresolv
libtool: link: ar cru .libs/libevent_extra.a event_tagging.o http.o evdns.o evrpc.o strlcpy.o select.o poll.o epoll.o signal.o
libtool: link: ranlib .libs/libevent_extra.a
libtool: link: ( cd ".libs" && rm -f "libevent_extra.la" && ln -s "../libevent_extra.la" "libevent_extra.la" )
make[5]: Leaving directory `/home/silvia/qp4-install/work/membase-server_src/memcached/libevent'
Making all in sample
make[5]: Entering directory `/home/silvia/qp4-install/work/membase-server_src/memcached/libevent/sample'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -c event-test.c
/bin/sh ../libtool --tag=CC --mode=link gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o event-test event-test.o ../libevent.la -lnsl -lrt -lresolv
libtool: link: gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o event-test event-test.o ../.libs/libevent.a -lnsl -lrt -lresolv
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -c time-test.c
/bin/sh ../libtool --tag=CC --mode=link gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o time-test time-test.o ../libevent.la -lnsl -lrt -lresolv
libtool: link: gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o time-test time-test.o ../.libs/libevent.a -lnsl -lrt -lresolv
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -c signal-test.c
/bin/sh ../libtool --tag=CC --mode=link gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o signal-test signal-test.o ../libevent.la -lnsl -lrt -lresolv
libtool: link: gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o signal-test signal-test.o ../.libs/libevent.a -lnsl -lrt -lresolv
make[5]: Leaving directory `/home/silvia/qp4-install/work/membase-server_src/memcached/libevent/sample'
Making all in test
make[5]: Entering directory `/home/silvia/qp4-install/work/membase-server_src/memcached/libevent/test'
make all-am
make[6]: Entering directory `/home/silvia/qp4-install/work/membase-server_src/memcached/libevent/test'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -c test-init.c
/bin/sh ../libtool --tag=CC --mode=link gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o test-init test-init.o ../libevent_core.la -lnsl -lrt -lresolv
libtool: link: gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o test-init test-init.o ../.libs/libevent_core.a -lnsl -lrt -lresolv
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -c test-eof.c
/bin/sh ../libtool --tag=CC --mode=link gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o test-eof test-eof.o ../libevent_core.la -lnsl -lrt -lresolv
libtool: link: gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o test-eof test-eof.o ../.libs/libevent_core.a -lnsl -lrt -lresolv
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -c test-weof.c
/bin/sh ../libtool --tag=CC --mode=link gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o test-weof test-weof.o ../libevent_core.la -lnsl -lrt -lresolv
libtool: link: gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o test-weof test-weof.o ../.libs/libevent_core.a -lnsl -lrt -lresolv
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -c test-time.c
/bin/sh ../libtool --tag=CC --mode=link gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o test-time test-time.o ../libevent_core.la -lnsl -lrt -lresolv
libtool: link: gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o test-time test-time.o ../.libs/libevent_core.a -lnsl -lrt -lresolv
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -c regress.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -c regress_http.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -c regress_dns.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -c regress_rpc.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -c regress.gen.c
/bin/sh ../libtool --tag=CC --mode=link gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o regress regress.o regress_http.o regress_dns.o regress_rpc.o regress.gen.o ../libevent.la -lnsl -lrt -lresolv
libtool: link: gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o regress regress.o regress_http.o regress_dns.o regress_rpc.o regress.gen.o ../.libs/libevent.a -lnsl -lrt -lresolv
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -c bench.c
/bin/sh ../libtool --tag=CC --mode=link gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o bench bench.o ../libevent.la -lnsl -lrt -lresolv
libtool: link: gcc -I.. -I../compat -g -O2 -Wall -fno-strict-aliasing -o bench bench.o ../.libs/libevent.a -lnsl -lrt -lresolv
make[6]: Leaving directory `/home/silvia/qp4-install/work/membase-server_src/memcached/libevent/test'
make[5]: Leaving directory `/home/silvia/qp4-install/work/membase-server_src/memcached/libevent/test'
make[4]: Leaving directory `/home/silvia/qp4-install/work/membase-server_src/memcached/libevent'
make[3]: Leaving directory `/home/silvia/qp4-install/work/membase-server_src/memcached/libevent'
touch libevent.stamp
/bin/sh ./libtool --tag=CC --mode=link gcc -std=gnu99 -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -R '/home/silvia/qp4-install/work/membase-server_src/install/lib/memcached' -R '/home/silvia/qp4-install/work/membase-server_src/install/lib' -L./libevent/.libs -o libmemcached_utilities.la -rpath /home/silvia/qp4-install/work/membase-server_src/install/lib/memcached libmemcached_utilities_la-config_parser.lo libmemcached_utilities_la-engine_loader.lo libmemcached_utilities_la-extension_loggers.lo libmemcached_utilities_la-genhash.lo libmemcached_utilities_la-util.lo -lrt
libtool: link: gcc -shared .libs/libmemcached_utilities_la-config_parser.o .libs/libmemcached_utilities_la-engine_loader.o .libs/libmemcached_utilities_la-extension_loggers.o .libs/libmemcached_utilities_la-genhash.o .libs/libmemcached_utilities_la-util.o -Wl,-rpath -Wl,/home/silvia/qp4-install/work/membase-server_src/install/lib/memcached -Wl,-rpath -Wl,/home/silvia/qp4-install/work/membase-server_src/install/lib -L/home/silvia/qp4-install/work/membase-server_src/memcached/libevent/.libs -lrt -pthread -pthread -Wl,-soname -Wl,libmemcached_utilities.so.0 -o .libs/libmemcached_utilities.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libmemcached_utilities.so.0" && ln -s "libmemcached_utilities.so.0.0.0" "libmemcached_utilities.so.0")
libtool: link: (cd ".libs" && rm -f "libmemcached_utilities.so" && ln -s "libmemcached_utilities.so.0.0.0" "libmemcached_utilities.so")
libtool: link: ( cd ".libs" && rm -f "libmemcached_utilities.la" && ln -s "../libmemcached_utilities.la" "libmemcached_utilities.la" )
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./extensions -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT ascii_scrub_la-ascii_scrub.lo -MD -MP -MF .deps/ascii_scrub_la-ascii_scrub.Tpo -c -o ascii_scrub_la-ascii_scrub.lo `test -f 'extensions/protocol/ascii_scrub.c' || echo './'`extensions/protocol/ascii_scrub.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./extensions -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT ascii_scrub_la-ascii_scrub.lo -MD -MP -MF .deps/ascii_scrub_la-ascii_scrub.Tpo -c extensions/protocol/ascii_scrub.c -fPIC -DPIC -o .libs/ascii_scrub_la-ascii_scrub.o
mv -f .deps/ascii_scrub_la-ascii_scrub.Tpo .deps/ascii_scrub_la-ascii_scrub.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -std=gnu99 -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -avoid-version -shared -module -no-undefined -L./libevent/.libs -o ascii_scrub.la -rpath /home/silvia/qp4-install/work/membase-server_src/install/lib/memcached ascii_scrub_la-ascii_scrub.lo -lrt
libtool: link: gcc -shared .libs/ascii_scrub_la-ascii_scrub.o -L/home/silvia/qp4-install/work/membase-server_src/memcached/libevent/.libs -lrt -pthread -pthread -Wl,-soname -Wl,ascii_scrub.so -o .libs/ascii_scrub.so
libtool: link: ( cd ".libs" && rm -f "ascii_scrub.la" && ln -s "../ascii_scrub.la" "ascii_scrub.la" )
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT basic_engine_testsuite.lo -MD -MP -MF .deps/basic_engine_testsuite.Tpo -c -o basic_engine_testsuite.lo `test -f 'testsuite/basic_engine_testsuite.c' || echo './'`testsuite/basic_engine_testsuite.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT basic_engine_testsuite.lo -MD -MP -MF .deps/basic_engine_testsuite.Tpo -c testsuite/basic_engine_testsuite.c -fPIC -DPIC -o .libs/basic_engine_testsuite.o
mv -f .deps/basic_engine_testsuite.Tpo .deps/basic_engine_testsuite.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -std=gnu99 -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -avoid-version -shared -module -no-undefined -L./libevent/.libs -o basic_engine_testsuite.la -rpath /home/silvia/qp4-install/work/membase-server_src/install/lib/memcached basic_engine_testsuite.lo libmemcached_utilities.la -lm -lrt
libtool: link: gcc -shared .libs/basic_engine_testsuite.o -Wl,-rpath -Wl,/home/silvia/qp4-install/work/membase-server_src/memcached/.libs -Wl,-rpath -Wl,/home/silvia/qp4-install/work/membase-server_src/install/lib/memcached -L/home/silvia/qp4-install/work/membase-server_src/memcached/libevent/.libs ./.libs/libmemcached_utilities.so -lm -lrt -pthread -pthread -Wl,-soname -Wl,basic_engine_testsuite.so -o .libs/basic_engine_testsuite.so
libtool: link: ( cd ".libs" && rm -f "basic_engine_testsuite.la" && ln -s "../basic_engine_testsuite.la" "basic_engine_testsuite.la" )
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./engines/default_engine -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT default_engine_la-assoc.lo -MD -MP -MF .deps/default_engine_la-assoc.Tpo -c -o default_engine_la-assoc.lo `test -f 'engines/default_engine/assoc.c' || echo './'`engines/default_engine/assoc.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./engines/default_engine -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT default_engine_la-assoc.lo -MD -MP -MF .deps/default_engine_la-assoc.Tpo -c engines/default_engine/assoc.c -fPIC -DPIC -o .libs/default_engine_la-assoc.o
mv -f .deps/default_engine_la-assoc.Tpo .deps/default_engine_la-assoc.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./engines/default_engine -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT default_engine_la-default_engine.lo -MD -MP -MF .deps/default_engine_la-default_engine.Tpo -c -o default_engine_la-default_engine.lo `test -f 'engines/default_engine/default_engine.c' || echo './'`engines/default_engine/default_engine.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./engines/default_engine -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT default_engine_la-default_engine.lo -MD -MP -MF .deps/default_engine_la-default_engine.Tpo -c engines/default_engine/default_engine.c -fPIC -DPIC -o .libs/default_engine_la-default_engine.o
mv -f .deps/default_engine_la-default_engine.Tpo .deps/default_engine_la-default_engine.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./engines/default_engine -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT default_engine_la-items.lo -MD -MP -MF .deps/default_engine_la-items.Tpo -c -o default_engine_la-items.lo `test -f 'engines/default_engine/items.c' || echo './'`engines/default_engine/items.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./engines/default_engine -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT default_engine_la-items.lo -MD -MP -MF .deps/default_engine_la-items.Tpo -c engines/default_engine/items.c -fPIC -DPIC -o .libs/default_engine_la-items.o
mv -f .deps/default_engine_la-items.Tpo .deps/default_engine_la-items.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./engines/default_engine -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT default_engine_la-slabs.lo -MD -MP -MF .deps/default_engine_la-slabs.Tpo -c -o default_engine_la-slabs.lo `test -f 'engines/default_engine/slabs.c' || echo './'`engines/default_engine/slabs.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./engines/default_engine -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT default_engine_la-slabs.lo -MD -MP -MF .deps/default_engine_la-slabs.Tpo -c engines/default_engine/slabs.c -fPIC -DPIC -o .libs/default_engine_la-slabs.o
mv -f .deps/default_engine_la-slabs.Tpo .deps/default_engine_la-slabs.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -std=gnu99 -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -avoid-version -shared -module -no-undefined -L./libevent/.libs -o default_engine.la -rpath /home/silvia/qp4-install/work/membase-server_src/install/lib/memcached default_engine_la-assoc.lo default_engine_la-default_engine.lo default_engine_la-items.lo default_engine_la-slabs.lo libmemcached_utilities.la -lm -lrt
libtool: link: gcc -shared .libs/default_engine_la-assoc.o .libs/default_engine_la-default_engine.o .libs/default_engine_la-items.o .libs/default_engine_la-slabs.o -Wl,-rpath -Wl,/home/silvia/qp4-install/work/membase-server_src/memcached/.libs -Wl,-rpath -Wl,/home/silvia/qp4-install/work/membase-server_src/install/lib/memcached -L/home/silvia/qp4-install/work/membase-server_src/memcached/libevent/.libs ./.libs/libmemcached_utilities.so -lm -lrt -pthread -pthread -Wl,-soname -Wl,default_engine.so -o .libs/default_engine.so
libtool: link: ( cd ".libs" && rm -f "default_engine.la" && ln -s "../default_engine.la" "default_engine.la" )
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./extensions -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT example_protocol_la-example_protocol.lo -MD -MP -MF .deps/example_protocol_la-example_protocol.Tpo -c -o example_protocol_la-example_protocol.lo `test -f 'extensions/protocol/example_protocol.c' || echo './'`extensions/protocol/example_protocol.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./extensions -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT example_protocol_la-example_protocol.lo -MD -MP -MF .deps/example_protocol_la-example_protocol.Tpo -c extensions/protocol/example_protocol.c -fPIC -DPIC -o .libs/example_protocol_la-example_protocol.o
mv -f .deps/example_protocol_la-example_protocol.Tpo .deps/example_protocol_la-example_protocol.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -std=gnu99 -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -avoid-version -shared -module -no-undefined -L./libevent/.libs -o example_protocol.la -rpath /home/silvia/qp4-install/work/membase-server_src/install/lib/memcached example_protocol_la-example_protocol.lo -lrt
libtool: link: gcc -shared .libs/example_protocol_la-example_protocol.o -L/home/silvia/qp4-install/work/membase-server_src/memcached/libevent/.libs -lrt -pthread -pthread -Wl,-soname -Wl,example_protocol.so -o .libs/example_protocol.so
libtool: link: ( cd ".libs" && rm -f "example_protocol.la" && ln -s "../example_protocol.la" "example_protocol.la" )
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./extensions -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT blackhole_logger_la-blackhole_logger.lo -MD -MP -MF .deps/blackhole_logger_la-blackhole_logger.Tpo -c -o blackhole_logger_la-blackhole_logger.lo `test -f 'extensions/loggers/blackhole_logger.c' || echo './'`extensions/loggers/blackhole_logger.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./extensions -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT blackhole_logger_la-blackhole_logger.lo -MD -MP -MF .deps/blackhole_logger_la-blackhole_logger.Tpo -c extensions/loggers/blackhole_logger.c -fPIC -DPIC -o .libs/blackhole_logger_la-blackhole_logger.o
mv -f .deps/blackhole_logger_la-blackhole_logger.Tpo .deps/blackhole_logger_la-blackhole_logger.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -std=gnu99 -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -avoid-version -shared -module -no-undefined -L./libevent/.libs -o blackhole_logger.la -rpath /home/silvia/qp4-install/work/membase-server_src/install/lib/memcached blackhole_logger_la-blackhole_logger.lo -lrt
libtool: link: gcc -shared .libs/blackhole_logger_la-blackhole_logger.o -L/home/silvia/qp4-install/work/membase-server_src/memcached/libevent/.libs -lrt -pthread -pthread -Wl,-soname -Wl,blackhole_logger.so -o .libs/blackhole_logger.so
libtool: link: ( cd ".libs" && rm -f "blackhole_logger.la" && ln -s "../blackhole_logger.la" "blackhole_logger.la" )
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./extensions -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT stdin_term_handler_la-stdin_check.lo -MD -MP -MF .deps/stdin_term_handler_la-stdin_check.Tpo -c -o stdin_term_handler_la-stdin_check.lo `test -f 'extensions/daemon/stdin_check.c' || echo './'`extensions/daemon/stdin_check.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./extensions -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT stdin_term_handler_la-stdin_check.lo -MD -MP -MF .deps/stdin_term_handler_la-stdin_check.Tpo -c extensions/daemon/stdin_check.c -fPIC -DPIC -o .libs/stdin_term_handler_la-stdin_check.o
mv -f .deps/stdin_term_handler_la-stdin_check.Tpo .deps/stdin_term_handler_la-stdin_check.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -std=gnu99 -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -avoid-version -shared -module -no-undefined -L./libevent/.libs -o stdin_term_handler.la -rpath /home/silvia/qp4-install/work/membase-server_src/install/lib/memcached stdin_term_handler_la-stdin_check.lo -lrt
libtool: link: gcc -shared .libs/stdin_term_handler_la-stdin_check.o -L/home/silvia/qp4-install/work/membase-server_src/memcached/libevent/.libs -lrt -pthread -pthread -Wl,-soname -Wl,stdin_term_handler.so -o .libs/stdin_term_handler.so
libtool: link: ( cd ".libs" && rm -f "stdin_term_handler.la" && ln -s "../stdin_term_handler.la" "stdin_term_handler.la" )
/bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./extensions -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT syslog_logger_la-syslog_logger.lo -MD -MP -MF .deps/syslog_logger_la-syslog_logger.Tpo -c -o syslog_logger_la-syslog_logger.lo `test -f 'extensions/loggers/syslog_logger.c' || echo './'`extensions/loggers/syslog_logger.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./extensions -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT syslog_logger_la-syslog_logger.lo -MD -MP -MF .deps/syslog_logger_la-syslog_logger.Tpo -c extensions/loggers/syslog_logger.c -fPIC -DPIC -o .libs/syslog_logger_la-syslog_logger.o
mv -f .deps/syslog_logger_la-syslog_logger.Tpo .deps/syslog_logger_la-syslog_logger.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -std=gnu99 -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -avoid-version -shared -module -no-undefined -L./libevent/.libs -o syslog_logger.la -rpath /home/silvia/qp4-install/work/membase-server_src/install/lib/memcached syslog_logger_la-syslog_logger.lo -lrt
libtool: link: gcc -shared .libs/syslog_logger_la-syslog_logger.o -L/home/silvia/qp4-install/work/membase-server_src/memcached/libevent/.libs -lrt -pthread -pthread -Wl,-soname -Wl,syslog_logger.so -o .libs/syslog_logger.so
libtool: link: ( cd ".libs" && rm -f "syslog_logger.la" && ln -s "../syslog_logger.la" "syslog_logger.la" )
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./programs -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT engine_testapp-engine_testapp.o -MD -MP -MF .deps/engine_testapp-engine_testapp.Tpo -c -o engine_testapp-engine_testapp.o `test -f 'programs/engine_testapp.c' || echo './'`programs/engine_testapp.c
mv -f .deps/engine_testapp-engine_testapp.Tpo .deps/engine_testapp-engine_testapp.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./programs -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT engine_testapp-mock_server.o -MD -MP -MF .deps/engine_testapp-mock_server.Tpo -c -o engine_testapp-mock_server.o `test -f 'programs/mock_server.c' || echo './'`programs/mock_server.c
mv -f .deps/engine_testapp-mock_server.Tpo .deps/engine_testapp-mock_server.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -std=gnu99 -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -L./libevent/.libs -o engine_testapp engine_testapp-engine_testapp.o engine_testapp-mock_server.o libmemcached_utilities.la -ldl -lm -lrt
libtool: link: gcc -std=gnu99 -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -o .libs/engine_testapp engine_testapp-engine_testapp.o engine_testapp-mock_server.o -L/home/silvia/qp4-install/work/membase-server_src/memcached/libevent/.libs ./.libs/libmemcached_utilities.so -ldl -lm -lrt -pthread -Wl,-rpath -Wl,/home/silvia/qp4-install/work/membase-server_src/install/lib/memcached
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./daemon -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-daemon.o -MD -MP -MF .deps/memcached-daemon.Tpo -c -o memcached-daemon.o `test -f 'daemon/daemon.c' || echo './'`daemon/daemon.c
mv -f .deps/memcached-daemon.Tpo .deps/memcached-daemon.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./daemon -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-hash.o -MD -MP -MF .deps/memcached-hash.Tpo -c -o memcached-hash.o `test -f 'daemon/hash.c' || echo './'`daemon/hash.c
mv -f .deps/memcached-hash.Tpo .deps/memcached-hash.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./daemon -I./include -I./libevent -fvisibility=hidden -pthread -g -O2 -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-memcached.o -MD -MP -MF .deps/memcached-memcached.Tpo -c -o memcached-memcached.o `test -f 'daemon/memcached.c' || echo './'`daemon/memcached.c
cc1: warnings being treated as errors
daemon/memcached.c: In function ‘try_read_command’:
daemon/memcached.c:3614:13: error: array subscript is above array bounds
daemon/memcached.c:3614:13: error: array subscript is above array bounds
daemon/memcached.c:3618:18: error: array subscript is above array bounds
daemon/memcached.c:3618:18: error: array subscript is above array bounds
daemon/memcached.c:3618:18: error: array subscript is above array bounds
make[2]: *** [memcached-memcached.o] Error 1
make[2]: Leaving directory `/home/silvia/qp4-install/work/membase-server_src/memcached'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/silvia/qp4-install/work/membase-server_src/memcached'
make: *** [make-install-memcached] Error 2
There's something very weird with your compiler. This error message makes no sense. We build our rpm packages on Centos 5.x, so it should work. Try upgrading compiler package(s). This can potentially be caused by libc headers too. So try upgrading it if compiler upgrade is not enough.
hi thanks for your help, i've just solved the problem with memcached, i just went to memcached directory and run the configure file with gcc 4.3, i have gcc 4.6 and it didn't worked with the last one so i installed an older version:
cd memcached/
./configure CC="gcc-4.3"
cd ..
make
this time it didn't find the memcache binary so i created a link to it
cd install/bin/
ln -s path_to_memcache_dir/bin/memcached
cd ../..
make
and this time it didn't find the erlang, i went to couchdb directory and run the configure file using --with-erlang:
cd couchdb/
./configure --with-erlang=path_to_erlang
but i keep getting the error:
checking for erl... path_to_earlang/bin/erl
checking for erlc... path_to_earlang/bin/erlc
checking erl_driver.h usability... no
checking erl_driver.h presence... no
checking for erl_driver.h... no
configure: error: Could not find the `erl_driver.h' header.
Are the Erlang headers installed? Use the `--with-erlang' option to specify the
path to the Erlang include directory.
erlang is installed on the specified directory, any idea what's going on?
hi thanks for your help, i've just solved the problem with memcached, i just went to memcached directory and run the configure file with gcc 4.3, i have gcc 4.6 and it didn't worked with the last one so i installed an older version:
cd memcached/
./configure CC="gcc-4.3"
cd ..
make
this time it didn't find the memcache binary so i created a link to it
cd install/bin/
ln -s path_to_memcache_dir/bin/memcached
cd ../..
make
and this time it didn't find the erlang, i went to couchdb directory and run the configure file using --with-erlang:
cd couchdb/
./configure --with-erlang=path_to_erlang
but i keep getting the error:
checking for erl... /path_to_erlang/bin/erl
checking for erlc... /path_to_erlang/bin/erlc
checking erl_driver.h usability... no
checking erl_driver.h presence... no
checking for erl_driver.h... no
configure: error: Could not find the `erl_driver.h' header.
Are the Erlang headers installed? Use the `--with-erlang' option to specify the
path to the Erlang include directory.
erlang is installed on the specified directory, any idea what's going on?
Can you post the actual path that you are supplying to ./configure?
Usually it's $ERLANG_PREFIX/lib/erlang/usr/include and it needs erlc to be in there...
Correction: erlc needs to be in PATH. Just add $ERLANG_PREFIX/bin to PATH.
hi, thanks for all your help, it worked, i've run the CouchDB configuration file like this:
./configure --with-erlang=$ERLANG_PREFIX/lib/erlang/usr/include
then went back to membase directory and run make, it worked.
but now i'm trying to start membase server, running ./ns_server/start.sh, but i don't have this file on ns_server directory, i found two start.sh files on this locations:
./ns_server/deps/mochiweb/priv/skel/start.sh
./ns_server/deps/erlwsh/start.sh
i've executed both, and get this:
Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:0] [hipe] [kernel-poll:false]
=PROGRESS REPORT==== 14-Jun-2011::09:32:52 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.35.0>},
{name,alarm_handler},
{mfargs,{alarm_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 14-Jun-2011::09:32:52 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.36.0>},
{name,overload},
{mfargs,{overload,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 14-Jun-2011::09:32:52 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.34.0>},
{name,sasl_safe_sup},
{mfargs,
{supervisor,start_link,
[{local,sasl_safe_sup},sasl,safe]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
=PROGRESS REPORT==== 14-Jun-2011::09:32:52 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.37.0>},
{name,release_handler},
{mfargs,{release_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 14-Jun-2011::09:32:52 ===
application: sasl
started_at: nonode@nohost
{"init terminating in do_boot",{undef,[{erlwsh,start,[]},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
the test with telnet worked, but my web console doesn't work, http://localhost:8091/ show this error in the browser:
Unable to connect
any idea of what can i do here?
thanks
You're using wrong script to start membase. Our README was outdated, sadly. It's fixed on 1.7.1 branch.
You should start $PREFIX/bin/membase-server.
I'm going to engage with our engineers to see if they can help here, but can you also try downloading the 1.7 source and compiling that? We've made a number of improvements and it would be good to know whether the issue exists there as well.
Perry
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!