Skip to content

Instantly share code, notes, and snippets.

@ctulek
Created February 24, 2012 04:23
Show Gist options
  • Save ctulek/1897618 to your computer and use it in GitHub Desktop.
Save ctulek/1897618 to your computer and use it in GitHub Desktop.
Warning: libmemcached already installed
==> Downloading http://launchpad.net/libmemcached/1.0/1.0.4/+download/libmemcached-1.0.4.tar.gz
File already downloaded in /Users/ctulek/Library/Caches/Homebrew
/usr/bin/tar xf /Users/ctulek/Library/Caches/Homebrew/libmemcached-1.0.4.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libmemcached/1.0.4
./configure --prefix=/usr/local/Cellar/libmemcached/1.0.4
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking target system type... x86_64-apple-darwin10.8.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... /usr/bin/llvm-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 /usr/bin/llvm-gcc accepts -g... yes
checking for /usr/bin/llvm-gcc option to accept ISO C89... none needed
checking dependency style of /usr/bin/llvm-gcc... gcc3
checking dependency style of /usr/bin/llvm-gcc... (cached) gcc3
checking how to run the C preprocessor... /usr/bin/llvm-gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for isainfo... no
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/llvm-g++ accepts -g... yes
checking dependency style of /usr/bin/llvm-g++... gcc3
checking dependency style of /usr/bin/llvm-g++... (cached) gcc3
checking whether /usr/bin/llvm-gcc and cc understand -c and -o together... yes
checking how to create a ustar tar archive... none
checking whether __SUNPRO_C is declared... no
checking whether __ICC is declared... no
./configure: line 6426: PANDORA_CHECK_CXX_STANDARD: command not found
checking the location of cstdint... <tr1/cstdint>
checking the location of cinttypes... <tr1/cinttypes>
checking "C Compiler version--yes"... "i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)"
checking "C++ Compiler version"... "i686-apple-darwin10-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)"
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for size_t... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for library containing clock_gettime... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking size of off_t... 8
checking size of size_t... 8
checking size of long long... 8
checking if time_t is unsigned... no
checking for setsockopt... yes
checking for bind... yes
checking whether the compiler provides atomic builtins... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking whether to enable assertions... yes
checking whether it is safe to use -fdiagnostics-show-option... yes
checking whether it is safe to use -floop-parallelize-all... no
checking whether it is safe to use -Wextra... yes
checking whether it is safe to use -Wformat... yes
checking whether it is safe to use -Wconversion... yes
checking whether it is safe to use -Wconversion with htons... yes
checking whether it is safe to use -Wmissing-declarations from C++... no
checking whether it is safe to use -Wframe-larger-than... no
checking whether it is safe to use -Wlogical-op... no
checking whether it is safe to use -Wredundant-decls from C++... yes
checking whether it is safe to use -Wattributes from C++... no
checking whether it is safe to use -Wno-attributes... no
checking for perl... perl
checking for dpkg-gensymbols... no
checking for lcov... no
checking for genhtml... no
checking for sphinx-build... no
checking for working -pipe... yes
checking for bison... bison
checking for flex... flex
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/llvm-gcc... /usr/bin/llvm-gcc
checking if the linker (/usr/bin/llvm-gcc) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin10.8.0 file names to x86_64-apple-darwin10.8.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/llvm-gcc option to reload object files... -r
checking for objdump... no
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... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from /usr/bin/llvm-gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/llvm-gcc supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/llvm-gcc option to produce PIC... -fno-common -DPIC
checking if /usr/bin/llvm-gcc PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/llvm-gcc static flag -static works... no
checking if /usr/bin/llvm-gcc supports -c -o file.o... yes
checking if /usr/bin/llvm-gcc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/llvm-gcc linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.8.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... yes
checking how to run the C++ preprocessor... /usr/bin/llvm-g++ -E
checking for ld used by /usr/bin/llvm-g++... /usr/bin/llvm-gcc
checking if the linker (/usr/bin/llvm-gcc) is GNU ld... no
checking whether the /usr/bin/llvm-g++ linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking for /usr/bin/llvm-g++ option to produce PIC... -fno-common -DPIC
checking if /usr/bin/llvm-g++ PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/llvm-g++ static flag -static works... no
checking if /usr/bin/llvm-g++ supports -c -o file.o... yes
checking if /usr/bin/llvm-g++ supports -c -o file.o... (cached) yes
checking whether the /usr/bin/llvm-g++ linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking whether memcached executable path has been provided... no
checking for memcached... /usr/local/bin/memcached
checking whether memcached_sasl executable path has been provided... no
checking for memcached_sasl... no
checking whether gearmand executable path has been provided... no
checking for gearmand... no
checking libgearman/gearmand.h usability... no
checking libgearman/gearmand.h presence... no
checking for libgearman/gearmand.h... no
checking for library containing getopt_long... none required
checking for library containing gethostbyname... none required
checking for ld used by GCC... /usr/bin/llvm-gcc
checking if the linker (/usr/bin/llvm-gcc) is GNU ld... no
checking for shared library run path origin... done
checking for libevent... yes
checking how to link with libevent... -levent
checking for event_base_new... yes
checking for event_base_free... yes
checking for event_base_get_method... yes
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for PTHREAD_PRIO_INHERIT... yes
checking whether byte ordering is bigendian... no
checking for htonll... no
./configure: line 21640: ENABLE_UTILLIB: command not found
checking for working SO_SNDTIMEO... yes
checking for working SO_RCVTIMEO... yes
checking for supported struct padding... yes
checking for libinnodb... no
checking if libinnodb is recent enough... no
configure: WARNING: libmemcached requires at least version 1.0.6 of Embedded InnoDB
checking for libsasl... no
checking for libsasl2... yes
checking how to link with libsasl2... -lsasl2
checking for alarm... yes
checking for dup2... yes
checking for getline... no
checking for gettimeofday... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for select... yes
checking for setenv... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoull... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking cxxabi.h usability... no
checking cxxabi.h presence... no
checking for cxxabi.h... no
checking for C compiler vendor... gnu
checking for ISO C++ 98 include files... yes
checking for thread local storage (TLS) class... none
checking for working alloca.h... yes
checking for alloca... yes
checking for error_at_line... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for off_t... yes
checking for pid_t... (cached) yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking whether byte ordering is bigendian... (cached) no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for C/C++ restrict keyword... __restrict
checking whether the compiler supports GCC C++ ABI name demangling... yes
checking for clock_gettime in -lrt... no
checking for floor in -lm... yes
checking atomic.h usability... no
checking atomic.h presence... no
checking for atomic.h... no
checking for winsock2.h... no
checking for poll.h... yes
checking for sys/wait.h... yes
checking for fnmatch.h... yes
checking if EWOULDBLOCK == EAGAIN... yes
checking for MSG_NOSIGNAL... no
checking for MSG_DONTWAIT... yes
checking for MSG_MORE... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/conf.py
config.status: creating libhashkit-1.0/configure.h
config.status: creating libmemcached-1.0/configure.h
config.status: creating libmemcached-1.2/configure.h
config.status: creating libmemcached-2.0/configure.h
config.status: creating support/libmemcached.pc
config.status: creating support/libmemcached.spec
config.status: creating support/libmemcached-fc.spec
config.status: creating libtest/version.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
---
Configuration summary for libmemcached version 1.0.4
* Installation prefix: /usr/local/Cellar/libmemcached/1.0.4
* System type: apple-darwin10.8.0
* Host CPU: x86_64
* C Compiler: i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
* Assertions enabled: yes
* Debug enabled: no
* Warnings as failure: no
---
==> make install
make install
make install-am
CXX libhashkit/algorithm.lo
CXX libhashkit/behavior.lo
CXX libhashkit/crc32.lo
CXX libhashkit/digest.lo
CXX libhashkit/fnv_32.lo
CXX libhashkit/fnv_64.lo
CXX libhashkit/function.lo
CXX libhashkit/has.lo
CXX libhashkit/hashkit.lo
CXX libhashkit/jenkins.lo
CXX libhashkit/md5.lo
CXX libhashkit/ketama.lo
CXX libhashkit/murmur.lo
CXX libhashkit/one_at_a_time.lo
CXX libhashkit/str_algorithm.lo
CXX libhashkit/strerror.lo
CXX libhashkit/nohsieh.lo
CXX libmemcached/csl/libmemcachedinternal_libmemcachedinternal_la-context.lo
CXX libmemcached/csl/libmemcachedinternal_libmemcachedinternal_la-parser.lo
CXX libmemcached/csl/libmemcachedinternal_libmemcachedinternal_la-scanner.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-algorithm.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-behavior.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-crc32.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-digest.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-fnv_64.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-fnv_32.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-function.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-has.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-hashkit.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-jenkins.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-ketama.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-md5.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-murmur.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-one_at_a_time.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-str_algorithm.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-strerror.lo
CXX libhashkit/libmemcachedinternal_libmemcachedinternal_la-nohsieh.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-allocators.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-analyze.lo
CC libmemcached/libmemcachedinternal_libmemcachedinternal_la-array.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-auto.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-backtrace.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-behavior.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-byteorder.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-callback.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-connect.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-delete.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-do.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-dump.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-error.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-exist.lo
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-fetch.lo
libmemcached/dump.cc: In function 'memcached_return_t ascii_dump(memcached_st*, memcached_return_t (**)(const memcached_st*, const char*, size_t, void*), void*, uint32_t)':
libmemcached/dump.cc:116: error: 'MEMCACHED_ERROR' was not declared in this scope
make[1]: *** [libmemcached/libmemcachedinternal_libmemcachedinternal_la-dump.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
CXX libmemcached/libmemcachedinternal_libmemcachedinternal_la-flush.lo
make: *** [install] Error 2
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/libmemcached.rb#L14
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 87d31f09f7f5d13b4e572e6e98ecaa095fb879fa
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: 8-core 64-bit sandybridge
OS X: 10.6.8
Kernel Architecture: x86_64
Xcode: 4.2
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 3.0 build 211
MacPorts or Fink? false
X11 installed? true
System Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/1.9.3-p0/bin/ruby
==> Build Flags
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -Os -w -pipe -march=core2 -msse4
CXXFLAGS: -Os -w -pipe -march=core2 -msse4
MAKEFLAGS: -j8
Error: Failed executing: make install
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment