Script started on Sun Mar 25 07:54:24 2012 LC_ALL]0;stefan@koegl: /tmp/couchdb/dist/apache-couchdb-1.2.0stefan@koegl:/tmp/couchdb/dist/apache-couchdb-1.2.0$ LC_ALL=C ]0;stefan@koegl: /tmp/couchdb/dist/apache-couchdb-1.2.0stefan@koegl:/tmp/couchdb/dist/apache-couchdb-1.2.0$ ./configLC_ALL=Cmake check./configure --prefix=/tmp/couchdb/installcd apache-couchdb-1.2.0/./configure --prefix=/tmp/couchdb/install checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether ln -s works... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so 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/bin/erl checking for JS185... yes checking for JS185... yes 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... yes checking for JS_NewCompartmentAndGlobalObject in -ljs... no checking for JS_ThrowStopIteration in -ljs... no checking for JS_GetStringCharsAndLength in -ljs... no checking for JSScript*... no checking for icu-config... /usr/bin/icu-config checking for ICU >= 3.4.1... yes checking ICU_CFLAGS... -g -Wall -O2 -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long checking ICU_CXXFLAGS... -g -Wall -O2 -W -Wall -ansi -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long checking ICU_LIBS... -ldl -lm -L/usr/lib -licui18n -licuuc -licudata -ldl -lm checking for curl-config... /usr/bin/curl-config checking for curl >= 7.18.0... yes checking CURL_CFLAGS... checking CURL_LIBS... -L/usr/lib/i386-linux-gnu -lcurl -Wl,-Bsymbolic-functions -Wl,-z,relro checking for erlc... /usr/bin/erlc checking erl_driver.h usability... yes checking erl_driver.h presence... yes checking for erl_driver.h... yes checking for help2man... /usr/bin/help2man checking location of init directory... ${sysconfdir}/init.d checking location of launchd directory... not found 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: config.h is unchanged config.status: creating src/snappy/google-snappy/config.h config.status: src/snappy/google-snappy/config.h is unchanged 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. ]0;stefan@koegl: /tmp/couchdb/dist/apache-couchdb-1.2.0stefan@ koegl:/tmp/couchdb/dist/apache-couchdb-1.2.0$ make check make all-recursive make[1]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0' Making all in bin make[2]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/bin' sed -e "s|%ERL%|/usr/bin/erl|g" \ -e "s|%ICU_CONFIG%|/usr/bin/icu-config|g" \ -e "s|%bindir%|/tmp/couchdb/install/bin|g" \ -e "s|%localerlanglibdir%|/tmp/couchdb/install/lib/couchdb/erlang/lib|g" \ -e "s|%defaultini%|default.ini|g" \ -e "s|%localini%|local.ini|g" \ -e "s|%localconfdir%|/tmp/couchdb/install/etc/couchdb|g" \ -e "s|%localstatelogdir%|/tmp/couchdb/install/var/log/couchdb|g" \ -e "s|%localstatelibdir%|/tmp/couchdb/install/var/lib/couchdb|g" \ -e "s|%localstatedir%|/tmp/couchdb/install/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.0|g" \ -e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|g" > \ couchdb < couchdb.tpl chmod +x couchdb sed -e "s|%ERL%|/usr/bin/erl|g" \ -e "s|%bindir%|/tmp/couchdb/install/bin|g" \ -e "s|%localerlanglibdir%|/tmp/couchdb/install/lib/couchdb/erlang/lib|g" \ -e "s|%localconfdir%|/tmp/couchdb/install/etc/couchdb|g" \ -e "s|%localdatadir%|/tmp/couchdb/install/share/couchdb|g" \ -e "s|%localbuilddatadir%|/tmp/couchdb/install/share/couchdb|g" \ -e "s|%localstatelogdir%|/tmp/couchdb/install/var/log/couchdb|g" \ -e "s|%localstatelibdir%|/tmp/couchdb/install/var/lib/couchdb|g" \ -e "s|%localstatedir%|/tmp/couchdb/install/var|g" \ -e "s|%localstaterundir%|/tmp/couchdb/install/var/run/couchdb|g" \ -e "s|%couchlibdir%|/tmp/couchdb/install/lib/couchdb/erlang/lib/couch-%version%|g"\ -e "s|%couchincludedir%|/tmp/couchdb/install/lib/couchdb/erlang/lib/include|g"\ -e "s|%couchebindir%|/tmp/couchdb/install/lib/couchdb/erlang/lib/ebin|g"\ -e "s|%couchprivlibdir%|/tmp/couchdb/install/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.0|g" \ -e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|g" > \ couch-config < couch-config.tpl chmod +x couch-config ln -s -f "/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb/priv/couchjs" "couchjs_dev" sed -e "s|%ERL%|/usr/bin/erl|g" \ -e "s|%bindir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/bin|g" \ -e "s|%localerlanglibdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0\/src\/couchdb|g" \ -e "s|%couchlibdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0\/src\/couchdb|g"\ -e "s|%couchincludedir%|/tmp/couchdb/dist/apache-couchdb-1.2.0\/src\/couchdb|g"\ -e "s|%couchebindir%|/tmp/couchdb/dist/apache-couchdb-1.2.0\/src\/couchdb|g"\ -e "s|%couchprivlibdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb/priv/.libs|g"\ -e "s|%localdatadir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/share|g" \ -e "s|%localbuilddatadir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/share|g" \ -e "s|%localstatelibdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/tmp/lib|g" \ -e "s|%localstatelogdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/tmp/log|g" \ -e "s|%localstatedir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/tmp|g" \ -e "s|%localstaterundir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/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.0|g" \ -e "s|%couchdb_command_name%|/tmp/couchdb/dist/apache-couchdb-1.2.0/utils/run|g" > \ couch-config_dev < couch-config.tpl chmod +x couch-config_dev make[2]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/bin' Making all in etc make[2]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc' Making all in couchdb make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/couchdb' sed -e "s|%bindir%|/tmp/couchdb/install/bin|g" \ -e "s|%localconfdir%|/tmp/couchdb/install/etc/couchdb|g" \ -e "s|%localdatadir%|/tmp/couchdb/install/share/couchdb|g" \ -e "s|%localbuilddatadir%|/tmp/couchdb/install/share/couchdb|g" \ -e "s|%localstatelibdir%|/tmp/couchdb/install/var/lib/couchdb|g" \ -e "s|%localstatelogdir%|/tmp/couchdb/install/var/log/couchdb|g" \ -e "s|%localstaterundir%|/tmp/couchdb/install/var/run/couchdb|g" \ -e "s|%couchprivlibdir%|/tmp/couchdb/install/lib/couchdb/erlang/lib/couch-1.2.0/priv/lib|g" \ -e "s|%couchjs_command_name%|`echo couchjs | sed 's,x,x,'`|g" \ < default.ini.tpl > default.ini sed -e "s|%bindir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/bin|g" \ -e "s|%localconfdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/couchdb|g" \ -e "s|%localdatadir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/share|g" \ -e "s|%localbuilddatadir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/share|g" \ -e "s|%localstatelibdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/tmp/lib|g" \ -e "s|%localstatelogdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/tmp/log|g" \ -e "s|%localstaterundir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/tmp/run|g" \ -e "s|%couchprivlibdir%|/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb/priv/.libs|g" \ -e "s|%couchjs_command_name%|`echo couchjs_dev | sed 's,x,x,'`|g" \ < default.ini.tpl > default_dev.ini make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/couchdb' Making all in default make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/default' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/default' Making all in init make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/init' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/init' Making all in launchd make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/launchd' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/launchd' Making all in logrotate.d make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/logrotate.d' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/logrotate.d' Making all in windows make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/windows' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/windows' make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc' if test "/bin/mkdir -p"; then \ /bin/mkdir -p init; \ else \ if test ! -d init; then \ mkdir init; \ fi \ fi sed -e "s|%configure_input%|init/couchdb. Generated from init/couchdb.tpl by configure.|" \ -e "s|%bindir%|/tmp/couchdb/install/bin|" \ -e "s|%sysconfdir%|/tmp/couchdb/install/etc|" \ -e "s|%localstaterundir%|/tmp/couchdb/install/var/run/couchdb|" \ -e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|" \ < init/couchdb.tpl > init/couchdb sed -e "s|%localstatelogdir%|/tmp/couchdb/install/var/log/couchdb|g" < logrotate.d/couchdb.tpl > logrotate.d/couchdb make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc' make[2]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc' Making all in src make[2]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src' Making all in couchdb make[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb' Making all in priv make[4]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb/priv' gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -D_XOPEN_SOURCE -I/opt/local/include -I/usr/local/include -I/usr/include -g -Wall -Werror -D_BSD_SOURCE -DXP_UNIX -I/usr/include/nspr -I/usr/include/js -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 In file included from couch_js/main.c:20:0: couch_js/sm170.c: In function 'req_status': couch_js/sm170.c:105:5: error: implicit declaration of function 'INT_FITS_IN_JSVAL' [-Werror=implicit-function-declaration] couch_js/sm170.c: In function 'evalcx': couch_js/sm170.c:138:5: error: implicit declaration of function 'JS_GetStringChars' [-Werror=implicit-function-declaration] couch_js/sm170.c:138:9: error: assignment makes pointer from integer without a cast [-Werror] couch_js/sm170.c: In function 'seal': couch_js/sm170.c:220:5: error: implicit declaration of function 'JS_SealObject' [-Werror=implicit-function-declaration] couch_js/sm170.c: At top level: couch_js/sm170.c:236:5: error: initialization from incompatible pointer type [-Werror] couch_js/sm170.c:236:5: error: (near initialization for 'CouchHTTPClass.setProperty') [-Werror] couch_js/sm170.c:246:5: error: initialization from incompatible pointer type [-Werror] couch_js/sm170.c:246:5: error: (near initialization for 'CouchHTTPProperties[0].getter') [-Werror] couch_js/sm170.c:252:5: error: initialization from incompatible pointer type [-Werror] couch_js/sm170.c:252:5: error: (near initialization for 'CouchHTTPFunctions[0].call') [-Werror] couch_js/sm170.c:252:5: error: excess elements in struct initializer [-Werror] couch_js/sm170.c:252:5: error: (near initialization for 'CouchHTTPFunctions[0]') [-Werror] couch_js/sm170.c:253:5: error: initialization from incompatible pointer type [-Werror] couch_js/sm170.c:253:5: error: (near initialization for 'CouchHTTPFunctions[1].call') [-Werror] couch_js/sm170.c:253:5: error: excess elements in struct initializer [-Werror] couch_js/sm170.c:253:5: error: (near initialization for 'CouchHTTPFunctions[1]') [-Werror] couch_js/sm170.c:254:5: error: initialization from incompatible pointer type [-Werror] couch_js/sm170.c:254:5: error: (near initialization for 'CouchHTTPFunctions[2].call') [-Werror] couch_js/sm170.c:254:5: error: excess elements in struct initializer [-Werror] couch_js/sm170.c:254:5: error: (near initialization for 'CouchHTTPFunctions[2]') [-Werror] couch_js/sm170.c:255:5: error: excess elements in struct initializer [-Werror] couch_js/sm170.c:255:5: error: (near initialization for 'CouchHTTPFunctions[3]') [-Werror] couch_js/sm170.c:265:5: error: initialization from incompatible pointer type [-Werror] couch_js/sm170.c:265:5: error: (near initialization for 'global_class.setProperty') [-Werror] couch_js/sm170.c:275:5: error: initialization from incompatible pointer type [-Werror] couch_js/sm170.c:275:5: error: (near initialization for 'global_functions[0].call') [-Werror] couch_js/sm170.c:275:5: error: excess elements in struct initializer [-Werror] couch_js/sm170.c:275:5: error: (near initialization for 'global_functions[0]') [-Werror] couch_js/sm170.c:276:5: error: initialization from incompatible pointer type [-Werror] couch_js/sm170.c:276:5: error: (near initialization for 'global_functions[1].call') [-Werror] couch_js/sm170.c:276:5: error: excess elements in struct initializer [-Werror] couch_js/sm170.c:276:5: error: (near initialization for 'global_functions[1]') [-Werror] couch_js/sm170.c:277:5: error: initialization from incompatible pointer type [-Werror] couch_js/sm170.c:277:5: error: (near initialization for 'global_functions[2].call') [-Werror] couch_js/sm170.c:277:5: error: excess elements in struct initializer [-Werror] couch_js/sm170.c:277:5: error: (near initialization for 'global_functions[2]') [-Werror] couch_js/sm170.c:278:5: error: initialization from incompatible pointer type [-Werror] couch_js/sm170.c:278:5: error: (near initialization for 'global_functions[3].call') [-Werror] couch_js/sm170.c:278:5: error: excess elements in struct initializer [-Werror] couch_js/sm170.c:278:5: error: (near initialization for 'global_functions[3]') [-Werror] couch_js/sm170.c:279:5: error: initialization from incompatible pointer type [-Werror] couch_js/sm170.c:279:5: error: (near initialization for 'global_functions[4].call') [-Werror] couch_js/sm170.c:279:5: error: excess elements in struct initializer [-Werror] couch_js/sm170.c:279:5: error: (near initialization for 'global_functions[4]') [-Werror] couch_js/sm170.c:280:5: error: initialization from incompatible pointer type [-Werror] couch_js/sm170.c:280:5: error: (near initialization for 'global_functions[5].call') [-Werror] couch_js/sm170.c:280:5: error: excess elements in struct initializer [-Werror] couch_js/sm170.c:280:5: error: (near initialization for 'global_functions[5]') [-Werror] couch_js/sm170.c:281:5: error: excess elements in struct initializer [-Werror] couch_js/sm170.c:281:5: error: (near initialization for 'global_functions[6]') [-Werror] couch_js/sm170.c: In function 'main': couch_js/sm170.c:292:5: error: unknown type name 'JSScript' couch_js/sm170.c:336:9: error: passing argument 5 of 'JS_InitClass' from incompatible pointer type [-Werror] /usr/include/js/jsapi.h:2110:1: note: expected 'JSNative' but argument is of type 'JSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)' couch_js/sm170.c:350:12: error: assignment makes pointer from integer without a cast [-Werror] couch_js/sm170.c:355:5: error: implicit declaration of function 'JS_AddRoot' [-Werror=implicit-function-declaration] couch_js/sm170.c:361:12: error: assignment from incompatible pointer type [-Werror] couch_js/sm170.c:367:5: error: passing argument 3 of 'JS_ExecuteScript' from incompatible pointer type [-Werror] /usr/include/js/jsapi.h:2802:1: note: expected 'struct JSObject *' but argument is of type 'int *' couch_js/sm170.c:370:5: error: implicit declaration of function 'JS_RemoveRoot' [-Werror=implicit-function-declaration] cc1: all warnings being treated as errors make[4]: *** [couchjs-main.o] Error 1 make[4]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb/priv' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0' make: *** [all] Error 2 ]0;stefan@koegl: /tmp/couchdb/dist/apache-couchdb-1.2.0stefan@koegl:/tmp/couchdb/dist/apache-couchdb-1.2.0$ exit Script done on Sun Mar 25 07:55:04 2012