Skip to content

Instantly share code, notes, and snippets.

@emjayess
Last active December 14, 2015 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emjayess/5101394 to your computer and use it in GitHub Desktop.
Save emjayess/5101394 to your computer and use it in GitHub Desktop.
Error: couchdb did not build OSX Lion w/brew brew 0.9.4 (XCode was up to date, including CLI tools)
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Apache CouchDB configure 1.2.1, which was
generated by GNU Autoconf 2.67. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/couchdb/1.2.1 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc --with-erlang=/usr/local/lib/erlang/usr/include --with-js-include=/usr/local/include/js --with-js-lib=/usr/local/lib
## --------- ##
## Platform. ##
## --------- ##
hostname = macaroni.local
uname -m = x86_64
uname -r = 11.4.2
uname -s = Darwin
uname -v = Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~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.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 8.00 gigabytes
Default processor set: 177 tasks, 879 threads, 4 processors
Load average: 1.96, Mach factor: 2.03
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/Library/ENV/4.3
PATH: /usr/local/opt/help2man/bin
PATH: /usr/local/opt/nspr/bin
PATH: /usr/local/opt/spidermonkey/bin
PATH: /usr/local/opt/icu4c/bin
PATH: /usr/local/opt/erlang/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2885: checking for a BSD-compatible install
configure:2953: result: /usr/bin/install -c
configure:2964: checking whether build environment is sane
configure:3014: result: yes
configure:3155: checking for a thread-safe mkdir -p
configure:3194: result: build-aux/install-sh -c -d
configure:3207: checking for gawk
configure:3237: result: no
configure:3207: checking for mawk
configure:3237: result: no
configure:3207: checking for nawk
configure:3237: result: no
configure:3207: checking for awk
configure:3223: found /usr/bin/awk
configure:3234: result: awk
configure:3245: checking whether make sets $(MAKE)
configure:3267: result: yes
configure:3360: checking for style of include used by make
configure:3388: result: GNU
configure:3458: checking for gcc
configure:3485: result: cc
configure:3714: checking for C compiler version
configure:3723: cc --version >&5
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
configure:3734: $? = 0
configure:3723: cc -v >&5
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
clang: warning: argument unused during compilation: '-I /usr/local/opt/readline/include'
clang: warning: argument unused during compilation: '-I /usr/local/opt/icu4c/include'
clang: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib'
clang: warning: argument unused during compilation: '-L/usr/local/opt/icu4c/lib'
... rest of stderr output deleted ...
configure:3734: $? = 0
configure:3723: cc -V >&5
clang: error: unsupported option '-V -isystem/usr/local/include'
clang: error: no input files
configure:3734: $? = 1
configure:3723: cc -qversion >&5
clang: error: no input files
configure:3734: $? = 1
configure:3754: checking whether the C compiler works
configure:3776: cc conftest.c >&5
configure:3780: $? = 0
configure:3828: result: yes
configure:3831: checking for C compiler default output file name
configure:3833: result: a.out
configure:3839: checking for suffix of executables
configure:3846: cc -o conftest conftest.c >&5
configure:3850: $? = 0
configure:3872: result:
configure:3894: checking whether we are cross compiling
configure:3902: cc -o conftest conftest.c >&5
configure:3906: $? = 0
configure:3913: ./conftest
configure:3917: $? = 0
configure:3932: result: no
configure:3937: checking for suffix of object files
configure:3959: cc -c conftest.c >&5
configure:3963: $? = 0
configure:3984: result: o
configure:3988: checking whether we are using the GNU C compiler
configure:4007: cc -c conftest.c >&5
configure:4007: $? = 0
configure:4016: result: yes
configure:4025: checking whether cc accepts -g
configure:4045: cc -c -g conftest.c >&5
configure:4045: $? = 0
configure:4086: result: yes
configure:4103: checking for cc option to accept ISO C89
configure:4167: cc -c -g -O2 conftest.c >&5
configure:4167: $? = 0
configure:4180: result: none needed
configure:4202: checking dependency style of cc
configure:4312: result: gcc3
configure:4333: checking how to run the C preprocessor
configure:4364: cc -E conftest.c
configure:4364: $? = 0
configure:4378: cc -E conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 error generated.
configure:4378: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.2.1"
| #define PACKAGE_STRING "Apache CouchDB 1.2.1"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.2.1"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4403: result: cc -E
configure:4423: cc -E conftest.c
configure:4423: $? = 0
configure:4437: cc -E conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 error generated.
configure:4437: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.2.1"
| #define PACKAGE_STRING "Apache CouchDB 1.2.1"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.2.1"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4466: checking for grep that handles long lines and -e
configure:4524: result: /usr/bin/grep
configure:4529: checking for egrep
configure:4591: result: /usr/bin/grep -E
configure:4596: checking for ANSI C header files
configure:4616: cc -c -g -O2 conftest.c >&5
configure:4616: $? = 0
configure:4689: cc -o conftest -g -O2 conftest.c >&5
configure:4689: $? = 0
configure:4689: ./conftest
configure:4689: $? = 0
configure:4700: result: yes
configure:4713: checking for sys/types.h
configure:4713: cc -c -g -O2 conftest.c >&5
configure:4713: $? = 0
configure:4713: result: yes
configure:4713: checking for sys/stat.h
configure:4713: cc -c -g -O2 conftest.c >&5
configure:4713: $? = 0
configure:4713: result: yes
configure:4713: checking for stdlib.h
configure:4713: cc -c -g -O2 conftest.c >&5
configure:4713: $? = 0
configure:4713: result: yes
configure:4713: checking for string.h
configure:4713: cc -c -g -O2 conftest.c >&5
configure:4713: $? = 0
configure:4713: result: yes
configure:4713: checking for memory.h
configure:4713: cc -c -g -O2 conftest.c >&5
configure:4713: $? = 0
configure:4713: result: yes
configure:4713: checking for strings.h
configure:4713: cc -c -g -O2 conftest.c >&5
configure:4713: $? = 0
configure:4713: result: yes
configure:4713: checking for inttypes.h
configure:4713: cc -c -g -O2 conftest.c >&5
configure:4713: $? = 0
configure:4713: result: yes
configure:4713: checking for stdint.h
configure:4713: cc -c -g -O2 conftest.c >&5
configure:4713: $? = 0
configure:4713: result: yes
configure:4713: checking for unistd.h
configure:4713: cc -c -g -O2 conftest.c >&5
configure:4713: $? = 0
configure:4713: result: yes
configure:4726: checking minix/config.h usability
configure:4726: cc -c -g -O2 conftest.c >&5
conftest.c:54:10: fatal error: 'minix/config.h' file not found
#include <minix/config.h>
^
1 error generated.
configure:4726: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.2.1"
| #define PACKAGE_STRING "Apache CouchDB 1.2.1"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.2.1"
| #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
| #include <minix/config.h>
configure:4726: result: no
configure:4726: checking minix/config.h presence
configure:4726: cc -E conftest.c
conftest.c:21:10: fatal error: 'minix/config.h' file not found
#include <minix/config.h>
^
1 error generated.
configure:4726: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.2.1"
| #define PACKAGE_STRING "Apache CouchDB 1.2.1"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.2.1"
| #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 <minix/config.h>
configure:4726: result: no
configure:4726: checking for minix/config.h
configure:4726: result: no
configure:4747: checking whether it is safe to define __EXTENSIONS__
configure:4765: cc -c -g -O2 conftest.c >&5
configure:4765: $? = 0
configure:4772: result: yes
configure:4898: checking for gcc
configure:4925: result: cc
configure:5154: checking for C compiler version
configure:5163: cc --version >&5
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
configure:5174: $? = 0
configure:5163: cc -v >&5
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
clang: warning: argument unused during compilation: '-I /usr/local/opt/readline/include'
clang: warning: argument unused during compilation: '-I /usr/local/opt/icu4c/include'
clang: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib'
clang: warning: argument unused during compilation: '-L/usr/local/opt/icu4c/lib'
... rest of stderr output deleted ...
configure:5174: $? = 0
configure:5163: cc -V >&5
clang: error: unsupported option '-V -isystem/usr/local/include'
clang: error: no input files
configure:5174: $? = 1
configure:5163: cc -qversion >&5
clang: error: no input files
configure:5174: $? = 1
configure:5178: checking whether we are using the GNU C compiler
configure:5206: result: yes
configure:5215: checking whether cc accepts -g
configure:5276: result: yes
configure:5293: checking for cc option to accept ISO C89
configure:5370: result: none needed
configure:5392: checking dependency style of cc
configure:5502: result: gcc3
configure:5546: checking build system type
configure:5560: result: x86_64-apple-darwin11.4.2
configure:5580: checking host system type
configure:5593: result: x86_64-apple-darwin11.4.2
configure:5613: checking for a sed that does not truncate output
configure:5677: result: /usr/local/Library/ENV/4.3/sed
configure:5695: checking for fgrep
configure:5757: result: /usr/bin/grep -F
configure:5792: checking for ld used by cc
configure:5859: result: /usr/bin/ld
configure:5866: checking if the linker (/usr/bin/ld) is GNU ld
configure:5881: result: no
configure:5893: checking for BSD- or MS-compatible name lister (nm)
configure:5942: result: /usr/bin/nm
configure:6060: checking the name lister (/usr/bin/nm) interface
configure:6067: cc -c -g -O2 conftest.c >&5
configure:6070: /usr/bin/nm "conftest.o"
configure:6073: output
0000000000000218 S _some_variable
configure:6080: result: BSD nm
configure:6083: checking whether ln -s works
configure:6087: result: yes
configure:6095: checking the maximum length of command line arguments
configure:6215: result: 196608
configure:6232: checking whether the shell understands some XSI constructs
configure:6242: result: yes
configure:6246: checking whether the shell understands "+="
configure:6252: result: yes
configure:6287: checking for /usr/bin/ld option to reload object files
configure:6294: result: -r
configure:6363: checking for objdump
configure:6393: result: no
configure:6419: checking how to recognize dependent libraries
configure:6615: result: pass_all
configure:6675: checking for ar
configure:6691: found /usr/bin/ar
configure:6702: result: ar
configure:6780: checking for strip
configure:6796: found /usr/bin/strip
configure:6807: result: strip
configure:6879: checking for ranlib
configure:6895: found /usr/bin/ranlib
configure:6906: result: ranlib
configure:6996: checking command to parse /usr/bin/nm output from cc object
configure:7114: cc -c -g -O2 conftest.c >&5
configure:7117: $? = 0
configure:7121: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:7124: $? = 0
cannot find nm_test_var in conftest.nm
configure:7114: cc -c -g -O2 conftest.c >&5
configure:7117: $? = 0
configure:7121: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' \> conftest.nm
configure:7124: $? = 0
configure:7178: cc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:7181: $? = 0
configure:7219: result: ok
configure:7483: checking for dsymutil
configure:7499: found /usr/bin/dsymutil
configure:7510: result: dsymutil
configure:7575: checking for nmedit
configure:7591: found /usr/bin/nmedit
configure:7602: result: nmedit
configure:7667: checking for lipo
configure:7683: found /usr/bin/lipo
configure:7694: result: lipo
configure:7759: checking for otool
configure:7775: found /usr/bin/otool
configure:7786: result: otool
configure:7851: checking for otool64
configure:7881: result: no
configure:7926: checking for -single_module linker flag
cc -g -O2 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
configure:7953: result: yes
configure:7955: checking for -exported_symbols_list linker flag
configure:7975: cc -o conftest -g -O2 -Wl,-exported_symbols_list,conftest.sym conftest.c >&5
configure:7975: $? = 0
configure:7985: result: yes
configure:8024: checking for dlfcn.h
configure:8024: cc -c -g -O2 conftest.c >&5
configure:8024: $? = 0
configure:8024: result: yes
configure:8446: checking for objdir
configure:8461: result: .libs
configure:8757: checking if cc supports -fno-rtti -fno-exceptions
configure:8775: cc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
configure:8779: $? = 0
configure:8792: result: yes
configure:8812: checking for cc option to produce PIC
configure:9084: result: -fno-common -DPIC
configure:9096: checking if cc PIC flag -fno-common -DPIC works
configure:9114: cc -c -g -O2 -fno-common -DPIC -DPIC conftest.c >&5
configure:9118: $? = 0
configure:9131: result: yes
configure:9155: checking if cc static flag -static works
configure:9183: result: no
configure:9198: checking if cc supports -c -o file.o
configure:9219: cc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:9223: $? = 0
configure:9245: result: yes
configure:9253: checking if cc supports -c -o file.o
configure:9300: result: yes
configure:9333: checking whether the cc linker (/usr/bin/ld) supports shared libraries
configure:10324: result: yes
configure:10563: checking dynamic linker characteristics
configure:11226: result: darwin11.4.2 dyld
configure:11328: checking how to hardcode library paths into programs
configure:11353: result: immediate
configure:11873: checking whether stripping libraries is possible
configure:11887: result: yes
configure:11913: checking if libtool supports shared libraries
configure:11915: result: yes
configure:11918: checking whether to build shared libraries
configure:11939: result: yes
configure:11942: checking whether to build static libraries
configure:11946: result: no
configure:11982: checking whether ln -s works
configure:11986: result: yes
configure:12047: checking for pkg-config
configure:12080: result: no
configure:12230: checking for C++ compiler version
configure:12239: c++ --version >&5
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
configure:12250: $? = 0
configure:12239: c++ -v >&5
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
clang: warning: argument unused during compilation: '-I /usr/local/opt/readline/include'
clang: warning: argument unused during compilation: '-I /usr/local/opt/icu4c/include'
clang: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib'
clang: warning: argument unused during compilation: '-L/usr/local/opt/icu4c/lib'
... rest of stderr output deleted ...
configure:12250: $? = 0
configure:12239: c++ -V >&5
clang: error: unsupported option '-V -isystem/usr/local/include'
clang: error: no input files
configure:12250: $? = 1
configure:12239: c++ -qversion >&5
clang: error: no input files
configure:12250: $? = 1
configure:12254: checking whether we are using the GNU C++ compiler
configure:12273: c++ -c conftest.cpp >&5
configure:12273: $? = 0
configure:12282: result: yes
configure:12291: checking whether c++ accepts -g
configure:12311: c++ -c -g conftest.cpp >&5
configure:12311: $? = 0
configure:12352: result: yes
configure:12377: checking dependency style of c++
configure:12487: result: gcc3
configure:12615: checking for C++ compiler version
configure:12624: c++ --version >&5
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
configure:12635: $? = 0
configure:12624: c++ -v >&5
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
clang: warning: argument unused during compilation: '-I /usr/local/opt/readline/include'
clang: warning: argument unused during compilation: '-I /usr/local/opt/icu4c/include'
clang: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib'
clang: warning: argument unused during compilation: '-L/usr/local/opt/icu4c/lib'
... rest of stderr output deleted ...
configure:12635: $? = 0
configure:12624: c++ -V >&5
clang: error: unsupported option '-V -isystem/usr/local/include'
clang: error: no input files
configure:12635: $? = 1
configure:12624: c++ -qversion >&5
clang: error: no input files
configure:12635: $? = 1
configure:12639: checking whether we are using the GNU C++ compiler
configure:12667: result: yes
configure:12676: checking whether c++ accepts -g
configure:12737: result: yes
configure:12762: checking dependency style of c++
configure:12872: result: gcc3
configure:12895: checking how to run the C++ preprocessor
configure:12922: c++ -E conftest.cpp
configure:12922: $? = 0
configure:12936: c++ -E conftest.cpp
conftest.cpp:28:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 error generated.
configure:12936: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.2.1"
| #define PACKAGE_STRING "Apache CouchDB 1.2.1"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.2.1"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:12961: result: c++ -E
configure:12981: c++ -E conftest.cpp
configure:12981: $? = 0
configure:12995: c++ -E conftest.cpp
conftest.cpp:28:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 error generated.
configure:12995: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.2.1"
| #define PACKAGE_STRING "Apache CouchDB 1.2.1"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.2.1"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:13163: checking for ld used by c++
configure:13230: result: /usr/bin/ld
configure:13237: checking if the linker (/usr/bin/ld) is GNU ld
configure:13252: result: no
configure:13307: checking whether the c++ linker (/usr/bin/ld) supports shared libraries
configure:14220: result: yes
configure:14248: c++ -c -g -O2 conftest.cpp >&5
configure:14251: $? = 0
configure:14433: checking for c++ option to produce PIC
configure:14750: result: -fno-common -DPIC
configure:14759: checking if c++ PIC flag -fno-common -DPIC works
configure:14777: c++ -c -g -O2 -fno-common -DPIC -DPIC conftest.cpp >&5
configure:14781: $? = 0
configure:14794: result: yes
configure:14815: checking if c++ static flag -static works
configure:14843: result: no
configure:14855: checking if c++ supports -c -o file.o
configure:14876: c++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5
configure:14880: $? = 0
configure:14902: result: yes
configure:14907: checking if c++ supports -c -o file.o
configure:14954: result: yes
configure:14984: checking whether the c++ linker (/usr/bin/ld) supports shared libraries
configure:15013: result: yes
configure:15150: checking dynamic linker characteristics
configure:15761: result: darwin11.4.2 dyld
configure:15812: checking how to hardcode library paths into programs
configure:15837: result: immediate
configure:15882: checking whether byte ordering is bigendian
configure:15897: c++ -c -g -O2 conftest.cpp >&5
configure:15897: $? = 0
configure:15942: c++ -c -g -O2 conftest.cpp >&5
configure:15942: $? = 0
configure:15960: c++ -c -g -O2 conftest.cpp >&5
conftest.cpp:35:8: error: use of undeclared identifier 'big'
not big endian
^
1 error generated.
configure:15960: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.2.1"
| #define PACKAGE_STRING "Apache CouchDB 1.2.1"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.2.1"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:16088: result: no
configure:16110: checking for stdint.h
configure:16110: result: yes
configure:16110: checking stddef.h usability
configure:16110: c++ -c -g -O2 conftest.cpp >&5
configure:16110: $? = 0
configure:16110: result: yes
configure:16110: checking stddef.h presence
configure:16110: c++ -E conftest.cpp
configure:16110: $? = 0
configure:16110: result: yes
configure:16110: checking for stddef.h
configure:16110: result: yes
configure:16110: checking sys/mman.h usability
configure:16110: c++ -c -g -O2 conftest.cpp >&5
configure:16110: $? = 0
configure:16110: result: yes
configure:16110: checking sys/mman.h presence
configure:16110: c++ -E conftest.cpp
configure:16110: $? = 0
configure:16110: result: yes
configure:16110: checking for sys/mman.h
configure:16110: result: yes
configure:16110: checking sys/resource.h usability
configure:16110: c++ -c -g -O2 conftest.cpp >&5
configure:16110: $? = 0
configure:16110: result: yes
configure:16110: checking sys/resource.h presence
configure:16110: c++ -E conftest.cpp
configure:16110: $? = 0
configure:16110: result: yes
configure:16110: checking for sys/resource.h
configure:16110: result: yes
configure:16120: checking for mmap
configure:16120: c++ -o conftest -g -O2 conftest.cpp >&5
configure:16120: $? = 0
configure:16120: result: yes
configure:16126: checking if the compiler supports __builtin_expect
configure:16142: c++ -c -g -O2 conftest.cpp >&5
configure:16142: $? = 0
configure:16145: result: yes
configure:16162: checking if the compiler supports __builtin_ctzll
configure:16178: c++ -c -g -O2 conftest.cpp >&5
configure:16178: $? = 0
configure:16181: result: yes
configure:16221: checking for pthread_create in -lpthread
configure:16238: c++ -o conftest -g -O2 conftest.cpp -lpthread >&5
conftest.cpp:38:1: error: no matching function for call to 'pthread_create'
pthread_create((void *)0, (void *)0, (void *)0, (void *)0)
^~~~~~~~~~~~~~
/usr/include/pthread.h:304:11: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'pthread_t *' (aka '_opaque_pthread_t **')
int pthread_create(pthread_t * __restrict,
^
1 error generated.
configure:16238: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.2.1"
| #define PACKAGE_STRING "Apache CouchDB 1.2.1"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.2.1"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDINT_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_CTZ 1
| /* end confdefs.h. */
| #include<pthread.h>
| int
| main ()
| {
| pthread_create((void *)0, (void *)0, (void *)0, (void *)0)
| ;
| return 0;
| }
configure:16251: result: no
configure:16276: checking for erl
configure:16294: found /usr/local/opt/erlang/bin/erl
configure:16306: result: /usr/local/opt/erlang/bin/erl
configure:16928: checking jsapi.h usability
configure:16928: c++ -c -g -O2 -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include conftest.cpp >&5
configure:16928: $? = 0
configure:16928: result: yes
configure:16928: checking jsapi.h presence
configure:16928: c++ -E -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include conftest.cpp
configure:16928: $? = 0
configure:16928: result: yes
configure:16928: checking for jsapi.h
configure:16928: result: yes
configure:17011: checking for JS_NewObject in -lmozjs
configure:17036: c++ -o conftest -g -O2 -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include -L/usr/local/lib -L/opt/local/lib -L/usr/local/lib conftest.cpp -lmozjs -L/opt/local/lib -L/usr/local/lib >&5
ld: warning: directory not found for option '-L/opt/local/lib'
ld: warning: directory not found for option '-L/opt/local/lib'
ld: library not found for -lmozjs
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:17036: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.2.1"
| #define PACKAGE_STRING "Apache CouchDB 1.2.1"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.2.1"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDINT_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_CTZ 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 JS_NewObject ();
| int
| main ()
| {
| return JS_NewObject ();
| ;
| return 0;
| }
configure:17045: result: no
configure:17051: checking for JS_NewObject in -ljs
configure:17076: c++ -o conftest -g -O2 -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include -L/usr/local/lib -L/opt/local/lib -L/usr/local/lib conftest.cpp -ljs -L/opt/local/lib -L/usr/local/lib >&5
ld: warning: directory not found for option '-L/opt/local/lib'
ld: warning: directory not found for option '-L/opt/local/lib'
ld: library not found for -ljs
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:17076: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.2.1"
| #define PACKAGE_STRING "Apache CouchDB 1.2.1"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.2.1"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDINT_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_CTZ 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 JS_NewObject ();
| int
| main ()
| {
| return JS_NewObject ();
| ;
| return 0;
| }
configure:17085: result: no
configure:17091: checking for JS_NewObject in -ljs3250
configure:17116: c++ -o conftest -g -O2 -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include -L/usr/local/lib -L/opt/local/lib -L/usr/local/lib conftest.cpp -ljs3250 -L/opt/local/lib -L/usr/local/lib >&5
ld: warning: directory not found for option '-L/opt/local/lib'
ld: warning: directory not found for option '-L/opt/local/lib'
ld: library not found for -ljs3250
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:17116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.2.1"
| #define PACKAGE_STRING "Apache CouchDB 1.2.1"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.2.1"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDINT_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_CTZ 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 JS_NewObject ();
| int
| main ()
| {
| return JS_NewObject ();
| ;
| return 0;
| }
configure:17125: result: no
configure:17131: checking for JS_NewObject in -ljs32
configure:17156: c++ -o conftest -g -O2 -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include -L/usr/local/lib -L/opt/local/lib -L/usr/local/lib conftest.cpp -ljs32 -L/opt/local/lib -L/usr/local/lib >&5
ld: warning: directory not found for option '-L/opt/local/lib'
ld: warning: directory not found for option '-L/opt/local/lib'
ld: library not found for -ljs32
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:17156: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.2.1"
| #define PACKAGE_STRING "Apache CouchDB 1.2.1"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.2.1"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDINT_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_CTZ 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 JS_NewObject ();
| int
| main ()
| {
| return JS_NewObject ();
| ;
| return 0;
| }
configure:17165: result: no
configure:17171: checking for JS_NewObject in -lmozjs185-1.0
configure:17196: c++ -o conftest -g -O2 -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include -L/usr/local/lib -L/opt/local/lib -L/usr/local/lib conftest.cpp -lmozjs185-1.0 -L/opt/local/lib -L/usr/local/lib >&5
ld: warning: directory not found for option '-L/opt/local/lib'
ld: warning: directory not found for option '-L/opt/local/lib'
Undefined symbols for architecture x86_64:
"_PR_AtomicDecrement", referenced from:
__ZL11StopRequestP9JSContext in libmozjs185-1.0.a(jsapi.o)
_JS_DropPrincipals in libmozjs185-1.0.a(jsapi.o)
__ZL14RunLastDitchGCP9JSContext in libmozjs185-1.0.a(jsgc.o)
js_EnterSharpObject(JSContext*, JSObject*, JSIdArray**, unsigned short**) in libmozjs185-1.0.a(jsobj.o)
js_LeaveSharpObject(JSContext*, JSIdArray**) in libmozjs185-1.0.a(jsobj.o)
js_LookupProperty(JSContext*, JSObject*, long, JSObject**, JSProperty**) in libmozjs185-1.0.a(jsobj.o)
js_LookupPropertyWithFlags(JSContext*, JSObject*, long, unsigned int, JSObject**, JSProperty**) in libmozjs185-1.0.a(jsobj.o)
...
"_PR_AtomicIncrement", referenced from:
__ZL12StartRequestP9JSContext in libmozjs185-1.0.a(jsapi.o)
_JS_HoldPrincipals in libmozjs185-1.0.a(jsapi.o)
AutoGCSession::AutoGCSession(JSContext*) in libmozjs185-1.0.a(jsgc.o)
__ZL14RunLastDitchGCP9JSContext in libmozjs185-1.0.a(jsgc.o)
js_EnterSharpObject(JSContext*, JSObject*, JSIdArray**, unsigned short**) in libmozjs185-1.0.a(jsobj.o)
js_LookupProperty(JSContext*, JSObject*, long, JSObject**, JSProperty**) in libmozjs185-1.0.a(jsobj.o)
js_LookupPropertyWithFlags(JSContext*, JSObject*, long, unsigned int, JSObject**, JSProperty**) in libmozjs185-1.0.a(jsobj.o)
...
"_PR_AtomicSet", referenced from:
AutoGCSession::AutoGCSession(JSContext*) in libmozjs185-1.0.a(jsgc.o)
js::TriggerOperationCallback(JSContext*) in libmozjs185-1.0.a(jscntxt.o)
js::TriggerAllOperationCallbacks(JSRuntime*) in libmozjs185-1.0.a(jscntxt.o)
"_PR_CreateThread", referenced from:
js::GCHelperThread::init(JSRuntime*) in libmozjs185-1.0.a(jsgc.o)
"_PR_DestroyCondVar", referenced from:
JSRuntime::~JSRuntime() in libmozjs185-1.0.a(jsapi.o)
js::GCHelperThread::finish(JSRuntime*) in libmozjs185-1.0.a(jsgc.o)
__ZL20DeleteListOfFatlocksP9JSFatLock in libmozjs185-1.0.a(jslock.o)
"_PR_DestroyLock", referenced from:
JSRuntime::~JSRuntime() in libmozjs185-1.0.a(jsapi.o)
__ZL24FinishRuntimeScriptStateP9JSRuntime in libmozjs185-1.0.a(jsscript.o)
_js_CleanupLocks in libmozjs185-1.0.a(jslock.o)
__ZL20DeleteListOfFatlocksP9JSFatLock in libmozjs185-1.0.a(jslock.o)
"_PR_GetCurrentThread", referenced from:
js_WaitForGC(JSRuntime*) in libmozjs185-1.0.a(jsgc.o)
js_CurrentThread(JSRuntime*) in libmozjs185-1.0.a(jscntxt.o)
"_PR_IntervalNow", referenced from:
js_IntervalNow() in libmozjs185-1.0.a(jsdate.o)
"_PR_IntervalToMilliseconds", referenced from:
js_IntervalNow() in libmozjs185-1.0.a(jsdate.o)
"_PR_JoinThread", referenced from:
js::GCHelperThread::finish(JSRuntime*) in libmozjs185-1.0.a(jsgc.o)
"_PR_Lock", referenced from:
__ZL12StartRequestP9JSContext in libmozjs185-1.0.a(jsapi.o)
__ZL11StopRequestP9JSContext in libmozjs185-1.0.a(jsapi.o)
_JS_SetOptions in libmozjs185-1.0.a(jsapi.o)
_JS_ToggleOptions in libmozjs185-1.0.a(jsapi.o)
_JS_TriggerOperationCallback in libmozjs185-1.0.a(jsapi.o)
_JS_TriggerAllOperationCallbacks in libmozjs185-1.0.a(jsapi.o)
_JS_ClearContextThread in libmozjs185-1.0.a(jsapi.o)
...
"_PR_NewCondVar", referenced from:
JSRuntime::init(unsigned int) in libmozjs185-1.0.a(jsapi.o)
js_InitGC(JSRuntime*, unsigned int) in libmozjs185-1.0.a(jsgc.o)
js::GCHelperThread::init(JSRuntime*) in libmozjs185-1.0.a(jsgc.o)
__ZL10NewFatlockv in libmozjs185-1.0.a(jslock.o)
"_PR_NewLock", referenced from:
JSRuntime::init(unsigned int) in libmozjs185-1.0.a(jsapi.o)
js_InitGC(JSRuntime*, unsigned int) in libmozjs185-1.0.a(jsgc.o)
js_InitRuntimeScriptState(JSRuntime*) in libmozjs185-1.0.a(jsscript.o)
_js_SetupLocks in libmozjs185-1.0.a(jslock.o)
__ZL10NewFatlockv in libmozjs185-1.0.a(jslock.o)
"_PR_NotifyAllCondVar", referenced from:
js_GC(JSContext*, JSCompartment*, JSGCInvocationKind) in libmozjs185-1.0.a(jsgc.o)
js::GCHelperThread::threadLoop(JSRuntime*) in libmozjs185-1.0.a(jsgc.o)
AutoGCSession::~AutoGCSession() in libmozjs185-1.0.a(jsgc.o)
AutoGCSession::~AutoGCSession() in libmozjs185-1.0.a(jsgc.o)
js::gc::SetProtoCheckingForCycles(JSContext*, JSObject*, JSObject*) in libmozjs185-1.0.a(jsgc.o)
js::TraceRuntime(JSTracer*) in libmozjs185-1.0.a(jsgc.o)
js_NewContext(JSRuntime*, unsigned long) in libmozjs185-1.0.a(jscntxt.o)
...
"_PR_NotifyCondVar", referenced from:
__ZL11StopRequestP9JSContext in libmozjs185-1.0.a(jsapi.o)
js::GCHelperThread::finish(JSRuntime*) in libmozjs185-1.0.a(jsgc.o)
js_GC(JSContext*, JSCompartment*, JSGCInvocationKind) in libmozjs185-1.0.a(jsgc.o)
js::GCHelperThread::startBackgroundSweep(JSRuntime*) in libmozjs185-1.0.a(jsgc.o)
__ZL16LetOtherGCFinishP9JSContext in libmozjs185-1.0.a(jsgc.o)
_js_Unlock in libmozjs185-1.0.a(jslock.o)
"_PR_Unlock", referenced from:
__ZL12StartRequestP9JSContext in libmozjs185-1.0.a(jsapi.o)
__ZL11StopRequestP9JSContext in libmozjs185-1.0.a(jsapi.o)
_JS_SetOptions in libmozjs185-1.0.a(jsapi.o)
_JS_ToggleOptions in libmozjs185-1.0.a(jsapi.o)
_JS_TriggerOperationCallback in libmozjs185-1.0.a(jsapi.o)
_JS_TriggerAllOperationCallbacks in libmozjs185-1.0.a(jsapi.o)
_JS_SetContextThread in libmozjs185-1.0.a(jsapi.o)
...
"_PR_WaitCondVar", referenced from:
__ZL12StartRequestP9JSContext in libmozjs185-1.0.a(jsapi.o)
js_WaitForGC(JSRuntime*) in libmozjs185-1.0.a(jsgc.o)
js::GCHelperThread::threadLoop(JSRuntime*) in libmozjs185-1.0.a(jsgc.o)
js::GCHelperThread::waitBackgroundSweepEnd(JSRuntime*) in libmozjs185-1.0.a(jsgc.o)
AutoGCSession::AutoGCSession(JSContext*) in libmozjs185-1.0.a(jsgc.o)
__ZL16LetOtherGCFinishP9JSContext in libmozjs185-1.0.a(jsgc.o)
js_NewContext(JSRuntime*, unsigned long) in libmozjs185-1.0.a(jscntxt.o)
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:17196: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.2.1"
| #define PACKAGE_STRING "Apache CouchDB 1.2.1"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.2.1"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDINT_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_CTZ 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 JS_NewObject ();
| int
| main ()
| {
| return JS_NewObject ();
| ;
| return 0;
| }
configure:17205: result: no
configure:17211: checking for JS_NewObject in -lmozjs185
configure:17236: c++ -o conftest -g -O2 -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include -L/usr/local/lib -L/opt/local/lib -L/usr/local/lib conftest.cpp -lmozjs185 -L/opt/local/lib -L/usr/local/lib >&5
ld: warning: directory not found for option '-L/opt/local/lib'
ld: warning: directory not found for option '-L/opt/local/lib'
configure:17236: $? = 0
configure:17245: result: yes
configure:17273: checking for JS_NewCompartmentAndGlobalObject in -lmozjs185
configure:17298: c++ -o conftest -g -O2 -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include -L/usr/local/lib -L/opt/local/lib -L/usr/local/lib conftest.cpp -lmozjs185 -L/opt/local/lib -L/usr/local/lib >&5
ld: warning: directory not found for option '-L/opt/local/lib'
ld: warning: directory not found for option '-L/opt/local/lib'
configure:17298: $? = 0
configure:17308: result: yes
configure:17360: checking whether JSOPTION_ANONFUNFIX is declared
configure:17360: c++ -c -g -O2 -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include conftest.cpp >&5
configure:17360: $? = 0
configure:17360: result: yes
configure:17386: checking for JS_ThrowStopIteration in -lmozjs185
configure:17411: c++ -o conftest -g -O2 -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include -L/usr/local/lib -L/opt/local/lib -L/usr/local/lib conftest.cpp -lmozjs185 -L/opt/local/lib -L/usr/local/lib >&5
ld: warning: directory not found for option '-L/opt/local/lib'
ld: warning: directory not found for option '-L/opt/local/lib'
configure:17411: $? = 0
configure:17421: result: yes
configure:17431: checking for JS_GetStringCharsAndLength in -lmozjs185
configure:17456: c++ -o conftest -g -O2 -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include -L/usr/local/lib -L/opt/local/lib -L/usr/local/lib conftest.cpp -lmozjs185 -L/opt/local/lib -L/usr/local/lib >&5
ld: warning: directory not found for option '-L/opt/local/lib'
ld: warning: directory not found for option '-L/opt/local/lib'
configure:17456: $? = 0
configure:17466: result: yes
configure:17480: checking for JSScript*
configure:17480: c++ -c -g -O2 -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include conftest.cpp >&5
conftest.cpp:43:13: error: use of undeclared identifier 'JSScript'
if (sizeof (JSScript*))
^
conftest.cpp:43:22: error: expected expression
if (sizeof (JSScript*))
^
2 errors generated.
configure:17480: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Apache CouchDB"
| #define PACKAGE_TARNAME "apache-couchdb"
| #define PACKAGE_VERSION "1.2.1"
| #define PACKAGE_STRING "Apache CouchDB 1.2.1"
| #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
| #define PACKAGE_URL ""
| #define PACKAGE "apache-couchdb"
| #define VERSION "1.2.1"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDINT_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_CTZ 1
| #define SM185 1
| #define SM180 1
| #define HAVE_JS_GET_STRING_CHARS_AND_LENGTH 1
| /* end confdefs.h. */
| #include <jsapi.h>
|
|
| int
| main ()
| {
| if (sizeof (JSScript*))
| return 0;
| ;
| return 0;
| }
configure:17480: result: no
configure:17622: checking for icu-config
configure:17640: found /usr/local/opt/icu4c/bin/icu-config
configure:17653: result: /usr/local/opt/icu4c/bin/icu-config
configure:17669: checking for ICU >= 3.4.1
configure:17673: result: yes
configure:17677: checking ICU_CFLAGS
configure:17680: result: -O2 -Wall -std=c99 -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
configure:17683: checking ICU_CXXFLAGS
configure:17686: result: -O2 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long
configure:17689: checking ICU_LIBS
configure:17692: result: -headerpad_max_install_names -lpthread -lm -L/usr/local/Cellar/icu4c/50.1/lib -licui18n -licuuc -licudata -lpthread -lm
configure:17743: checking for curl-config
configure:17761: found /usr/bin/curl-config
configure:17774: result: /usr/bin/curl-config
configure:17790: checking for curl >= 7.18.0
configure:17794: result: yes
configure:17798: checking CURL_CFLAGS
configure:17801: result:
configure:17804: checking CURL_LIBS
configure:17807: result: -lcurl
configure:17900: checking for erlc
configure:17918: found /usr/local/opt/erlang/bin/erlc
configure:17930: result: /usr/local/opt/erlang/bin/erlc
configure:17945: checking erl_driver.h usability
configure:17945: c++ -c -g -O2 -I/usr/local/lib/erlang/usr/include -I/opt/local/include -I/usr/local/include -I/usr/include conftest.cpp >&5
configure:17945: $? = 0
configure:17945: result: yes
configure:17945: checking erl_driver.h presence
configure:17945: c++ -E -I/usr/local/lib/erlang/usr/include -I/opt/local/include -I/usr/local/include -I/usr/include conftest.cpp
configure:17945: $? = 0
configure:17945: result: yes
configure:17945: checking for erl_driver.h
configure:17945: result: yes
configure:17961: checking for help2man
configure:17979: found /usr/local/opt/help2man/bin/help2man
configure:17991: result: /usr/local/opt/help2man/bin/help2man
configure:18036: checking location of init directory
configure:18052: result: not found
configure:18059: checking location of launchd directory
configure:18066: result: ${prefix}/Library/LaunchDaemons
configure:18427: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by Apache CouchDB config.status 1.2.1, which was
generated by GNU Autoconf 2.67. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on macaroni.local
config.status:1260: creating Makefile
config.status:1260: creating bin/couch-config.tpl
config.status:1260: creating bin/couchdb.tpl
config.status:1260: creating bin/couchdb.bat.tpl
config.status:1260: creating bin/Makefile
config.status:1260: creating etc/couchdb/Makefile
config.status:1260: creating etc/couchdb/default.ini.tpl
config.status:1260: creating etc/default/Makefile
config.status:1260: creating etc/init/couchdb.tpl
config.status:1260: creating etc/init/Makefile
config.status:1260: creating etc/launchd/org.apache.couchdb.plist.tpl
config.status:1260: creating etc/launchd/Makefile
config.status:1260: creating etc/logrotate.d/couchdb.tpl
config.status:1260: creating etc/logrotate.d/Makefile
config.status:1260: creating etc/windows/Makefile
config.status:1260: creating etc/Makefile
config.status:1260: creating share/Makefile
config.status:1260: creating src/Makefile
config.status:1260: creating src/couchdb/couch.app.tpl
config.status:1260: creating src/couchdb/Makefile
config.status:1260: creating src/couchdb/priv/Makefile
config.status:1260: creating src/erlang-oauth/Makefile
config.status:1260: creating src/etap/Makefile
config.status:1260: creating src/ibrowse/Makefile
config.status:1260: creating src/mochiweb/Makefile
config.status:1260: creating src/snappy/Makefile
config.status:1260: creating src/snappy/google-snappy/snappy-stubs-public.h
config.status:1260: creating src/ejson/Makefile
config.status:1260: creating test/Makefile
config.status:1260: creating test/bench/Makefile
config.status:1260: creating test/etap/Makefile
config.status:1260: creating test/etap/test_util.erl
config.status:1260: creating test/javascript/Makefile
config.status:1260: creating test/view_server/Makefile
config.status:1260: creating utils/Makefile
config.status:1260: creating var/Makefile
config.status:1260: creating config.h
config.status:1260: creating src/snappy/google-snappy/config.h
config.status:1488: executing depfiles commands
config.status:1488: executing libtool commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-apple-darwin11.4.2
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=c++
ac_cv_env_ERLC_FLAGS_set=
ac_cv_env_ERLC_FLAGS_value=
ac_cv_env_ERLC_set=
ac_cv_env_ERLC_value=
ac_cv_env_ERL_set=
ac_cv_env_ERL_value=
ac_cv_env_FLAGS_set=
ac_cv_env_FLAGS_value=
ac_cv_env_HELP2MAN_EXECUTABLE_set=
ac_cv_env_HELP2MAN_EXECUTABLE_value=
ac_cv_env_JS185_CFLAGS_set=
ac_cv_env_JS185_CFLAGS_value=
ac_cv_env_JS185_LIBS_set=
ac_cv_env_JS185_LIBS_value=
ac_cv_env_JS_CFLAGS_set=
ac_cv_env_JS_CFLAGS_value=
ac_cv_env_JS_LIBS_set=
ac_cv_env_JS_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/lib/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_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_func_mmap=yes
ac_cv_have_decl_JSOPTION_ANONFUNFIX=yes
ac_cv_have_stddef_h=1
ac_cv_have_stdint_h=1
ac_cv_header_dlfcn_h=yes
ac_cv_header_erl_driver_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_jsapi_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_stdc=yes
ac_cv_header_stddef_h=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_mman_h=yes
ac_cv_header_sys_resource_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=x86_64-apple-darwin11.4.2
ac_cv_lib_js3250_JS_NewObject=no
ac_cv_lib_js32_JS_NewObject=no
ac_cv_lib_js_JS_NewObject=no
ac_cv_lib_mozjs185_1_0_JS_NewObject=no
ac_cv_lib_mozjs185_JS_NewObject=yes
ac_cv_lib_mozjs185___JS_GetStringCharsAndLength=yes
ac_cv_lib_mozjs185___JS_NewCompartmentAndGlobalObject=yes
ac_cv_lib_mozjs185___JS_ThrowStopIteration=yes
ac_cv_lib_mozjs_JS_NewObject=no
ac_cv_objext=o
ac_cv_path_CURL_CONFIG=/usr/bin/curl-config
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_ERL=/usr/local/opt/erlang/bin/erl
ac_cv_path_ERLC=/usr/local/opt/erlang/bin/erlc
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_HELP2MAN_EXECUTABLE=/usr/local/opt/help2man/bin/help2man
ac_cv_path_ICU_CONFIG=/usr/local/opt/icu4c/bin/icu-config
ac_cv_path_SED=/usr/local/Library/ENV/4.3/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_CPP='cc -E'
ac_cv_prog_CXXCPP='c++ -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
ac_cv_prog_ac_ct_LIPO=lipo
ac_cv_prog_ac_ct_NMEDIT=nmedit
ac_cv_prog_ac_ct_OTOOL=otool
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_type_JSScriptp=no
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
lt_cv_apple_cc_single_mod=yes
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_exported_symbols_list=yes
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_LDCXX=/usr/bin/ld
lt_cv_path_NM=/usr/bin/nm
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=yes
lt_cv_prog_compiler_static_works=no
lt_cv_prog_compiler_static_works_CXX=no
lt_cv_prog_gnu_ld=no
lt_cv_prog_gnu_ldcxx=no
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=196608
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /private/tmp/couchdb-RlsL/apache-couchdb-1.2.1/build-aux/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /private/tmp/couchdb-RlsL/apache-couchdb-1.2.1/build-aux/missing --run tar'
AR='ar'
AS='as'
AUTOCONF='${SHELL} /private/tmp/couchdb-RlsL/apache-couchdb-1.2.1/build-aux/missing --run autoconf'
AUTOHEADER='${SHELL} /private/tmp/couchdb-RlsL/apache-couchdb-1.2.1/build-aux/missing --run autoheader'
AUTOMAKE='${SHELL} /private/tmp/couchdb-RlsL/apache-couchdb-1.2.1/build-aux/missing --run automake-1.11'
AWK='awk'
CC='cc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O2 -g -O2'
CPP='cc -E'
CPPFLAGS=' -I/opt/local/include -I/usr/local/include -I/usr/include '
CURL_CFLAGS=''
CURL_CONFIG='/usr/bin/curl-config'
CURL_LIBS='-lcurl'
CXX='c++'
CXXCPP='c++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='dlltool'
DSYMUTIL='dsymutil'
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
ERL='/usr/local/opt/erlang/bin/erl'
ERLANG_FLAGS='-I/usr/local/lib/erlang/usr/include'
ERLC='/usr/local/opt/erlang/bin/erlc'
ERLC_FLAGS=''
EXEEXT=''
FGREP='/usr/bin/grep -F'
FLAGS=''
GREP='/usr/bin/grep'
HELP2MAN_EXECUTABLE='/usr/local/opt/help2man/bin/help2man'
HELP2MAN_FALSE='#'
HELP2MAN_TRUE=''
ICU_BIN=''
ICU_CFLAGS='-O2 -Wall -std=c99 -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings '
ICU_CONFIG='/usr/local/opt/icu4c/bin/icu-config'
ICU_CPPFLAGS=''
ICU_CXXFLAGS='-O2 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long '
ICU_LIBS='-headerpad_max_install_names -lpthread -lm -L/usr/local/Cellar/icu4c/50.1/lib -licui18n -licuuc -licudata -lpthread -lm '
INIT_FALSE=''
INIT_TRUE='#'
INNO_COMPILER_EXECUTABLE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JS185_CFLAGS=''
JS185_LIBS=''
JS_CFLAGS='-DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include '
JS_LDFLAGS='-L/usr/local/lib -L/opt/local/lib -L/usr/local/lib '
JS_LIBS='-lmozjs185 -lm -L/opt/local/lib -L/usr/local/lib '
JS_LIB_BINARY=''
LAUNCHD_FALSE='#'
LAUNCHD_TRUE=''
LD='/usr/bin/ld'
LDFLAGS=' -L/opt/local/lib -L/usr/local/lib '
LIBOBJS=''
LIBS=' -L/opt/local/lib -L/usr/local/lib '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO='lipo'
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /private/tmp/couchdb-RlsL/apache-couchdb-1.2.1/build-aux/missing --run makeinfo'
MKDIR_P='build-aux/install-sh -c -d'
NM='/usr/bin/nm'
NMEDIT='nmedit'
OBJDUMP='false'
OBJEXT='o'
OTOOL64=':'
OTOOL='otool'
PACKAGE='apache-couchdb'
PACKAGE_BUGREPORT='https://issues.apache.org/jira/browse/COUCHDB'
PACKAGE_NAME='Apache CouchDB'
PACKAGE_STRING='Apache CouchDB 1.2.1'
PACKAGE_TARNAME='apache-couchdb'
PACKAGE_URL=''
PACKAGE_VERSION='1.2.1'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/lib/pkgconfig'
RANLIB='ranlib'
SED='/usr/local/Library/ENV/4.3/sed'
SET_MAKE=''
SHELL='/bin/sh'
SNAPPY_MAJOR='1'
SNAPPY_MINOR='0'
SNAPPY_PATCHLEVEL='3'
STRIP='strip'
USE_CURL_FALSE='#'
USE_CURL_TRUE=''
USE_EJSON_COMPARE_NIF_FALSE='#'
USE_EJSON_COMPARE_NIF_TRUE=''
USE_NATIVE_MOCHIJSON_FALSE=''
USE_NATIVE_MOCHIJSON_TRUE='#'
USE_OTP_NIFS_FALSE='#'
USE_OTP_NIFS_TRUE=''
VERSION='1.2.1'
WINDOWS_FALSE=''
WINDOWS_TRUE='#'
abs_top_builddir=''
abs_top_srcdir=''
ac_ct_CC='cc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
ac_cv_have_stddef_h='1'
ac_cv_have_stdint_h='1'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
bug_uri='https://issues.apache.org/jira/browse/COUCHDB'
build='x86_64-apple-darwin11.4.2'
build_alias=''
build_cpu='x86_64'
build_os='darwin11.4.2'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-apple-darwin11.4.2'
host_alias=''
host_cpu='x86_64'
host_os='darwin11.4.2'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
initdir=''
install_sh='${SHELL} /private/tmp/couchdb-RlsL/apache-couchdb-1.2.1/build-aux/install-sh'
launchddir='${prefix}/Library/LaunchDaemons'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localconfdir='/usr/local/etc/couchdb'
localdatadir='${datarootdir}/couchdb'
localdocdir='${datarootdir}/doc/couchdb'
localedir='${datarootdir}/locale'
localerlanglibdir='${exec_prefix}/lib/couchdb/erlang/lib'
locallibbindir='${exec_prefix}/lib/couchdb/bin'
locallibdir='${exec_prefix}/lib/couchdb'
localstatedir='/usr/local/var'
localstatelibdir='/usr/local/var/lib/couchdb'
localstatelogdir='/usr/local/var/log/couchdb'
localstaterundir='/usr/local/var/run/couchdb'
lt_ECHO='/bin/echo'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/build-aux/install-sh -c -d'
msvc_redist_dir=''
msvc_redist_name=''
oldincludedir='/usr/include'
openssl_bin_dir=''
otp_release='R16B'
package_author_address='dev@couchdb.apache.org'
package_author_name='The Apache Software Foundation'
package_identifier='couchdb'
package_name='Apache CouchDB'
package_tarname='apache-couchdb'
pdfdir='${docdir}'
prefix='/usr/local/Cellar/couchdb/1.2.1'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/usr/local/etc'
target_alias=''
version='1.2.1'
version_major='1'
version_minor='2'
version_release=''
version_revision='1'
version_stage=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "Apache CouchDB"
#define PACKAGE_TARNAME "apache-couchdb"
#define PACKAGE_VERSION "1.2.1"
#define PACKAGE_STRING "Apache CouchDB 1.2.1"
#define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB"
#define PACKAGE_URL ""
#define PACKAGE "apache-couchdb"
#define VERSION "1.2.1"
#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 __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_STDINT_H 1
#define HAVE_STDDEF_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_BUILTIN_EXPECT 1
#define HAVE_BUILTIN_CTZ 1
#define SM185 1
#define SM180 1
#define HAVE_JS_GET_STRING_CHARS_AND_LENGTH 1
#define JSSCRIPT_TYPE JSObject*
#define COUCHJS_NAME "couchjs"
#define HAVE_CURL 1
configure: exit 0
@emjayess
Copy link
Author

emjayess commented Mar 6, 2013

what does this mean?

make[3]: *** [etap_request.beam] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: ea13717a9fcce9153f7077f6d55b8f37530b24e4
CPU: quad-core 64-bit ivybridge
OS X: 10.7.5-x86_64
Xcode: 4.6
CLT: 4.6.0.0.1.1358221012
X11: 2.6.4 => /usr/X11
==> ENV
CC: cc
CXX: c++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local/opt/readline:/usr/local/opt/icu4c:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/icu4c/lib/pkgconfig:/usr/local/lib/pkgconfig
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/help2man/bin:/usr/local/opt/nspr/bin:/usr/local/opt/spidermonkey/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/erlang/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: couchdb did not build
Logs:       /Users/emjayess/Library/Logs/Homebrew/couchdb/config.log

@emjayess
Copy link
Author

emjayess commented Mar 6, 2013

full output of brew install -v couchdb

macaroni:~ emjayess$ brew install -v couchdb
==> Downloading http://www.apache.org/dyn/closer.cgi?path=/couchdb/1.2.1/apache-couchdb-1.2.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/couchdb-1.2.1.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/couchdb-1.2.1.tar.gz
==> ./configure --prefix=/usr/local/Cellar/couchdb/1.2.1 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc --with-erlang=/usr/local/lib/erlang/usr/include --with-js-include=/usr/local/include/js --with-js-lib=/usr/local/lib
./configure --prefix=/usr/local/Cellar/couchdb/1.2.1 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc --with-erlang=/usr/local/lib/erlang/usr/include --with-js-include=/usr/local/include/js --with-js-lib=/usr/local/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/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... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -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 gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking build system type... x86_64-apple-darwin11.4.2
checking host system type... x86_64-apple-darwin11.4.2
checking for a sed that does not truncate output... /usr/local/Library/ENV/4.3/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) 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 for /usr/bin/ld option to reload object files... -r
checking for objdump... no
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 output from cc object... ok
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 dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common -DPIC
checking if cc PIC flag -fno-common -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.4.2 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether ln -s works... yes
checking for pkg-config... no
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking dependency style of c++... (cached) gcc3
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fno-common -DPIC
checking if c++ PIC flag -fno-common -DPIC works... yes
checking if c++ static flag -static works... no
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.4.2 dyld
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking for stdint.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for mmap... yes
checking if the compiler supports __builtin_expect... yes
checking if the compiler supports __builtin_ctzll... yes
checking for pthread_create in -lpthread... no
checking for erl... /usr/local/opt/erlang/bin/erl
checking jsapi.h usability... yes
checking jsapi.h presence... yes
checking for jsapi.h... yes
checking for JS_NewObject in -lmozjs... no
checking for JS_NewObject in -ljs... no
checking for JS_NewObject in -ljs3250... no
checking for JS_NewObject in -ljs32... no
checking for JS_NewObject in -lmozjs185-1.0... no
checking for JS_NewObject in -lmozjs185... yes
checking for JS_NewCompartmentAndGlobalObject in -lmozjs185... yes
checking whether JSOPTION_ANONFUNFIX is declared... yes
checking for JS_ThrowStopIteration in -lmozjs185... yes
checking for JS_GetStringCharsAndLength in -lmozjs185... yes
checking for JSScript*... no
checking for icu-config... /usr/local/opt/icu4c/bin/icu-config
checking for ICU >= 3.4.1... yes
checking ICU_CFLAGS... -O2 -Wall -std=c99 -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
checking ICU_CXXFLAGS... -O2 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long
checking ICU_LIBS... -headerpad_max_install_names  -lpthread -lm   -L/usr/local/Cellar/icu4c/50.1/lib -licui18n -licuuc -licudata  -lpthread -lm
checking for curl-config... /usr/bin/curl-config
checking for curl >= 7.18.0... yes
checking CURL_CFLAGS...
checking CURL_LIBS... -lcurl
checking for erlc... /usr/local/opt/erlang/bin/erlc
checking erl_driver.h usability... yes
checking erl_driver.h presence... yes
checking for erl_driver.h... yes
checking for help2man... /usr/local/opt/help2man/bin/help2man
checking location of init directory... not found
checking location of launchd directory... ${prefix}/Library/LaunchDaemons
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bin/couch-config.tpl
config.status: creating bin/couchdb.tpl
config.status: creating bin/couchdb.bat.tpl
config.status: creating bin/Makefile
config.status: creating etc/couchdb/Makefile
config.status: creating etc/couchdb/default.ini.tpl
config.status: creating etc/default/Makefile
config.status: creating etc/init/couchdb.tpl
config.status: creating etc/init/Makefile
config.status: creating etc/launchd/org.apache.couchdb.plist.tpl
config.status: creating etc/launchd/Makefile
config.status: creating etc/logrotate.d/couchdb.tpl
config.status: creating etc/logrotate.d/Makefile
config.status: creating etc/windows/Makefile
config.status: creating etc/Makefile
config.status: creating share/Makefile
config.status: creating src/Makefile
config.status: creating src/couchdb/couch.app.tpl
config.status: creating src/couchdb/Makefile
config.status: creating src/couchdb/priv/Makefile
config.status: creating src/erlang-oauth/Makefile
config.status: creating src/etap/Makefile
config.status: creating src/ibrowse/Makefile
config.status: creating src/mochiweb/Makefile
config.status: creating src/snappy/Makefile
config.status: creating src/snappy/google-snappy/snappy-stubs-public.h
config.status: creating src/ejson/Makefile
config.status: creating test/Makefile
config.status: creating test/bench/Makefile
config.status: creating test/etap/Makefile
config.status: creating test/etap/test_util.erl
config.status: creating test/javascript/Makefile
config.status: creating test/view_server/Makefile
config.status: creating utils/Makefile
config.status: creating var/Makefile
config.status: creating config.h
config.status: creating src/snappy/google-snappy/config.h
config.status: executing depfiles commands
config.status: executing libtool commands

You have configured Apache CouchDB, time to relax.

Run `make && sudo make install' to install.
==> make
make
/usr/bin/make  all-recursive
Making all in bin
sed -e "s|%ERL%|/usr/local/opt/erlang/bin/erl|g" \
        -e "s|%ICU_CONFIG%|/usr/local/opt/icu4c/bin/icu-config|g" \
        -e "s|%bindir%|/usr/local/Cellar/couchdb/1.2.1/bin|g" \
        -e "s|%localerlanglibdir%|/usr/local/Cellar/couchdb/1.2.1/lib/couchdb/erlang/lib|g" \
        -e "s|%defaultini%|default.ini|g" \
        -e "s|%localini%|local.ini|g" \
        -e "s|%localconfdir%|/usr/local/etc/couchdb|g" \
        -e "s|%localstatelogdir%|/usr/local/var/log/couchdb|g" \
        -e "s|%localstatelibdir%|/usr/local/var/lib/couchdb|g" \
        -e "s|%localstatedir%|/usr/local/var|g" \
        -e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \
        -e "s|%package_author_address%|dev@couchdb.apache.org|g" \
        -e "s|%package_author_name%|The Apache Software Foundation|g" \
        -e "s|%package_name%|Apache CouchDB|g" \
        -e "s|%version%|1.2.1|g" \
        -e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|g" > \
    couchdb < couchdb.tpl
sed -e "s|%ERL%|/usr/local/opt/erlang/bin/erl|g" \
        -e "s|%bindir%|/usr/local/Cellar/couchdb/1.2.1/bin|g" \
        -e "s|%localerlanglibdir%|/usr/local/Cellar/couchdb/1.2.1/lib/couchdb/erlang/lib|g" \
        -e "s|%localconfdir%|/usr/local/etc/couchdb|g" \
        -e "s|%localdatadir%|/usr/local/Cellar/couchdb/1.2.1/share/couchdb|g" \
        -e "s|%localbuilddatadir%|/usr/local/Cellar/couchdb/1.2.1/share/couchdb|g" \
        -e "s|%localstatelogdir%|/usr/local/var/log/couchdb|g" \
        -e "s|%localstatelibdir%|/usr/local/var/lib/couchdb|g" \
        -e "s|%localstatedir%|/usr/local/var|g" \
        -e "s|%localstaterundir%|/usr/local/var/run/couchdb|g" \
        -e "s|%couchlibdir%|/usr/local/Cellar/couchdb/1.2.1/lib/couchdb/erlang/lib/couch-%version%|g"\
        -e "s|%couchincludedir%|/usr/local/Cellar/couchdb/1.2.1/lib/couchdb/erlang/lib/include|g"\
        -e "s|%couchebindir%|/usr/local/Cellar/couchdb/1.2.1/lib/couchdb/erlang/lib/ebin|g"\
        -e "s|%couchprivlibdir%|/usr/local/Cellar/couchdb/1.2.1/lib/couchdb/erlang/lib/couch-%version%/priv/lib|g"\
        -e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \
        -e "s|%package_author_address%|dev@couchdb.apache.org|g" \
        -e "s|%package_author_name%|The Apache Software Foundation|g" \
        -e "s|%package_name%|Apache CouchDB|g" \
        -e "s|%version%|1.2.1|g" \
        -e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|g" > \
    couch-config < couch-config.tpl
ln -s -f "/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/src/couchdb/priv/couchjs" "couchjs_dev"
sed -e "s|%ERL%|/usr/local/opt/erlang/bin/erl|g" \
        -e "s|%bindir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/bin|g" \
        -e "s|%localerlanglibdir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1\/src\/couchdb|g" \
        -e "s|%couchlibdir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1\/src\/couchdb|g"\
        -e "s|%couchincludedir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1\/src\/couchdb|g"\
        -e "s|%couchebindir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1\/src\/couchdb|g"\
        -e "s|%couchprivlibdir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/src/couchdb/priv/.libs|g"\
        -e "s|%localdatadir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/share|g" \
        -e "s|%localbuilddatadir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/share|g" \
        -e "s|%localstatelibdir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/tmp/lib|g" \
        -e "s|%localstatelogdir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/tmp/log|g" \
        -e "s|%localstatedir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/tmp|g" \
        -e "s|%localstaterundir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/tmp/run|g" \
        -e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \
        -e "s|%package_author_address%|dev@couchdb.apache.org|g" \
        -e "s|%package_author_name%|The Apache Software Foundation|g" \
        -e "s|%package_name%|Apache CouchDB|g" \
        -e "s|%version%|1.2.1|g" \
        -e "s|%couchdb_command_name%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/utils/run|g" > \
    couch-config_dev < couch-config.tpl
touch couchdb.1
if test -x "/usr/local/opt/help2man/bin/help2man"; then \
        /usr/bin/make -f Makefile couchdb; \
        /usr/local/opt/help2man/bin/help2man --no-info --help-option="-h" --version-option="-V" \
            --name="Apache CouchDB database server" ./couchdb --output couchdb.1; \
    fi
chmod +x couch-config_dev
make[3]: `couchdb' is up to date.
chmod +x couchdb
chmod +x couch-config
Making all in etc
Making all in couchdb
sed -e "s|%bindir%|/usr/local/Cellar/couchdb/1.2.1/bin|g" \
        -e "s|%localconfdir%|/usr/local/etc/couchdb|g" \
        -e "s|%localdatadir%|/usr/local/Cellar/couchdb/1.2.1/share/couchdb|g" \
        -e "s|%localbuilddatadir%|/usr/local/Cellar/couchdb/1.2.1/share/couchdb|g" \
        -e "s|%localstatelibdir%|/usr/local/var/lib/couchdb|g" \
        -e "s|%localstatelogdir%|/usr/local/var/log/couchdb|g" \
        -e "s|%localstaterundir%|/usr/local/var/run/couchdb|g" \
        -e "s|%couchprivlibdir%|/usr/local/Cellar/couchdb/1.2.1/lib/couchdb/erlang/lib/couch-1.2.1/priv/lib|g" \
        -e "s|%couchjs_command_name%|`echo couchjs | sed 's,x,x,'`|g" \
    < default.ini.tpl > default.ini
sed -e "s|%bindir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/bin|g" \
        -e "s|%localconfdir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/etc/couchdb|g" \
        -e "s|%localdatadir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/share|g" \
        -e "s|%localbuilddatadir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/share|g" \
        -e "s|%localstatelibdir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/tmp/lib|g" \
        -e "s|%localstatelogdir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/tmp/log|g" \
        -e "s|%localstaterundir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/tmp/run|g" \
        -e "s|%couchprivlibdir%|/private/tmp/couchdb-ZjW7/apache-couchdb-1.2.1/src/couchdb/priv/.libs|g" \
        -e "s|%couchjs_command_name%|`echo couchjs_dev | sed 's,x,x,'`|g" \
    < default.ini.tpl > default_dev.ini
if test ! -f "local_dev.ini"; then \
        cp local.ini local_dev.ini; \
    fi
Making all in default
make[3]: Nothing to be done for `all'.
Making all in init
make[3]: Nothing to be done for `all'.
Making all in launchd
make[3]: Nothing to be done for `all'.
Making all in logrotate.d
make[3]: Nothing to be done for `all'.
Making all in windows
make[3]: Nothing to be done for `all'.
if test "../build-aux/install-sh -c -d"; then \
        ../build-aux/install-sh -c -d launchd; \
    else \
        if test ! -d launchd; then \
            mkdir launchd; \
        fi \
    fi
sed -e "s|%localstatelogdir%|/usr/local/var/log/couchdb|g" < logrotate.d/couchdb.tpl > logrotate.d/couchdb
sed -e "s|%configure_input%|launchd/org.apache.couchdb.plist. Generated from launchd/org.apache.couchdb.plist.tpl by configure.|" \
        -e "s|%bindir%|/usr/local/Cellar/couchdb/1.2.1/bin|" \
        -e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|" \
    < launchd/org.apache.couchdb.plist.tpl > launchd/org.apache.couchdb.plist
Making all in src
Making all in couchdb
Making all in priv
/bin/sh ../../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy   -I/usr/local/lib/erlang/usr/include -I/opt/local/include -I/usr/local/include -I/usr/include   -O2 -g -O2 -MT couch_icu_driver_la-couch_icu_driver.lo -MD -MP -MF .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c -o couch_icu_driver_la-couch_icu_driver.lo `test -f 'icu_driver/couch_icu_driver.c' || echo './'`icu_driver/couch_icu_driver.c
/bin/sh ../../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy  -D_BSD_SOURCE  -I/usr/local/lib/erlang/usr/include -I/opt/local/include -I/usr/local/include -I/usr/include   -O2 -g -O2 -MT couch_ejson_compare_la-couch_ejson_compare.lo -MD -MP -MF .deps/couch_ejson_compare_la-couch_ejson_compare.Tpo -c -o couch_ejson_compare_la-couch_ejson_compare.lo `test -f 'couch_ejson_compare/couch_ejson_compare.c' || echo './'`couch_ejson_compare/couch_ejson_compare.c
cp spawnkillable/couchspawnkillable.sh couchspawnkillable
cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy   -I/opt/local/include -I/usr/local/include -I/usr/include  -g -Wall -Werror -D_BSD_SOURCE  -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs  -I/opt/local/include -I/usr/local/include -I/usr/include  -O2 -g -O2 -MT couchjs-http.o -MD -MP -MF .deps/couchjs-http.Tpo -c -o couchjs-http.o `test -f 'couch_js/http.c' || echo './'`couch_js/http.c
chmod +x couchspawnkillable
cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy   -I/opt/local/include -I/usr/local/include -I/usr/include  -g -Wall -Werror -D_BSD_SOURCE  -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs  -I/opt/local/include -I/usr/local/include -I/usr/include  -O2 -g -O2 -MT couchjs-main.o -MD -MP -MF .deps/couchjs-main.Tpo -c -o couchjs-main.o `test -f 'couch_js/main.c' || echo './'`couch_js/main.c
brew: superenv removed: -I/usr/local/include -g -Wall -Werror -I/usr/local/include -O2 -g -O2
brew: superenv removed: -I/usr/local/include -g -Wall -Werror -I/usr/local/include -O2 -g -O2
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -I/usr/local/lib/erlang/usr/include -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -MT couch_icu_driver_la-couch_icu_driver.lo -MD -MP -MF .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c icu_driver/couch_icu_driver.c  -fno-common -DPIC -o .libs/couch_icu_driver_la-couch_icu_driver.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -D_BSD_SOURCE -I/usr/local/lib/erlang/usr/include -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -MT couch_ejson_compare_la-couch_ejson_compare.lo -MD -MP -MF .deps/couch_ejson_compare_la-couch_ejson_compare.Tpo -c couch_ejson_compare/couch_ejson_compare.c  -fno-common -DPIC -o .libs/couch_ejson_compare_la-couch_ejson_compare.o
brew: superenv removed: -I/usr/local/include -O2 -g -O2
brew: superenv removed: -I/usr/local/include -O2 -g -O2
mv -f .deps/couchjs-main.Tpo .deps/couchjs-main.Po
cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy   -I/opt/local/include -I/usr/local/include -I/usr/include  -g -Wall -Werror -D_BSD_SOURCE  -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs  -I/opt/local/include -I/usr/local/include -I/usr/include  -O2 -g -O2 -MT couchjs-utf8.o -MD -MP -MF .deps/couchjs-utf8.Tpo -c -o couchjs-utf8.o `test -f 'couch_js/utf8.c' || echo './'`couch_js/utf8.c
mv -f .deps/couchjs-http.Tpo .deps/couchjs-http.Po
cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy   -I/opt/local/include -I/usr/local/include -I/usr/include  -g -Wall -Werror -D_BSD_SOURCE  -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs  -I/opt/local/include -I/usr/local/include -I/usr/include  -O2 -g -O2 -MT couchjs-util.o -MD -MP -MF .deps/couchjs-util.Tpo -c -o couchjs-util.o `test -f 'couch_js/util.c' || echo './'`couch_js/util.c
brew: superenv removed: -I/usr/local/include -g -Wall -Werror -I/usr/local/include -O2 -g -O2
brew: superenv removed: -I/usr/local/include -g -Wall -Werror -I/usr/local/include -O2 -g -O2
mv -f .deps/couch_icu_driver_la-couch_icu_driver.Tpo .deps/couch_icu_driver_la-couch_icu_driver.Plo
cp stat_descriptions.cfg.in stat_descriptions.cfg
/bin/sh ../../../libtool --tag=CC   --mode=link cc  -O2 -g -O2 -module -avoid-version  -L/opt/local/lib -L/usr/local/lib  -o couch_icu_driver.la -rpath /usr/local/Cellar/couchdb/1.2.1/lib/couchdb/erlang/lib/couch-1.2.1/priv/lib couch_icu_driver_la-couch_icu_driver.lo -headerpad_max_install_names  -lpthread -lm   -L/usr/local/Cellar/icu4c/50.1/lib -licui18n -licuuc -licudata  -lpthread -lm    -L/opt/local/lib -L/usr/local/lib
mv -f .deps/couch_ejson_compare_la-couch_ejson_compare.Tpo .deps/couch_ejson_compare_la-couch_ejson_compare.Plo
/bin/sh ../../../libtool --tag=CC   --mode=link cc  -O2 -g -O2 -module -avoid-version  -L/opt/local/lib -L/usr/local/lib  -o couch_ejson_compare.la -rpath /usr/local/Cellar/couchdb/1.2.1/lib/couchdb/erlang/lib/couch-1.2.1/priv/lib couch_ejson_compare_la-couch_ejson_compare.lo -headerpad_max_install_names  -lpthread -lm   -L/usr/local/Cellar/icu4c/50.1/lib -licui18n -licuuc -licudata  -lpthread -lm    -L/opt/local/lib -L/usr/local/lib
mv -f .deps/couchjs-utf8.Tpo .deps/couchjs-utf8.Po
mv -f .deps/couchjs-util.Tpo .deps/couchjs-util.Po
/bin/sh ../../../libtool --tag=CC   --mode=link cc -g -Wall -Werror -D_BSD_SOURCE  -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs  -I/opt/local/include -I/usr/local/include -I/usr/include  -O2 -g -O2 -L/usr/local/lib  -L/opt/local/lib -L/usr/local/lib  -L/opt/local/lib -L/usr/local/lib  -o couchjs couchjs-http.o couchjs-main.o couchjs-utf8.o couchjs-util.o -lcurl -lmozjs185 -lm    -L/opt/local/lib -L/usr/local/lib  -L/opt/local/lib -L/usr/local/lib
libtool: link: cc -Wl,-undefined -Wl,dynamic_lookup -o .libs/couch_icu_driver.so -bundle  .libs/couch_icu_driver_la-couch_icu_driver.o   -L/opt/local/lib -L/usr/local/lib -L/usr/local/Cellar/icu4c/50.1/lib -licui18n -licuuc -licudata -lpthread -lm
libtool: link: cc -Wl,-undefined -Wl,dynamic_lookup -o .libs/couch_ejson_compare.so -bundle  .libs/couch_ejson_compare_la-couch_ejson_compare.o   -L/opt/local/lib -L/usr/local/lib -L/usr/local/Cellar/icu4c/50.1/lib -licui18n -licuuc -licudata -lpthread -lm
brew: superenv removed: -L/opt/local/lib -L/usr/local/lib
brew: superenv removed: -L/opt/local/lib -L/usr/local/lib
libtool: link: cc -g -Wall -Werror -D_BSD_SOURCE -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -o couchjs couchjs-http.o couchjs-main.o couchjs-utf8.o couchjs-util.o  -L/usr/local/lib -L/opt/local/lib -lcurl -lmozjs185 -lm
brew: superenv removed: -g -Wall -Werror -I/usr/local/include -O2 -g -O2 -L/usr/local/lib -L/opt/local/lib
libtool: link: dsymutil .libs/couch_icu_driver.so || :
libtool: link: dsymutil .libs/couch_ejson_compare.so || :
warning: no debug symbols in executable (-arch x86_64)
warning: no debug symbols in executable (-arch x86_64)
touch couchjs.1
if test -x "/usr/local/opt/help2man/bin/help2man"; then \
        /usr/local/opt/help2man/bin/help2man --no-info --help-option="-h" --version-option="-V" \
            --name="Apache CouchDB JavaScript interpreter" ./couchjs --output couchjs.1; \
    fi
libtool: link: ( cd ".libs" && rm -f "couch_icu_driver.la" && ln -s "../couch_icu_driver.la" "couch_icu_driver.la" )
libtool: link: ( cd ".libs" && rm -f "couch_ejson_compare.la" && ln -s "../couch_ejson_compare.la" "couch_ejson_compare.la" )
modules=`{ find . -name "*.erl" -exec basename {} .erl \; | tr '\n' ','; echo ''; } | sed "s/,$//"`; \
    sed -e "s|%package_name%|Apache CouchDB|g" \
            -e "s|%version%|1.2.1|g" \
            -e "s|@modules@|$modules|g" \
            -e "s|%localconfdir%|/usr/local/etc/couchdb|g" \
            -e "s|@defaultini@|default.ini|g" \
            -e "s|@localini@|local.ini|g" > \
    couch.app < couch.app.tpl
/usr/local/opt/erlang/bin/erlc   couch.erl;
/usr/local/opt/erlang/bin/erlc   couch_api_wrap.erl;
/usr/local/opt/erlang/bin/erlc   couch_api_wrap_httpc.erl;
chmod +x couch.app
/usr/local/opt/erlang/bin/erlc   couch_app.erl;
/usr/local/opt/erlang/bin/erlc   couch_auth_cache.erl;
/usr/local/opt/erlang/bin/erlc   couch_btree.erl;
/usr/local/opt/erlang/bin/erlc   couch_changes.erl;
/usr/local/opt/erlang/bin/erlc   couch_compaction_daemon.erl;
/usr/local/opt/erlang/bin/erlc   couch_compress.erl;
/usr/local/opt/erlang/bin/erlc   couch_config.erl;
/usr/local/opt/erlang/bin/erlc   couch_config_writer.erl;
/usr/local/opt/erlang/bin/erlc   couch_db.erl;
/usr/local/opt/erlang/bin/erlc   couch_db_update_notifier.erl;
/usr/local/opt/erlang/bin/erlc   couch_db_update_notifier_sup.erl;
/usr/local/opt/erlang/bin/erlc   couch_doc.erl;
/usr/local/opt/erlang/bin/erlc   couch_drv.erl;
/usr/local/opt/erlang/bin/erlc   couch_ejson_compare.erl;
/usr/local/opt/erlang/bin/erlc   couch_event_sup.erl;
/usr/local/opt/erlang/bin/erlc   couch_external_manager.erl;
/usr/local/opt/erlang/bin/erlc   couch_external_server.erl;
/usr/local/opt/erlang/bin/erlc   couch_file.erl;
/usr/local/opt/erlang/bin/erlc   couch_httpc_pool.erl;
/usr/local/opt/erlang/bin/erlc   couch_httpd.erl;
/usr/local/opt/erlang/bin/erlc   couch_httpd_db.erl;
/usr/local/opt/erlang/bin/erlc   couch_httpd_auth.erl;
/usr/local/opt/erlang/bin/erlc   couch_httpd_oauth.erl;
/usr/local/opt/erlang/bin/erlc   couch_httpd_proxy.erl;
/usr/local/opt/erlang/bin/erlc   couch_httpd_external.erl;
/usr/local/opt/erlang/bin/erlc   couch_httpd_show.erl;
/usr/local/opt/erlang/bin/erlc   couch_httpd_view.erl;
/usr/local/opt/erlang/bin/erlc   couch_httpd_misc_handlers.erl;
/usr/local/opt/erlang/bin/erlc   couch_httpd_replicator.erl;
/usr/local/opt/erlang/bin/erlc   couch_httpd_rewrite.erl;
/usr/local/opt/erlang/bin/erlc   couch_httpd_stats_handlers.erl;
/usr/local/opt/erlang/bin/erlc   couch_httpd_vhost.erl;
/usr/local/opt/erlang/bin/erlc   couch_key_tree.erl;
couch_httpd_rewrite.erl:124: Warning: variable 'NRewrites' is unused
/usr/local/opt/erlang/bin/erlc   couch_log.erl;
/usr/local/opt/erlang/bin/erlc   couch_native_process.erl;
/usr/local/opt/erlang/bin/erlc   couch_os_daemons.erl;
/usr/local/opt/erlang/bin/erlc   couch_os_process.erl;
/usr/local/opt/erlang/bin/erlc   couch_primary_sup.erl;
/usr/local/opt/erlang/bin/erlc   couch_query_servers.erl;
/usr/local/opt/erlang/bin/erlc   couch_ref_counter.erl;
/usr/local/opt/erlang/bin/erlc   couch_rep_sup.erl;
/usr/local/opt/erlang/bin/erlc   couch_replication_manager.erl;
/usr/local/opt/erlang/bin/erlc   couch_replication_notifier.erl;
/usr/local/opt/erlang/bin/erlc   couch_replicator.erl;
/usr/local/opt/erlang/bin/erlc   couch_replicator_worker.erl;
/usr/local/opt/erlang/bin/erlc   couch_replicator_utils.erl;
/usr/local/opt/erlang/bin/erlc   couch_secondary_sup.erl;
/usr/local/opt/erlang/bin/erlc   couch_server.erl;
/usr/local/opt/erlang/bin/erlc   couch_server_sup.erl;
/usr/local/opt/erlang/bin/erlc   couch_stats_aggregator.erl;
/usr/local/opt/erlang/bin/erlc   couch_stats_collector.erl;
/usr/local/opt/erlang/bin/erlc   couch_stream.erl;
/usr/local/opt/erlang/bin/erlc   couch_task_status.erl;
/usr/local/opt/erlang/bin/erlc   couch_users_db.erl;
/usr/local/opt/erlang/bin/erlc   couch_util.erl;
/usr/local/opt/erlang/bin/erlc   couch_uuids.erl;
/usr/local/opt/erlang/bin/erlc   couch_view.erl;
/usr/local/opt/erlang/bin/erlc   couch_view_compactor.erl;
/usr/local/opt/erlang/bin/erlc   couch_view_updater.erl;
/usr/local/opt/erlang/bin/erlc   couch_view_group.erl;
/usr/local/opt/erlang/bin/erlc   couch_db_updater.erl;
/usr/local/opt/erlang/bin/erlc   couch_work_queue.erl;
/usr/local/opt/erlang/bin/erlc   json_stream_parse.erl;
Making all in ejson
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy   -I/opt/local/include -I/usr/local/include -I/usr/include  -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-ejson.lo -MD -MP -MF .deps/ejson_la-ejson.Tpo -c -o ejson_la-ejson.lo `test -f 'ejson.c' || echo './'`ejson.c
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy   -I/opt/local/include -I/usr/local/include -I/usr/include  -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-decode.lo -MD -MP -MF .deps/ejson_la-decode.Tpo -c -o ejson_la-decode.lo `test -f 'decode.c' || echo './'`decode.c
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy   -I/opt/local/include -I/usr/local/include -I/usr/include  -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-encode.lo -MD -MP -MF .deps/ejson_la-encode.Tpo -c -o ejson_la-encode.lo `test -f 'encode.c' || echo './'`encode.c
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy   -I/opt/local/include -I/usr/local/include -I/usr/include  -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-yajl_alloc.lo -MD -MP -MF .deps/ejson_la-yajl_alloc.Tpo -c -o ejson_la-yajl_alloc.lo `test -f 'yajl/yajl_alloc.c' || echo './'`yajl/yajl_alloc.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy -I/opt/local/include -I/usr/local/include -I/usr/include -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-encode.lo -MD -MP -MF .deps/ejson_la-encode.Tpo -c encode.c  -fno-common -DPIC -o .libs/ejson_la-encode.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy -I/opt/local/include -I/usr/local/include -I/usr/include -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-yajl_alloc.lo -MD -MP -MF .deps/ejson_la-yajl_alloc.Tpo -c yajl/yajl_alloc.c  -fno-common -DPIC -o .libs/ejson_la-yajl_alloc.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy -I/opt/local/include -I/usr/local/include -I/usr/include -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-decode.lo -MD -MP -MF .deps/ejson_la-decode.Tpo -c decode.c  -fno-common -DPIC -o .libs/ejson_la-decode.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy -I/opt/local/include -I/usr/local/include -I/usr/include -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-ejson.lo -MD -MP -MF .deps/ejson_la-ejson.Tpo -c ejson.c  -fno-common -DPIC -o .libs/ejson_la-ejson.o
brew: superenv removed: -I/usr/local/include -O2 -g -O2
brew: superenv removed: -I/usr/local/include -O2 -g -O2
brew: superenv removed: -I/usr/local/include -O2 -g -O2
brew: superenv removed: -I/usr/local/include -O2 -g -O2
mv -f .deps/ejson_la-yajl_alloc.Tpo .deps/ejson_la-yajl_alloc.Plo
mv -f .deps/ejson_la-ejson.Tpo .deps/ejson_la-ejson.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy   -I/opt/local/include -I/usr/local/include -I/usr/include  -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-yajl_buf.lo -MD -MP -MF .deps/ejson_la-yajl_buf.Tpo -c -o ejson_la-yajl_buf.lo `test -f 'yajl/yajl_buf.c' || echo './'`yajl/yajl_buf.c
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy   -I/opt/local/include -I/usr/local/include -I/usr/include  -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-yajl.lo -MD -MP -MF .deps/ejson_la-yajl.Tpo -c -o ejson_la-yajl.lo `test -f 'yajl/yajl.c' || echo './'`yajl/yajl.c
mv -f .deps/ejson_la-encode.Tpo .deps/ejson_la-encode.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy -I/opt/local/include -I/usr/local/include -I/usr/include -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-yajl.lo -MD -MP -MF .deps/ejson_la-yajl.Tpo -c yajl/yajl.c  -fno-common -DPIC -o .libs/ejson_la-yajl.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy -I/opt/local/include -I/usr/local/include -I/usr/include -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-yajl_buf.lo -MD -MP -MF .deps/ejson_la-yajl_buf.Tpo -c yajl/yajl_buf.c  -fno-common -DPIC -o .libs/ejson_la-yajl_buf.o
mv -f .deps/ejson_la-decode.Tpo .deps/ejson_la-decode.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy   -I/opt/local/include -I/usr/local/include -I/usr/include  -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-yajl_encode.lo -MD -MP -MF .deps/ejson_la-yajl_encode.Tpo -c -o ejson_la-yajl_encode.lo `test -f 'yajl/yajl_encode.c' || echo './'`yajl/yajl_encode.c
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy   -I/opt/local/include -I/usr/local/include -I/usr/include  -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-yajl_gen.lo -MD -MP -MF .deps/ejson_la-yajl_gen.Tpo -c -o ejson_la-yajl_gen.lo `test -f 'yajl/yajl_gen.c' || echo './'`yajl/yajl_gen.c
brew: superenv removed: -I/usr/local/include -O2 -g -O2
brew: superenv removed: -I/usr/local/include -O2 -g -O2
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy -I/opt/local/include -I/usr/local/include -I/usr/include -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-yajl_encode.lo -MD -MP -MF .deps/ejson_la-yajl_encode.Tpo -c yajl/yajl_encode.c  -fno-common -DPIC -o .libs/ejson_la-yajl_encode.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy -I/opt/local/include -I/usr/local/include -I/usr/include -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-yajl_gen.lo -MD -MP -MF .deps/ejson_la-yajl_gen.Tpo -c yajl/yajl_gen.c  -fno-common -DPIC -o .libs/ejson_la-yajl_gen.o
mv -f .deps/ejson_la-yajl.Tpo .deps/ejson_la-yajl.Plo
mv -f .deps/ejson_la-yajl_buf.Tpo .deps/ejson_la-yajl_buf.Plo
brew: superenv removed: -I/usr/local/include -O2 -g -O2
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy   -I/opt/local/include -I/usr/local/include -I/usr/include  -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-yajl_lex.lo -MD -MP -MF .deps/ejson_la-yajl_lex.Tpo -c -o ejson_la-yajl_lex.lo `test -f 'yajl/yajl_lex.c' || echo './'`yajl/yajl_lex.c
/bin/sh ../../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy   -I/opt/local/include -I/usr/local/include -I/usr/include  -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-yajl_parser.lo -MD -MP -MF .deps/ejson_la-yajl_parser.Tpo -c -o ejson_la-yajl_parser.lo `test -f 'yajl/yajl_parser.c' || echo './'`yajl/yajl_parser.c
brew: superenv removed: -I/usr/local/include -O2 -g -O2
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy -I/opt/local/include -I/usr/local/include -I/usr/include -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-yajl_lex.lo -MD -MP -MF .deps/ejson_la-yajl_lex.Tpo -c yajl/yajl_lex.c  -fno-common -DPIC -o .libs/ejson_la-yajl_lex.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/google-snappy -I/opt/local/include -I/usr/local/include -I/usr/include -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -MT ejson_la-yajl_parser.lo -MD -MP -MF .deps/ejson_la-yajl_parser.Tpo -c yajl/yajl_parser.c  -fno-common -DPIC -o .libs/ejson_la-yajl_parser.o
brew: superenv removed: -I/usr/local/include -O2 -g -O2
brew: superenv removed: -I/usr/local/include -O2 -g -O2
mv -f .deps/ejson_la-yajl_encode.Tpo .deps/ejson_la-yajl_encode.Plo
cp ejson.app.in ejson.app
/usr/local/opt/erlang/bin/erlc  ejson.erl
mv -f .deps/ejson_la-yajl_gen.Tpo .deps/ejson_la-yajl_gen.Plo
/usr/local/opt/erlang/bin/erlc  mochijson2.erl
mv -f .deps/ejson_la-yajl_parser.Tpo .deps/ejson_la-yajl_parser.Plo
/usr/local/opt/erlang/bin/erlc  mochinum.erl
mv -f .deps/ejson_la-yajl_lex.Tpo .deps/ejson_la-yajl_lex.Plo
/bin/sh ../../libtool --tag=CC   --mode=link cc -I/usr/local/lib/erlang/usr/include -O2 -g -O2 -module -avoid-version  -L/opt/local/lib -L/usr/local/lib  -o ejson.la -rpath /usr/local/Cellar/couchdb/1.2.1/lib/couchdb/erlang/lib/ejson-0.1.0/priv ejson_la-ejson.lo ejson_la-decode.lo ejson_la-encode.lo ejson_la-yajl_alloc.lo ejson_la-yajl_buf.lo ejson_la-yajl.lo ejson_la-yajl_encode.lo ejson_la-yajl_gen.lo ejson_la-yajl_lex.lo ejson_la-yajl_parser.lo  -L/opt/local/lib -L/usr/local/lib
libtool: link: cc -Wl,-undefined -Wl,dynamic_lookup -o .libs/ejson.so -bundle  .libs/ejson_la-ejson.o .libs/ejson_la-decode.o .libs/ejson_la-encode.o .libs/ejson_la-yajl_alloc.o .libs/ejson_la-yajl_buf.o .libs/ejson_la-yajl.o .libs/ejson_la-yajl_encode.o .libs/ejson_la-yajl_gen.o .libs/ejson_la-yajl_lex.o .libs/ejson_la-yajl_parser.o   -L/opt/local/lib -L/usr/local/lib
brew: superenv removed: -L/opt/local/lib -L/usr/local/lib
libtool: link: dsymutil .libs/ejson.so || :
warning: no debug symbols in executable (-arch x86_64)
libtool: link: ( cd ".libs" && rm -f "ejson.la" && ln -s "../ejson.la" "ejson.la" )
cp .libs/ejson.so priv/ejson.so
Making all in erlang-oauth
cp oauth.app.in oauth.app
/usr/local/opt/erlang/bin/erlc  oauth.erl
/usr/local/opt/erlang/bin/erlc  oauth_hmac_sha1.erl
/usr/local/opt/erlang/bin/erlc  oauth_http.erl
/usr/local/opt/erlang/bin/erlc  oauth_plaintext.erl
/usr/local/opt/erlang/bin/erlc  oauth_unix.erl
/usr/local/opt/erlang/bin/erlc  oauth_uri.erl
Making all in etap
/usr/local/opt/erlang/bin/erlc  etap.erl
/usr/local/opt/erlang/bin/erlc  etap_application.erl
/usr/local/opt/erlang/bin/erlc  etap_can.erl
/usr/local/opt/erlang/bin/erlc  etap_exception.erl
/usr/local/opt/erlang/bin/erlc  etap_process.erl
/usr/local/opt/erlang/bin/erlc  etap_report.erl
/usr/local/opt/erlang/bin/erlc  etap_request.erl
/usr/local/opt/erlang/bin/erlc  etap_string.erl
etap_request.erl:26: parameterized modules are no longer supported
etap_request.erl:49: variable 'OutBody' is unbound
etap_request.erl:56: variable 'Method' is unbound
etap_request.erl:59: variable 'Url' is unbound
etap_request.erl:62: variable 'Status' is unbound
etap_request.erl:66: variable 'Status' is unbound
etap_request.erl:71: variable 'Status' is unbound
etap_request.erl:75: variable 'OutHeaders' is unbound
etap_request.erl:79: variable 'OutHeaders' is unbound
etap_request.erl:83: variable 'OutHeaders' is unbound
etap_request.erl:89: variable 'OutBody' is unbound
make[3]: *** [etap_request.beam] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: ea13717a9fcce9153f7077f6d55b8f37530b24e4
CPU: quad-core 64-bit ivybridge
OS X: 10.7.5-x86_64
Xcode: 4.6
CLT: 4.6.0.0.1.1358221012
X11: 2.6.4 => /usr/X11
==> ENV
CC: cc
CXX: c++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local/opt/readline:/usr/local/opt/icu4c:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/icu4c/lib/pkgconfig:/usr/local/lib/pkgconfig
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/help2man/bin:/usr/local/opt/nspr/bin:/usr/local/opt/spidermonkey/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/erlang/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: couchdb did not build
Logs:       /Users/emjayess/Library/Logs/Homebrew/couchdb/config.log

@emjayess
Copy link
Author

emjayess commented Mar 8, 2013

thanks to @janl in #couchdb-dev for pointing out that...

[16:30]  <jan____> emjayess: etap_request.erl:26: parameterized modules are no longer supported
[16:30]  <jan____> emjayess: turns out CouchDB on R16 are nono

so I switched my erlang to R15B03-1, like this

$ brew versions erlang
R15B03-1 git checkout a32dff3 /usr/local/Library/Formula/erlang.rb #( <-- want this one)
R16B     git checkout 2605042 /usr/local/Library/Formula/erlang.rb
R15B03   git checkout 311472d /usr/local/Library/Formula/erlang.rb
R15B02   git checkout 44e09dd /usr/local/Library/Formula/erlang.rb
R15B01   git checkout 6b8d25f /usr/local/Library/Formula/erlang.rb
R15B     git checkout 497b13a /usr/local/Library/Formula/erlang.rb
R14B04   git checkout aedacdf /usr/local/Library/Formula/erlang.rb
R14B03   git checkout 9332ca9 /usr/local/Library/Formula/erlang.rb
R14B02   git checkout b782d9d /usr/local/Library/Formula/erlang.rb
R14B01   git checkout 0476235 /usr/local/Library/Formula/erlang.rb
R14B     git checkout 7871a99 /usr/local/Library/Formula/erlang.rb
R13B04   git checkout 31f1fab /usr/local/Library/Formula/erlang.rb
R13B03   git checkout 729f3fa /usr/local/Library/Formula/erlang.rb
R13B02-1 git checkout 0d673c6 /usr/local/Library/Formula/erlang.rb
$ cd /usr/local
$ git checkout a32dff3 /usr/local/Library/Formula/erlang.rb
$ brew install erlang

then removed and reinstalled couchdb (1.2.1) successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment