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.0, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure --with-erlang=/Users/benoitc/local/otp-r15b/lib/erlang/usr/include ## --------- ## ## Platform. ## ## --------- ## hostname = enki.local uname -m = x86_64 uname -r = 11.3.0 uname -s = Darwin uname -v = Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~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.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~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: 4.00 gigabytes Default processor set: 116 tasks, 585 threads, 4 processors Load average: 0.31, Mach factor: 3.68 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /Users/benoitc/local/bin PATH: /Users/benoitc/local/otp-r15b/bin PATH: /usr/local/bin PATH: /usr/local/sbin PATH: /usr/bin PATH: /bin PATH: /usr/sbin PATH: /sbin PATH: /usr/local/bin PATH: /usr/X11/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1983: checking for a BSD-compatible install configure:2039: result: /usr/bin/install -c configure:2050: checking whether build environment is sane configure:2093: result: yes configure:2121: checking for a thread-safe mkdir -p configure:2160: result: build-aux/install-sh -c -d configure:2173: checking for gawk configure:2203: result: no configure:2173: checking for mawk configure:2203: result: no configure:2173: checking for nawk configure:2203: result: no configure:2173: checking for awk configure:2189: found /usr/bin/awk configure:2200: result: awk configure:2211: checking whether make sets $(MAKE) configure:2232: result: yes configure:2538: checking for gcc configure:2554: found /usr/bin/gcc configure:2565: result: gcc configure:2803: checking for C compiler version configure:2810: gcc --version >&5 i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2813: $? = 0 configure:2820: gcc -v >&5 Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~22/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~22/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) configure:2823: $? = 0 configure:2830: gcc -V >&5 llvm-gcc-4.2: argument to `-V' is missing configure:2833: $? = 1 configure:2856: checking for C compiler default output file name configure:2883: gcc conftest.c >&5 configure:2886: $? = 0 configure:2924: result: a.out configure:2941: checking whether the C compiler works configure:2951: ./a.out configure:2954: $? = 0 configure:2971: result: yes configure:2978: checking whether we are cross compiling configure:2980: result: no configure:2983: checking for suffix of executables configure:2990: gcc -o conftest conftest.c >&5 configure:2993: $? = 0 configure:3017: result: configure:3023: checking for suffix of object files configure:3049: gcc -c conftest.c >&5 configure:3052: $? = 0 configure:3075: result: o configure:3079: checking whether we are using the GNU C compiler configure:3108: gcc -c conftest.c >&5 configure:3114: $? = 0 configure:3131: result: yes configure:3136: checking whether gcc accepts -g configure:3166: gcc -c -g conftest.c >&5 configure:3172: $? = 0 configure:3271: result: yes configure:3288: checking for gcc option to accept ISO C89 configure:3362: gcc -c -g -O2 conftest.c >&5 configure:3368: $? = 0 configure:3391: result: none needed configure:3420: checking for style of include used by make configure:3448: result: GNU configure:3473: checking dependency style of gcc configure:3564: result: gcc3 configure:3610: checking build system type configure:3628: result: i386-apple-darwin11.3.0 configure:3650: checking host system type configure:3665: result: i386-apple-darwin11.3.0 configure:3708: checking how to print strings configure:3735: result: printf configure:3756: checking for a sed that does not truncate output configure:3835: result: /usr/bin/sed configure:3853: checking for grep that handles long lines and -e configure:3927: result: /usr/bin/grep configure:3932: checking for egrep configure:4010: result: /usr/bin/grep -E configure:4015: checking for fgrep configure:4093: result: /usr/bin/grep -F configure:4128: checking for ld used by gcc configure:4195: result: /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld configure:4204: checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld configure:4219: result: no configure:4231: checking for BSD- or MS-compatible name lister (nm) configure:4280: result: /usr/bin/nm configure:4414: checking the name lister (/usr/bin/nm) interface configure:4421: gcc -c -g -O2 conftest.c >&5 configure:4424: /usr/bin/nm "conftest.o" configure:4427: output 0000000000000188 S _some_variable configure:4434: result: BSD nm configure:4437: checking whether ln -s works configure:4441: result: yes configure:4449: checking the maximum length of command line arguments configure:4574: result: 196608 configure:4591: checking whether the shell understands some XSI constructs configure:4601: result: yes configure:4605: checking whether the shell understands "+=" configure:4611: result: yes configure:4646: checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option to reload object files configure:4653: result: -r configure:4722: checking for objdump configure:4752: result: no configure:4782: checking how to recognize dependent libraries configure:4984: result: pass_all configure:5044: checking for ar configure:5060: found /usr/bin/ar configure:5071: result: ar configure:5153: checking for strip configure:5169: found /usr/bin/strip configure:5180: result: strip configure:5256: checking for ranlib configure:5272: found /usr/bin/ranlib configure:5283: result: ranlib configure:5389: checking command to parse /usr/bin/nm output from gcc object configure:5507: gcc -c -g -O2 conftest.c >&5 configure:5510: $? = 0 configure:5514: /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:5517: $? = 0 cannot find nm_test_var in conftest.nm configure:5507: gcc -c -g -O2 conftest.c >&5 configure:5510: $? = 0 configure:5514: /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:5517: $? = 0 configure:5571: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 configure:5574: $? = 0 configure:5612: result: ok configure:5902: checking for dsymutil configure:5918: found /usr/bin/dsymutil configure:5929: result: dsymutil configure:5998: checking for nmedit configure:6014: found /usr/bin/nmedit configure:6025: result: nmedit configure:6094: checking for lipo configure:6110: found /usr/bin/lipo configure:6121: result: lipo configure:6190: checking for otool configure:6206: found /usr/bin/otool configure:6217: result: otool configure:6286: checking for otool64 configure:6316: result: no configure:6365: checking for -single_module linker flag gcc -g -O2 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c configure:6392: result: yes configure:6394: checking for -exported_symbols_list linker flag configure:6424: gcc -o conftest -g -O2 -Wl,-exported_symbols_list,conftest.sym conftest.c >&5 configure:6430: $? = 0 configure:6449: result: yes configure:6451: checking for -force_load linker flag gcc -g -O2 -c -o conftest.o conftest.c ar cru libconftest.a conftest.o ranlib libconftest.a gcc -g -O2 -o conftest conftest.c -Wl,-force_load,./libconftest.a configure:6481: result: yes configure:6523: checking how to run the C preprocessor configure:6563: gcc -E conftest.c configure:6569: $? = 0 configure:6600: gcc -E conftest.c conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:6606: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Apache CouchDB" | #define PACKAGE_TARNAME "apache-couchdb" | #define PACKAGE_VERSION "1.2.0" | #define PACKAGE_STRING "Apache CouchDB 1.2.0" | #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB" | #define PACKAGE "apache-couchdb" | #define VERSION "1.2.0" | #define _GNU_SOURCE 1 | /* end confdefs.h. */ | #include configure:6639: result: gcc -E configure:6668: gcc -E conftest.c configure:6674: $? = 0 configure:6705: gcc -E conftest.c conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:6711: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Apache CouchDB" | #define PACKAGE_TARNAME "apache-couchdb" | #define PACKAGE_VERSION "1.2.0" | #define PACKAGE_STRING "Apache CouchDB 1.2.0" | #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB" | #define PACKAGE "apache-couchdb" | #define VERSION "1.2.0" | #define _GNU_SOURCE 1 | /* end confdefs.h. */ | #include configure:6749: checking for ANSI C header files configure:6779: gcc -c -g -O2 conftest.c >&5 configure:6785: $? = 0 configure:6884: gcc -o conftest -g -O2 conftest.c >&5 configure:6887: $? = 0 configure:6893: ./conftest configure:6896: $? = 0 configure:6913: result: yes configure:6937: checking for sys/types.h configure:6958: gcc -c -g -O2 conftest.c >&5 configure:6964: $? = 0 configure:6980: result: yes configure:6937: checking for sys/stat.h configure:6958: gcc -c -g -O2 conftest.c >&5 configure:6964: $? = 0 configure:6980: result: yes configure:6937: checking for stdlib.h configure:6958: gcc -c -g -O2 conftest.c >&5 configure:6964: $? = 0 configure:6980: result: yes configure:6937: checking for string.h configure:6958: gcc -c -g -O2 conftest.c >&5 configure:6964: $? = 0 configure:6980: result: yes configure:6937: checking for memory.h configure:6958: gcc -c -g -O2 conftest.c >&5 configure:6964: $? = 0 configure:6980: result: yes configure:6937: checking for strings.h configure:6958: gcc -c -g -O2 conftest.c >&5 configure:6964: $? = 0 configure:6980: result: yes configure:6937: checking for inttypes.h configure:6958: gcc -c -g -O2 conftest.c >&5 configure:6964: $? = 0 configure:6980: result: yes configure:6937: checking for stdint.h configure:6958: gcc -c -g -O2 conftest.c >&5 configure:6964: $? = 0 configure:6980: result: yes configure:6937: checking for unistd.h configure:6958: gcc -c -g -O2 conftest.c >&5 configure:6964: $? = 0 configure:6980: result: yes configure:6996: checking for dlfcn.h configure:7017: gcc -c -g -O2 conftest.c >&5 configure:7023: $? = 0 configure:7039: result: yes configure:7476: checking for objdir configure:7491: result: .libs configure:7762: checking if gcc supports -fno-rtti -fno-exceptions configure:7780: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:7784: $? = 0 configure:7797: result: no configure:7817: checking for gcc option to produce PIC configure:8102: result: -fno-common -DPIC configure:8114: checking if gcc PIC flag -fno-common -DPIC works configure:8132: gcc -c -g -O2 -fno-common -DPIC -DPIC conftest.c >&5 configure:8136: $? = 0 configure:8149: result: yes configure:8173: checking if gcc static flag -static works configure:8201: result: no configure:8216: checking if gcc supports -c -o file.o configure:8237: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:8241: $? = 0 configure:8263: result: yes configure:8271: checking if gcc supports -c -o file.o configure:8318: result: yes configure:8351: checking whether the gcc linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries configure:9502: result: yes configure:9747: checking dynamic linker characteristics configure:10452: result: darwin11.3.0 dyld configure:10559: checking how to hardcode library paths into programs configure:10584: result: immediate configure:11409: checking whether stripping libraries is possible configure:11423: result: yes configure:11449: checking if libtool supports shared libraries configure:11451: result: yes configure:11454: checking whether to build shared libraries configure:11475: result: yes configure:11478: checking whether to build static libraries configure:11482: result: no configure:11518: checking whether ln -s works configure:11522: result: yes configure:11583: checking for pkg-config configure:11601: found /usr/local/bin/pkg-config configure:11613: result: /usr/local/bin/pkg-config configure:11642: checking pkg-config is at least version 0.9.0 configure:11645: result: yes configure:11716: checking for g++ configure:11732: found /usr/bin/g++ configure:11743: result: g++ configure:11774: checking for C++ compiler version configure:11781: g++ --version >&5 i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:11784: $? = 0 configure:11791: g++ -v >&5 Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~22/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~22/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) configure:11794: $? = 0 configure:11801: g++ -V >&5 llvm-g++-4.2: argument to `-V' is missing configure:11804: $? = 1 configure:11807: checking whether we are using the GNU C++ compiler configure:11836: g++ -c conftest.cpp >&5 configure:11842: $? = 0 configure:11859: result: yes configure:11864: checking whether g++ accepts -g configure:11894: g++ -c -g conftest.cpp >&5 configure:11900: $? = 0 configure:11999: result: yes configure:12024: checking dependency style of g++ configure:12115: result: gcc3 configure:12138: checking how to run the C++ preprocessor configure:12174: g++ -E conftest.cpp configure:12180: $? = 0 configure:12211: g++ -E conftest.cpp conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory configure:12217: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Apache CouchDB" | #define PACKAGE_TARNAME "apache-couchdb" | #define PACKAGE_VERSION "1.2.0" | #define PACKAGE_STRING "Apache CouchDB 1.2.0" | #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB" | #define PACKAGE "apache-couchdb" | #define VERSION "1.2.0" | #define _GNU_SOURCE 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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:12250: result: g++ -E configure:12279: g++ -E conftest.cpp configure:12285: $? = 0 configure:12316: g++ -E conftest.cpp conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory configure:12322: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Apache CouchDB" | #define PACKAGE_TARNAME "apache-couchdb" | #define PACKAGE_VERSION "1.2.0" | #define PACKAGE_STRING "Apache CouchDB 1.2.0" | #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB" | #define PACKAGE "apache-couchdb" | #define VERSION "1.2.0" | #define _GNU_SOURCE 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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:12499: checking for ld used by g++ configure:12566: result: /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld configure:12575: checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld configure:12590: result: no configure:12645: checking whether the g++ linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries configure:13631: result: yes configure:13659: g++ -c -g -O2 conftest.cpp >&5 configure:13662: $? = 0 configure:13844: checking for g++ option to produce PIC configure:14166: result: -fno-common -DPIC configure:14175: checking if g++ PIC flag -fno-common -DPIC works configure:14193: g++ -c -g -O2 -fno-common -DPIC -DPIC conftest.cpp >&5 configure:14197: $? = 0 configure:14210: result: yes configure:14231: checking if g++ static flag -static works configure:14259: result: no configure:14271: checking if g++ supports -c -o file.o configure:14292: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 configure:14296: $? = 0 configure:14318: result: yes configure:14323: checking if g++ supports -c -o file.o configure:14370: result: yes configure:14400: checking whether the g++ linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries configure:14428: result: yes configure:14571: checking dynamic linker characteristics configure:15210: result: darwin11.3.0 dyld configure:15263: checking how to hardcode library paths into programs configure:15288: result: immediate configure:15333: checking whether byte ordering is bigendian configure:15366: g++ -c -g -O2 conftest.cpp >&5 configure:15372: $? = 0 configure:15404: g++ -c -g -O2 conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:30: error: 'big' was not declared in this scope conftest.cpp:30: error: expected `;' before 'endian' configure:15410: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Apache CouchDB" | #define PACKAGE_TARNAME "apache-couchdb" | #define PACKAGE_VERSION "1.2.0" | #define PACKAGE_STRING "Apache CouchDB 1.2.0" | #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB" | #define PACKAGE "apache-couchdb" | #define VERSION "1.2.0" | #define _GNU_SOURCE 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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include | #include | | int | main () | { | #if BYTE_ORDER != BIG_ENDIAN | not big endian | #endif | | ; | return 0; | } configure:15550: result: no configure:15578: checking for stdint.h configure:15584: result: yes configure:15588: checking stddef.h usability configure:15605: g++ -c -g -O2 conftest.cpp >&5 configure:15611: $? = 0 configure:15625: result: yes configure:15629: checking stddef.h presence configure:15644: g++ -E conftest.cpp configure:15650: $? = 0 configure:15664: result: yes configure:15697: checking for stddef.h configure:15705: result: yes configure:15588: checking sys/mman.h usability configure:15605: g++ -c -g -O2 conftest.cpp >&5 configure:15611: $? = 0 configure:15625: result: yes configure:15629: checking sys/mman.h presence configure:15644: g++ -E conftest.cpp configure:15650: $? = 0 configure:15664: result: yes configure:15697: checking for sys/mman.h configure:15705: result: yes configure:15588: checking sys/resource.h usability configure:15605: g++ -c -g -O2 conftest.cpp >&5 configure:15611: $? = 0 configure:15625: result: yes configure:15629: checking sys/resource.h presence configure:15644: g++ -E conftest.cpp configure:15650: $? = 0 configure:15664: result: yes configure:15697: checking for sys/resource.h configure:15705: result: yes configure:15718: checking for mmap configure:15774: g++ -o conftest -g -O2 conftest.cpp >&5 configure:15780: $? = 0 configure:15797: result: yes configure:15801: checking if the compiler supports __builtin_expect configure:15827: g++ -c -g -O2 conftest.cpp >&5 configure:15833: $? = 0 configure:15840: result: yes configure:15863: checking if the compiler supports __builtin_ctzll configure:15889: g++ -c -g -O2 conftest.cpp >&5 configure:15895: $? = 0 configure:15902: result: yes configure:15948: checking for pthread_create in -lpthread configure:15975: g++ -o conftest -g -O2 conftest.cpp -lpthread >&5 conftest.cpp: In function 'int main()': conftest.cpp:33: error: invalid conversion from 'void*' to '_opaque_pthread_t**' conftest.cpp:33: error: initializing argument 1 of 'int pthread_create(_opaque_pthread_t**, const pthread_attr_t*, void* (*)(void*), void*)' conftest.cpp:33: error: invalid conversion from 'void*' to 'const pthread_attr_t*' conftest.cpp:33: error: initializing argument 2 of 'int pthread_create(_opaque_pthread_t**, const pthread_attr_t*, void* (*)(void*), void*)' conftest.cpp:33: error: invalid conversion from 'void*' to 'void* (*)(void*)' conftest.cpp:33: error: initializing argument 3 of 'int pthread_create(_opaque_pthread_t**, const pthread_attr_t*, void* (*)(void*), void*)' configure:15981: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Apache CouchDB" | #define PACKAGE_TARNAME "apache-couchdb" | #define PACKAGE_VERSION "1.2.0" | #define PACKAGE_STRING "Apache CouchDB 1.2.0" | #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB" | #define PACKAGE "apache-couchdb" | #define VERSION "1.2.0" | #define _GNU_SOURCE 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 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 | int | main () | { | pthread_create((void *)0, (void *)0, (void *)0, (void *)0) | ; | return 0; | } configure:16003: result: no configure:16025: checking for erl configure:16043: found /Users/benoitc/local/otp-r15b/bin/erl configure:16055: result: /Users/benoitc/local/otp-r15b/bin/erl configure:16113: checking for JS185 configure:16120: $PKG_CONFIG --exists --print-errors "mozjs185" configure:16123: $? = 0 configure:16136: $PKG_CONFIG --exists --print-errors "mozjs185" configure:16139: $? = 0 configure:16328: result: yes configure:16353: checking for JS185 configure:16360: $PKG_CONFIG --exists --print-errors "mozjs185" configure:16363: $? = 0 configure:16376: $PKG_CONFIG --exists --print-errors "mozjs185" configure:16379: $? = 0 configure:16584: result: yes configure:16647: checking jsapi.h usability configure:16664: g++ -c -g -O2 -DXP_UNIX -I/opt/local/include -I/usr/local/include -I/usr/include conftest.cpp >&5 conftest.cpp:62:19: error: jsapi.h: No such file or directory configure:16670: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Apache CouchDB" | #define PACKAGE_TARNAME "apache-couchdb" | #define PACKAGE_VERSION "1.2.0" | #define PACKAGE_STRING "Apache CouchDB 1.2.0" | #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB" | #define PACKAGE "apache-couchdb" | #define VERSION "1.2.0" | #define _GNU_SOURCE 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 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 | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:16684: result: no configure:16688: checking jsapi.h presence configure:16703: g++ -E -DXP_UNIX -I/opt/local/include -I/usr/local/include -I/usr/include conftest.cpp conftest.cpp:29:19: error: jsapi.h: No such file or directory configure:16709: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Apache CouchDB" | #define PACKAGE_TARNAME "apache-couchdb" | #define PACKAGE_VERSION "1.2.0" | #define PACKAGE_STRING "Apache CouchDB 1.2.0" | #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB" | #define PACKAGE "apache-couchdb" | #define VERSION "1.2.0" | #define _GNU_SOURCE 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 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 configure:16723: result: no configure:16756: checking for jsapi.h configure:16763: result: no configure:16781: checking js/jsapi.h usability configure:16798: g++ -c -g -O2 -DXP_UNIX -I/opt/local/include -I/usr/local/include -I/usr/include conftest.cpp >&5 configure:16804: $? = 0 configure:16818: result: yes configure:16822: checking js/jsapi.h presence configure:16837: g++ -E -DXP_UNIX -I/opt/local/include -I/usr/local/include -I/usr/include conftest.cpp configure:16843: $? = 0 configure:16857: result: yes configure:16890: checking for js/jsapi.h configure:16897: result: yes configure:17012: checking for JS_NewObject in -lmozjs configure:17047: g++ -o conftest -g -O2 -DXP_UNIX -I/opt/local/include -I/usr/local/include -I/usr/include -I/js -L/usr/local/Cellar/spidermonkey/1.8.5/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 collect2: ld returned 1 exit status configure:17053: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Apache CouchDB" | #define PACKAGE_TARNAME "apache-couchdb" | #define PACKAGE_VERSION "1.2.0" | #define PACKAGE_STRING "Apache CouchDB 1.2.0" | #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB" | #define PACKAGE "apache-couchdb" | #define VERSION "1.2.0" | #define _GNU_SOURCE 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 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:17071: result: no configure:17077: checking for JS_NewObject in -ljs configure:17112: g++ -o conftest -g -O2 -DXP_UNIX -I/opt/local/include -I/usr/local/include -I/usr/include -I/js -L/usr/local/Cellar/spidermonkey/1.8.5/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 collect2: ld returned 1 exit status configure:17118: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Apache CouchDB" | #define PACKAGE_TARNAME "apache-couchdb" | #define PACKAGE_VERSION "1.2.0" | #define PACKAGE_STRING "Apache CouchDB 1.2.0" | #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB" | #define PACKAGE "apache-couchdb" | #define VERSION "1.2.0" | #define _GNU_SOURCE 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 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:17136: result: no configure:17142: checking for JS_NewObject in -ljs3250 configure:17177: g++ -o conftest -g -O2 -DXP_UNIX -I/opt/local/include -I/usr/local/include -I/usr/include -I/js -L/usr/local/Cellar/spidermonkey/1.8.5/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 collect2: ld returned 1 exit status configure:17183: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Apache CouchDB" | #define PACKAGE_TARNAME "apache-couchdb" | #define PACKAGE_VERSION "1.2.0" | #define PACKAGE_STRING "Apache CouchDB 1.2.0" | #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB" | #define PACKAGE "apache-couchdb" | #define VERSION "1.2.0" | #define _GNU_SOURCE 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 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:17201: result: no configure:17207: checking for JS_NewObject in -ljs32 configure:17242: g++ -o conftest -g -O2 -DXP_UNIX -I/opt/local/include -I/usr/local/include -I/usr/include -I/js -L/usr/local/Cellar/spidermonkey/1.8.5/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 collect2: ld returned 1 exit status configure:17248: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Apache CouchDB" | #define PACKAGE_TARNAME "apache-couchdb" | #define PACKAGE_VERSION "1.2.0" | #define PACKAGE_STRING "Apache CouchDB 1.2.0" | #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB" | #define PACKAGE "apache-couchdb" | #define VERSION "1.2.0" | #define _GNU_SOURCE 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 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:17266: result: no configure:17272: checking for JS_NewObject in -lmozjs185-1.0 configure:17307: g++ -o conftest -g -O2 -DXP_UNIX -I/opt/local/include -I/usr/local/include -I/usr/include -I/js -L/usr/local/Cellar/spidermonkey/1.8.5/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_Lock", referenced from: _JS_ClearContextThread in libmozjs185-1.0.a(jsapi.o) _JS_TriggerAllOperationCallbacks in libmozjs185-1.0.a(jsapi.o) _JS_TriggerOperationCallback in libmozjs185-1.0.a(jsapi.o) _JS_ToggleOptions in libmozjs185-1.0.a(jsapi.o) _JS_SetOptions in libmozjs185-1.0.a(jsapi.o) StartRequest(JSContext*) in libmozjs185-1.0.a(jsapi.o) StopRequest(JSContext*) in libmozjs185-1.0.a(jsapi.o) ... "_PR_Unlock", referenced from: _JS_ClearContextThread in libmozjs185-1.0.a(jsapi.o) _JS_SetContextThread in libmozjs185-1.0.a(jsapi.o) _JS_TriggerAllOperationCallbacks in libmozjs185-1.0.a(jsapi.o) _JS_TriggerOperationCallback in libmozjs185-1.0.a(jsapi.o) _JS_ToggleOptions in libmozjs185-1.0.a(jsapi.o) _JS_SetOptions in libmozjs185-1.0.a(jsapi.o) StartRequest(JSContext*) in libmozjs185-1.0.a(jsapi.o) ... "_PR_AtomicDecrement", referenced from: _JS_DropPrincipals in libmozjs185-1.0.a(jsapi.o) StopRequest(JSContext*) in libmozjs185-1.0.a(jsapi.o) js_LookupProperty(JSContext*, JSObject*, long, JSObject**, JSProperty**)in libmozjs185-1.0.a(jsobj.o) js_GetProperty(JSContext*, JSObject*, JSObject*, long, js::Value*)in libmozjs185-1.0.a(jsobj.o) js_LookupPropertyWithFlags(JSContext*, JSObject*, long, unsigned int, JSObject**, JSProperty**)in libmozjs185-1.0.a(jsobj.o) js_GetPropertyHelper(JSContext*, JSObject*, long, unsigned int, js::Value*)in libmozjs185-1.0.a(jsobj.o) js_GetPropertyHelperWithShape(JSContext*, JSObject*, JSObject*, long, unsigned int, js::Value*, js::Shape const**, JSObject**)in libmozjs185-1.0.a(jsobj.o) ... "_PR_AtomicIncrement", referenced from: _JS_HoldPrincipals in libmozjs185-1.0.a(jsapi.o) StartRequest(JSContext*) in libmozjs185-1.0.a(jsapi.o) js_LookupProperty(JSContext*, JSObject*, long, JSObject**, JSProperty**)in libmozjs185-1.0.a(jsobj.o) js_GetProperty(JSContext*, JSObject*, JSObject*, long, js::Value*)in libmozjs185-1.0.a(jsobj.o) js_LookupPropertyWithFlags(JSContext*, JSObject*, long, unsigned int, JSObject**, JSProperty**)in libmozjs185-1.0.a(jsobj.o) js_GetPropertyHelper(JSContext*, JSObject*, long, unsigned int, js::Value*)in libmozjs185-1.0.a(jsobj.o) js_GetPropertyHelperWithShape(JSContext*, JSObject*, JSObject*, long, unsigned int, js::Value*, js::Shape const**, JSObject**)in libmozjs185-1.0.a(jsobj.o) ... "_PR_WaitCondVar", referenced from: StartRequest(JSContext*) in libmozjs185-1.0.a(jsapi.o) LetOtherGCFinish(JSContext*) in libmozjs185-1.0.a(jsgc.o) js::GCHelperThread::waitBackgroundSweepEnd(JSRuntime*) in libmozjs185-1.0.a(jsgc.o) js::GCHelperThread::threadLoop(JSRuntime*) in libmozjs185-1.0.a(jsgc.o) AutoGCSession::AutoGCSession(JSContext*)in libmozjs185-1.0.a(jsgc.o) js_WaitForGC(JSRuntime*) in libmozjs185-1.0.a(jsgc.o) _js_RemoveRoot in libmozjs185-1.0.a(jsgc.o) ... "_PR_NotifyCondVar", referenced from: StopRequest(JSContext*) in libmozjs185-1.0.a(jsapi.o) js::GCHelperThread::startBackgroundSweep(JSRuntime*) in libmozjs185-1.0.a(jsgc.o) LetOtherGCFinish(JSContext*) in libmozjs185-1.0.a(jsgc.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_Unlock in libmozjs185-1.0.a(jslock.o) "_PR_DestroyLock", referenced from: JSRuntime::~JSRuntime()in libmozjs185-1.0.a(jsapi.o) js_FreeRuntimeScriptState(JSRuntime*) in libmozjs185-1.0.a(jsscript.o) js_InitRuntimeScriptState(JSRuntime*) in libmozjs185-1.0.a(jsscript.o) js_SaveScriptFilenameRT(JSRuntime*, char const*, unsigned int)in libmozjs185-1.0.a(jsscript.o) _js_CleanupLocks in libmozjs185-1.0.a(jslock.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) _js_CleanupLocks 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_SaveScriptFilenameRT(JSRuntime*, char const*, unsigned int)in libmozjs185-1.0.a(jsscript.o) _js_Lock in libmozjs185-1.0.a(jslock.o) _js_SetupLocks in libmozjs185-1.0.a(jslock.o) "_PR_NewCondVar", referenced from: JSRuntime::init(unsigned int)in libmozjs185-1.0.a(jsapi.o) js::GCHelperThread::init(JSRuntime*) in libmozjs185-1.0.a(jsgc.o) js_InitGC(JSRuntime*, unsigned int)in libmozjs185-1.0.a(jsgc.o) _js_Lock in libmozjs185-1.0.a(jslock.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_NotifyAllCondVar", referenced from: AutoGCSession::~AutoGCSession()in libmozjs185-1.0.a(jsgc.o) AutoGCSession::~AutoGCSession()in libmozjs185-1.0.a(jsgc.o) js::GCHelperThread::threadLoop(JSRuntime*) in libmozjs185-1.0.a(jsgc.o) js::TraceRuntime(JSTracer*) in libmozjs185-1.0.a(jsgc.o) js::gc::SetProtoCheckingForCycles(JSContext*, JSObject*, JSObject*)in libmozjs185-1.0.a(jsgc.o) js_GC(JSContext*, JSCompartment*, JSGCInvocationKind) in libmozjs185-1.0.a(jsgc.o) js_DestroyContext(JSContext*, JSDestroyContextMode) in libmozjs185-1.0.a(jscntxt.o) ... "_PR_AtomicSet", referenced from: AutoGCSession::AutoGCSession(JSContext*)in libmozjs185-1.0.a(jsgc.o) js::TriggerAllOperationCallbacks(JSRuntime*) in libmozjs185-1.0.a(jscntxt.o) js::TriggerOperationCallback(JSContext*) in libmozjs185-1.0.a(jscntxt.o) "_PR_GetCurrentThread", referenced from: js_WaitForGC(JSRuntime*) in libmozjs185-1.0.a(jsgc.o) _js_RemoveRoot in libmozjs185-1.0.a(jsgc.o) _js_AddGCThingRootRT in libmozjs185-1.0.a(jsgc.o) _js_AddRootRT in libmozjs185-1.0.a(jsgc.o) js_CurrentThread(JSRuntime*) in libmozjs185-1.0.a(jscntxt.o) "_PR_JoinThread", referenced from: js::GCHelperThread::finish(JSRuntime*) in libmozjs185-1.0.a(jsgc.o) "_PR_CreateThread", referenced from: js::GCHelperThread::init(JSRuntime*) in libmozjs185-1.0.a(jsgc.o) js_InitGC(JSRuntime*, unsigned int)in libmozjs185-1.0.a(jsgc.o) ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status configure:17313: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Apache CouchDB" | #define PACKAGE_TARNAME "apache-couchdb" | #define PACKAGE_VERSION "1.2.0" | #define PACKAGE_STRING "Apache CouchDB 1.2.0" | #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB" | #define PACKAGE "apache-couchdb" | #define VERSION "1.2.0" | #define _GNU_SOURCE 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 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:17331: result: no configure:17337: checking for JS_NewObject in -lmozjs185 configure:17372: g++ -o conftest -g -O2 -DXP_UNIX -I/opt/local/include -I/usr/local/include -I/usr/include -I/js -L/usr/local/Cellar/spidermonkey/1.8.5/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:17378: $? = 0 configure:17396: result: yes configure:17428: checking for JS_NewCompartmentAndGlobalObject in -lmozjs185 configure:17463: g++ -o conftest -g -O2 -DXP_UNIX -I/opt/local/include -I/usr/local/include -I/usr/include -I/js -L/usr/local/Cellar/spidermonkey/1.8.5/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:17469: $? = 0 configure:17488: result: yes configure:17494: checking whether JSOPTION_ANONFUNFIX is declared configure:17524: g++ -c -g -O2 -DXP_UNIX -I/opt/local/include -I/usr/local/include -I/usr/include -I/js conftest.cpp >&5 conftest.cpp:29:19: error: jsapi.h: No such file or directory conftest.cpp: In function 'int main()': conftest.cpp:35: error: 'JSOPTION_ANONFUNFIX' was not declared in this scope configure:17530: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Apache CouchDB" | #define PACKAGE_TARNAME "apache-couchdb" | #define PACKAGE_VERSION "1.2.0" | #define PACKAGE_STRING "Apache CouchDB 1.2.0" | #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB" | #define PACKAGE "apache-couchdb" | #define VERSION "1.2.0" | #define _GNU_SOURCE 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 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 | | int | main () | { | #ifndef JSOPTION_ANONFUNFIX | (void) JSOPTION_ANONFUNFIX; | #endif | | ; | return 0; | } configure:17545: result: no configure:17558: error: Your SpiderMonkey library is too new. Versions of SpiderMonkey after the js185-1.0.0 release remove the optional enforcement of preventing anonymous functions in a statement context. This will most likely break your existing JavaScript code as well as render all example code invalid. If you wish to ignore this error pass --enable-js-trunk to ./configure. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i386-apple-darwin11.3.0 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= ac_cv_env_CC_value= 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= ac_cv_env_CXX_value= 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= ac_cv_env_PKG_CONFIG_PATH_value= 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=no ac_cv_have_stddef_h=1 ac_cv_have_stdint_h=1 ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_js_jsapi_h=yes ac_cv_header_jsapi_h=no ac_cv_header_memory_h=yes 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=i386-apple-darwin11.3.0 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_NewCompartmentAndGlobalObject=yes ac_cv_lib_mozjs_JS_NewObject=no ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_ERL=/Users/benoitc/local/otp-r15b/bin/erl ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed ac_cv_path_ac_pt_PKG_CONFIG=/usr/local/bin/pkg-config ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=awk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ 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 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_force_load=yes lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld lt_cv_path_LDCXX=/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/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=no 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 pkg_cv_JS185_CFLAGS= pkg_cv_JS185_LIBS= ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /Users/benoitc/refuge/couchdb/build-aux/missing --run aclocal-1.10' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /Users/benoitc/refuge/couchdb/build-aux/missing --run tar' AR='ar' AS='as' AUTOCONF='${SHELL} /Users/benoitc/refuge/couchdb/build-aux/missing --run autoconf' AUTOHEADER='${SHELL} /Users/benoitc/refuge/couchdb/build-aux/missing --run autoheader' AUTOMAKE='${SHELL} /Users/benoitc/refuge/couchdb/build-aux/missing --run automake-1.10' AWK='awk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-O2 -g -O2' CPP='gcc -E' CPPFLAGS='-DXP_UNIX -I/opt/local/include -I/usr/local/include -I/usr/include -I/js' CURL_CFLAGS='' CURL_CONFIG='' CURL_LIBS='' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='dlltool' DSYMUTIL='dsymutil' DUMPBIN='' ECHO_C='ECHO_N='' ECHO_T='' EGREP='/usr/bin/grep -E' ERL='/Users/benoitc/local/otp-r15b/bin/erl' ERLANG_FLAGS='-I/Users/benoitc/local/otp-r15b/lib/erlang/usr/include' ERLC='' ERLC_FLAGS='' EXEEXT='' FGREP='/usr/bin/grep -F' FLAGS='' GREP='/usr/bin/grep' HELP2MAN_EXECUTABLE='' HELP2MAN_FALSE='' HELP2MAN_TRUE='' ICU_BIN='' ICU_CFLAGS='' ICU_CONFIG='' ICU_CPPFLAGS='' ICU_CXXFLAGS='' ICU_LIBS='' 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 ' JS_LDFLAGS='-L/usr/local/Cellar/spidermonkey/1.8.5/lib -L/opt/local/lib -L/usr/local/lib ' JS_LIBS='' JS_LIB_BINARY='' LAUNCHD_FALSE='' LAUNCHD_TRUE='' LD='/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld' LDFLAGS='-L/usr/local/Cellar/spidermonkey/1.8.5/lib -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} /Users/benoitc/refuge/couchdb/build-aux/missing --run makeinfo' 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.0' PACKAGE_TARNAME='apache-couchdb' PACKAGE_VERSION='1.2.0' PATH_SEPARATOR=':' PKG_CONFIG='/usr/local/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' RANLIB='ranlib' SED='/usr/bin/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.0' WINDOWS_FALSE='' WINDOWS_TRUE='#' abs_top_builddir='' abs_top_srcdir='' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_DUMPBIN='' ac_cv_have_stddef_h='1' ac_cv_have_stdint_h='1' 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='' build='i386-apple-darwin11.3.0' build_alias='' build_cpu='i386' build_os='darwin11.3.0' build_vendor='apple' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='i386-apple-darwin11.3.0' host_alias='' host_cpu='i386' host_os='darwin11.3.0' host_vendor='apple' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' initdir='' install_sh='$(SHELL) /Users/benoitc/refuge/couchdb/build-aux/install-sh' launchddir='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localconfdir='' localdatadir='' localdocdir='' localedir='${datarootdir}/locale' localerlanglibdir='' locallibbindir='' locallibdir='' localstatedir='${prefix}/var' localstatelibdir='' localstatelogdir='' localstaterundir='' 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='' package_author_address='' package_author_name='' package_identifier='' package_name='' package_tarname='' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' version='' version_major='' version_minor='' version_release='' version_revision='' version_stage='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "Apache CouchDB" #define PACKAGE_TARNAME "apache-couchdb" #define PACKAGE_VERSION "1.2.0" #define PACKAGE_STRING "Apache CouchDB 1.2.0" #define PACKAGE_BUGREPORT "https://issues.apache.org/jira/browse/COUCHDB" #define PACKAGE "apache-couchdb" #define VERSION "1.2.0" #define _GNU_SOURCE 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 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 configure: exit 1