Skip to content

Instantly share code, notes, and snippets.

@phoebebright
Created December 2, 2011 12:52
Show Gist options
  • Save phoebebright/1423141 to your computer and use it in GitHub Desktop.
Save phoebebright/1423141 to your computer and use it in GitHub Desktop.
Error with brew install memchached
Phoebe-Brights-iMac:~ phoebebr$ brew doctor
Your system is raring to brew.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by memcached configure 1.4.10, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/memcached/1.4.10
## --------- ##
## Platform. ##
## --------- ##
hostname = Phoebe-Brights-iMac.local
uname -m = x86_64
uname -r = 11.2.0
uname -s = Darwin
uname -v = Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 4.00 gigabytes
Default processor set: 109 tasks, 661 threads, 2 processors
Load average: 3.65, Mach factor: 0.66
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /usr/local/mysql/bin
PATH: /usr/local/bin
PATH: /usr/local/mysql/bin/
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11/bin
PATH: /usr/local/Library/Contributions/examples
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2282: checking build system type
configure:2296: result: i386-apple-darwin11.2.0
configure:2316: checking host system type
configure:2329: result: i386-apple-darwin11.2.0
configure:2349: checking target system type
configure:2362: result: i386-apple-darwin11.2.0
configure:2406: checking for a BSD-compatible install
configure:2474: result: /usr/bin/install -c
configure:2485: checking whether build environment is sane
configure:2535: result: yes
configure:2676: checking for a thread-safe mkdir -p
configure:2715: result: ./install-sh -c -d
configure:2728: checking for gawk
configure:2758: result: no
configure:2728: checking for mawk
configure:2758: result: no
configure:2728: checking for nawk
configure:2758: result: no
configure:2728: checking for awk
configure:2744: found /usr/bin/awk
configure:2755: result: awk
configure:2766: checking whether make sets $(MAKE)
configure:2788: result: yes
configure:2919: checking for gcc
configure:2946: result: /usr/bin/llvm-gcc
configure:3175: checking for C compiler version
configure:3184: /usr/bin/llvm-gcc --version >&5
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3195: $? = 0
configure:3184: /usr/bin/llvm-gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
configure:3195: $? = 0
configure:3184: /usr/bin/llvm-gcc -V >&5
llvm-gcc-4.2: argument to `-V' is missing
configure:3195: $? = 1
configure:3184: /usr/bin/llvm-gcc -qversion >&5
i686-apple-darwin11-llvm-gcc-4.2: no input files
configure:3195: $? = 1
configure:3215: checking whether the C compiler works
configure:3237: /usr/bin/llvm-gcc -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:3241: $? = 0
configure:3290: result: yes
configure:3293: checking for C compiler default output file name
configure:3295: result: a.out
configure:3301: checking for suffix of executables
configure:3308: /usr/bin/llvm-gcc -o conftest -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:3312: $? = 0
configure:3334: result:
configure:3356: checking whether we are cross compiling
configure:3364: /usr/bin/llvm-gcc -o conftest -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:3368: $? = 0
configure:3375: ./conftest
configure:3379: $? = 0
configure:3394: result: no
configure:3399: checking for suffix of object files
configure:3421: /usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:3425: $? = 0
configure:3446: result: o
configure:3450: checking whether we are using the GNU C compiler
configure:3469: /usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:3469: $? = 0
configure:3478: result: yes
configure:3487: checking whether /usr/bin/llvm-gcc accepts -g
configure:3507: /usr/bin/llvm-gcc -c -g conftest.c >&5
configure:3507: $? = 0
configure:3548: result: yes
configure:3565: checking for /usr/bin/llvm-gcc option to accept ISO C89
configure:3629: /usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:3629: $? = 0
configure:3642: result: none needed
configure:3673: checking for style of include used by make
configure:3701: result: GNU
configure:3726: checking dependency style of /usr/bin/llvm-gcc
configure:3836: result: gcc3
configure:3860: checking how to run the C preprocessor
configure:3891: /usr/bin/llvm-gcc -E conftest.c
configure:3891: $? = 0
configure:3905: /usr/bin/llvm-gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:3905: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "memcached"
| #define PACKAGE_TARNAME "memcached"
| #define PACKAGE_VERSION "1.4.10"
| #define PACKAGE_STRING "memcached 1.4.10"
| #define PACKAGE_BUGREPORT "memcached@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "memcached"
| #define VERSION "1.4.10"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3930: result: /usr/bin/llvm-gcc -E
configure:3950: /usr/bin/llvm-gcc -E conftest.c
configure:3950: $? = 0
configure:3964: /usr/bin/llvm-gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:3964: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "memcached"
| #define PACKAGE_TARNAME "memcached"
| #define PACKAGE_VERSION "1.4.10"
| #define PACKAGE_STRING "memcached 1.4.10"
| #define PACKAGE_BUGREPORT "memcached@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "memcached"
| #define VERSION "1.4.10"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3993: checking for grep that handles long lines and -e
configure:4051: result: /usr/bin/grep
configure:4056: checking for egrep
configure:4118: result: /usr/bin/grep -E
configure:4125: checking for icc in use
configure:4134: result: no
configure:4154: checking for ANSI C header files
configure:4174: /usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:4174: $? = 0
configure:4247: /usr/bin/llvm-gcc -o conftest -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:4247: $? = 0
configure:4247: ./conftest
configure:4247: $? = 0
configure:4258: result: yes
configure:4271: checking for sys/types.h
configure:4271: /usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:4271: $? = 0
configure:4271: result: yes
configure:4271: checking for sys/stat.h
configure:4271: /usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:4271: $? = 0
configure:4271: result: yes
configure:4271: checking for stdlib.h
configure:4271: /usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:4271: $? = 0
configure:4271: result: yes
configure:4271: checking for string.h
configure:4271: /usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:4271: $? = 0
configure:4271: result: yes
configure:4271: checking for memory.h
configure:4271: /usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:4271: $? = 0
configure:4271: result: yes
configure:4271: checking for strings.h
configure:4271: /usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:4271: $? = 0
configure:4271: result: yes
configure:4271: checking for inttypes.h
configure:4271: /usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:4271: $? = 0
configure:4271: result: yes
configure:4271: checking for stdint.h
configure:4271: /usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:4271: $? = 0
configure:4271: result: yes
configure:4271: checking for unistd.h
configure:4271: /usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:4271: $? = 0
configure:4271: result: yes
configure:4285: checking whether __SUNPRO_C is declared
configure:4285: /usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
conftest.c: In function 'main':
conftest.c:58: error: '__SUNPRO_C' undeclared (first use in this function)
conftest.c:58: error: (Each undeclared identifier is reported only once
conftest.c:58: error: for each function it appears in.)
configure:4285: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "memcached"
| #define PACKAGE_TARNAME "memcached"
| #define PACKAGE_VERSION "1.4.10"
| #define PACKAGE_STRING "memcached 1.4.10"
| #define PACKAGE_BUGREPORT "memcached@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "memcached"
| #define VERSION "1.4.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| #ifndef __SUNPRO_C
| (void) __SUNPRO_C;
| #endif
|
| ;
| return 0;
| }
configure:4285: result: no
configure:4299: checking for /usr/bin/llvm-gcc option to accept ISO C99
configure:4448: /usr/bin/llvm-gcc -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
conftest.c:71: error: expected ';', ',' or ')' before 'text'
conftest.c: In function 'main':
conftest.c:125: error: nested functions are disabled, use -fnested-functions to re-enable
conftest.c:125: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
conftest.c:125: error: 'newvar' undeclared (first use in this function)
conftest.c:125: error: (Each undeclared identifier is reported only once
conftest.c:125: error: for each function it appears in.)
conftest.c:135: error: 'for' loop initial declaration used outside C99 mode
configure:4448: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "memcached"
| #define PACKAGE_TARNAME "memcached"
| #define PACKAGE_VERSION "1.4.10"
| #define PACKAGE_STRING "memcached 1.4.10"
| #define PACKAGE_BUGREPORT "memcached@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "memcached"
| #define VERSION "1.4.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)
| {
| int x = 1234;
| int y = 5678;
| debug ("Flag");
| debug ("X = %d\n", x);
| showlist (The first, second, and third items.);
| report (x>y, "x is %d but y is %d", x, y);
| }
|
| // Check long long types.
| #define BIG64 18446744073709551615ull
| #define BIG32 4294967295ul
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
| #if !BIG_OK
| your preprocessor is broken;
| #endif
| #if BIG_OK
| #else
| your preprocessor is broken;
| #endif
| static long long int bignum = -9223372036854775807LL;
| static unsigned long long int ubignum = BIG64;
|
| struct incomplete_array
| {
| int datasize;
| double data[];
| };
|
| struct named_init {
| int number;
| const wchar_t *name;
| double average;
| };
|
| typedef const char *ccp;
|
| static inline int
| test_restrict (ccp restrict text)
| {
| // See if C++-style comments work.
| // Iterate through items via the restricted pointer.
| // Also check for declarations in for loops.
| for (unsigned int i = 0; *(text+i) != '\0'; ++i)
| continue;
| return 0;
| }
|
| // Check varargs and va_copy.
| static void
| test_varargs (const char *format, ...)
| {
| va_list args;
| va_start (args, format);
| va_list args_copy;
| va_copy (args_copy, args);
|
| const char *str;
| int number;
| float fnumber;
|
| while (*format)
| {
| switch (*format++)
| {
| case 's': // string
| str = va_arg (args_copy, const char *);
| break;
| case 'd': // int
| number = va_arg (args_copy, int);
| break;
| case 'f': // float
| fnumber = va_arg (args_copy, double);
| break;
| default:
| break;
| }
| }
| va_end (args_copy);
| va_end (args);
| }
|
| int
| main ()
| {
|
| // Check bool.
| _Bool success = false;
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| test_varargs ("s, d' f .", "string", 65, 34.234);
| test_varargs_macros ();
|
| // Check flexible array members.
| struct incomplete_array *ia =
| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
| ia->datasize = 10;
| for (int i = 0; i < ia->datasize; ++i)
| ia->data[i] = i * 1.234;
|
| // Check named initializers.
| struct named_init ni = {
| .number = 34,
| .name = L"Test wide string",
| .average = 543.34343,
| };
|
| ni.number = 58;
|
| int dynamic_array[ni.number];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| ;
| return 0;
| }
configure:4448: /usr/bin/llvm-gcc -std=gnu99 -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:4448: $? = 0
configure:4468: result: -std=gnu99
configure:4478: checking whether /usr/bin/llvm-gcc -std=gnu99 and cc understand -c and -o together
configure:4509: /usr/bin/llvm-gcc -std=gnu99 -c conftest.c -o conftest2.o >&5
configure:4513: $? = 0
configure:4519: /usr/bin/llvm-gcc -std=gnu99 -c conftest.c -o conftest2.o >&5
configure:4523: $? = 0
configure:4534: cc -c conftest.c >&5
configure:4538: $? = 0
configure:4546: cc -c conftest.c -o conftest2.o >&5
configure:4550: $? = 0
configure:4556: cc -c conftest.c -o conftest2.o >&5
configure:4560: $? = 0
configure:4578: result: yes
configure:4626: checking sasl/sasl.h usability
configure:4626: /usr/bin/llvm-gcc -std=gnu99 -c -O3 -march=core2 -msse4.1 -w -pipe conftest.c >&5
configure:4626: $? = 0
configure:4626: result: yes
configure:4626: checking sasl/sasl.h presence
configure:4626: /usr/bin/llvm-gcc -E conftest.c
configure:4626: $? = 0
configure:4626: result: yes
configure:4626: checking for sasl/sasl.h
configure:4626: result: yes
configure:4859: checking for gcov
configure:4877: found /usr/bin/gcov
configure:4890: result: /usr/bin/gcov
configure:4900: checking for main in -lgcov
configure:4919: /usr/bin/llvm-gcc -std=gnu99 -o conftest -O3 -march=core2 -msse4.1 -w -pipe -pthread conftest.c -lgcov >&5
configure:4919: $? = 0
configure:4928: result: yes
configure:5039: checking for library containing clock_gettime
configure:5070: /usr/bin/llvm-gcc -std=gnu99 -o conftest -O3 -march=core2 -msse4.1 -w -pipe -pthread conftest.c >&5
Undefined symbols for architecture x86_64:
"_clock_gettime", referenced from:
_main in ccyz0HEl.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:5070: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "memcached"
| #define PACKAGE_TARNAME "memcached"
| #define PACKAGE_VERSION "1.4.10"
| #define PACKAGE_STRING "memcached 1.4.10"
| #define PACKAGE_BUGREPORT "memcached@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "memcached"
| #define VERSION "1.4.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SASL_SASL_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char clock_gettime ();
| int
| main ()
| {
| return clock_gettime ();
| ;
| return 0;
| }
configure:5070: /usr/bin/llvm-gcc -std=gnu99 -o conftest -O3 -march=core2 -msse4.1 -w -pipe -pthread conftest.c -lrt >&5
ld: library not found for -lrt
collect2: ld returned 1 exit status
configure:5070: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "memcached"
| #define PACKAGE_TARNAME "memcached"
| #define PACKAGE_VERSION "1.4.10"
| #define PACKAGE_STRING "memcached 1.4.10"
| #define PACKAGE_BUGREPORT "memcached@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "memcached"
| #define VERSION "1.4.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SASL_SASL_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char clock_gettime ();
| int
| main ()
| {
| return clock_gettime ();
| ;
| return 0;
| }
configure:5087: result: no
configure:5097: checking for library containing socket
configure:5128: /usr/bin/llvm-gcc -std=gnu99 -o conftest -O3 -march=core2 -msse4.1 -w -pipe -pthread conftest.c >&5
configure:5128: $? = 0
configure:5145: result: none required
configure:5153: checking for library containing gethostbyname
configure:5184: /usr/bin/llvm-gcc -std=gnu99 -o conftest -O3 -march=core2 -msse4.1 -w -pipe -pthread conftest.c >&5
configure:5184: $? = 0
configure:5201: result: none required
configure:5226: checking for libevent directory
configure:5270: /usr/bin/llvm-gcc -std=gnu99 -o conftest -O3 -march=core2 -msse4.1 -w -pipe -pthread conftest.c -levent >&5
ld: library not found for -levent
collect2: ld returned 1 exit status
configure:5270: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "memcached"
| #define PACKAGE_TARNAME "memcached"
| #define PACKAGE_VERSION "1.4.10"
| #define PACKAGE_STRING "memcached 1.4.10"
| #define PACKAGE_BUGREPORT "memcached@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "memcached"
| #define VERSION "1.4.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SASL_SASL_H 1
| /* end confdefs.h. */
| #include <sys/time.h>
| #include <sys/types.h>
| #include <event.h>
| int
| main ()
| {
| event_init();
| ;
| return 0;
| }
configure:5270: /usr/bin/llvm-gcc -std=gnu99 -o conftest -O3 -march=core2 -msse4.1 -w -pipe -pthread -I/usr/local/Cellar/memcached/1.4.10 -L/usr/local/Cellar/memcached/1.4.10 conftest.c -levent >&5
ld: library not found for -levent
collect2: ld returned 1 exit status
configure:5270: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "memcached"
| #define PACKAGE_TARNAME "memcached"
| #define PACKAGE_VERSION "1.4.10"
| #define PACKAGE_STRING "memcached 1.4.10"
| #define PACKAGE_BUGREPORT "memcached@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "memcached"
| #define VERSION "1.4.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SASL_SASL_H 1
| /* end confdefs.h. */
| #include <sys/time.h>
| #include <sys/types.h>
| #include <event.h>
| int
| main ()
| {
| event_init();
| ;
| return 0;
| }
configure:5270: /usr/bin/llvm-gcc -std=gnu99 -o conftest -O3 -march=core2 -msse4.1 -w -pipe -pthread -I/usr/local/include -I/usr/local/Cellar/memcached/1.4.10 -L/usr/local/lib conftest.c -levent >&5
ld: library not found for -levent
collect2: ld returned 1 exit status
configure:5270: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "memcached"
| #define PACKAGE_TARNAME "memcached"
| #define PACKAGE_VERSION "1.4.10"
| #define PACKAGE_STRING "memcached 1.4.10"
| #define PACKAGE_BUGREPORT "memcached@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "memcached"
| #define VERSION "1.4.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SASL_SASL_H 1
| /* end confdefs.h. */
| #include <sys/time.h>
| #include <sys/types.h>
| #include <event.h>
| int
| main ()
| {
| event_init();
| ;
| return 0;
| }
configure:5302: error: libevent is required. You can get it from http://www.monkey.org/~provos/libevent/
If it's already installed, specify its path using --with-libevent=/dir/
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i386-apple-darwin11.2.0
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/llvm-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O3 -march=core2 -msse4.1 -w -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_have_decl___SUNPRO_C=no
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_sasl_sasl_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i386-apple-darwin11.2.0
ac_cv_lib_gcov_main=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_PROFILER=/usr/bin/gcov
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_CPP='/usr/bin/llvm-gcc -E'
ac_cv_prog_ac_ct_CC=/usr/bin/llvm-gcc
ac_cv_prog_cc__usr_bin_llvm_gcc_c_o=yes
ac_cv_prog_cc_c89=
ac_cv_prog_cc_c99=-std=gnu99
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_clock_gettime=no
ac_cv_search_gethostbyname='none required'
ac_cv_search_socket='none required'
ac_cv_target=i386-apple-darwin11.2.0
am_cv_CC_dependencies_compiler_type=gcc3
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /private/tmp/homebrew-memcached-1.4.10-gBZY/memcached-1.4.10/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /private/tmp/homebrew-memcached-1.4.10-gBZY/memcached-1.4.10/missing --run tar'
AUTOCONF='${SHELL} /private/tmp/homebrew-memcached-1.4.10-gBZY/memcached-1.4.10/missing --run autoconf'
AUTOHEADER='${SHELL} /private/tmp/homebrew-memcached-1.4.10-gBZY/memcached-1.4.10/missing --run autoheader'
AUTOMAKE='${SHELL} /private/tmp/homebrew-memcached-1.4.10-gBZY/memcached-1.4.10/missing --run automake-1.11'
AWK='awk'
BUILD_CACHE_FALSE=''
BUILD_CACHE_TRUE=''
BUILD_DTRACE_FALSE=''
BUILD_DTRACE_TRUE='#'
BUILD_SOLARIS_PRIVS_FALSE=''
BUILD_SOLARIS_PRIVS_TRUE=''
BUILD_SPECIFICATIONS_FALSE=''
BUILD_SPECIFICATIONS_TRUE=''
CC='/usr/bin/llvm-gcc -std=gnu99'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O3 -march=core2 -msse4.1 -w -pipe -pthread'
CPP='/usr/bin/llvm-gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DTRACE=''
DTRACEFLAGS=''
DTRACE_INSTRUMENT_OBJ_FALSE=''
DTRACE_INSTRUMENT_OBJ_TRUE='#'
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
ENABLE_SASL=''
ENABLE_SASL_FALSE=''
ENABLE_SASL_TRUE='#'
EXEEXT=''
GREP='/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /private/tmp/homebrew-memcached-1.4.10-gBZY/memcached-1.4.10/missing --run makeinfo'
MKDIR_P='./install-sh -c -d'
OBJEXT='o'
PACKAGE='memcached'
PACKAGE_BUGREPORT='memcached@googlegroups.com'
PACKAGE_NAME='memcached'
PACKAGE_STRING='memcached 1.4.10'
PACKAGE_TARNAME='memcached'
PACKAGE_URL=''
PACKAGE_VERSION='1.4.10'
PATH_SEPARATOR=':'
PROFILER='/usr/bin/gcov'
PROFILER_FLAGS='-fprofile-arcs -ftest-coverage'
PROFILER_LDFLAGS='-lgcov'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.4.10'
XML2RFC=''
XSLTPROC=''
ac_ct_CC='/usr/bin/llvm-gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i386-apple-darwin11.2.0'
build_alias=''
build_cpu='i386'
build_os='darwin11.2.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i386-apple-darwin11.2.0'
host_alias=''
host_cpu='i386'
host_os='darwin11.2.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /private/tmp/homebrew-memcached-1.4.10-gBZY/memcached-1.4.10/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local/Cellar/memcached/1.4.10'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i386-apple-darwin11.2.0'
target_alias=''
target_cpu='i386'
target_os='darwin11.2.0'
target_vendor='apple'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "memcached"
#define PACKAGE_TARNAME "memcached"
#define PACKAGE_VERSION "1.4.10"
#define PACKAGE_STRING "memcached 1.4.10"
#define PACKAGE_BUGREPORT "memcached@googlegroups.com"
#define PACKAGE_URL ""
#define PACKAGE "memcached"
#define VERSION "1.4.10"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SASL_SASL_H 1
configure: exit 1
Phoebe-Brights-iMac:~ phoebebr$ brew install -v memcached
==> Downloading http://memcached.googlecode.com/files/memcached-1.4.10.tar.gz
File already downloaded in /Users/phoebebr/Library/Caches/Homebrew
/usr/bin/tar xf /Users/phoebebr/Library/Caches/Homebrew/memcached-1.4.10.tar.gz
==> ./configure --prefix=/usr/local/Cellar/memcached/1.4.10
./configure --prefix=/usr/local/Cellar/memcached/1.4.10
checking build system type... i386-apple-darwin11.2.0
checking host system type... i386-apple-darwin11.2.0
checking target system type... i386-apple-darwin11.2.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... ./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 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 for style of include used by make... GNU
checking dependency style of /usr/bin/llvm-gcc... 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 icc in use... 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 whether __SUNPRO_C is declared... no
checking for /usr/bin/llvm-gcc option to accept ISO C99... -std=gnu99
checking whether /usr/bin/llvm-gcc -std=gnu99 and cc understand -c and -o together... yes
checking sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking for gcov... /usr/bin/gcov
checking for main in -lgcov... yes
checking for library containing clock_gettime... no
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for libevent directory... configure: error: libevent is required. You can get it from http://www.monkey.org/~provos/libevent/
If it's already installed, specify its path using --with-libevent=/dir/
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/memcached.rb#L20
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: c5317ab188f76012c93bd77c61a07673b782118b
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit penryn
OS X: 10.7.2
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.1
GCC-4.0: build 5493
GCC-4.2: build 5666
LLVM: build 2335
Clang: 2.1-163.7.1
MacPorts or Fink? false
X11 installed? true
==> 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: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
MAKEFLAGS: -j2
Error: Failed executing: ./configure --prefix=/usr/local/Cellar/memcached/1.4.10
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/8697
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
We saved the configure log, please gist it if you report the issue:
~/Library/Logs/Homebrew/config.log
Phoebe-Brights-iMac:~ phoebebr$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment