No title Revision 613731363333 (Sun Mar 25 2012 at 05:57) - Diff Link to this snippet: https://friendpaste.com/3cmPcgwU1hXHYjXhixaLFk Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392Script started on Sun Mar 25 07:54:24 2012LC_ALL]0;stefan@koegl: /tmp/couchdb/dist/apache-couchdb-1.2.0[01;32mstefan@koegl[00m:[01;34m/tmp/couchdb/dist/apache-couchdb-1.2.0[00m$ LC_ALL=C]0;stefan@koegl: /tmp/couchdb/dist/apache-couchdb-1.2.0[01;32mstefan@koegl[00m:[01;34m/tmp/couchdb/dist/apache-couchdb-1.2.0[00m$ ./configLC_ALL=Cmake check./configure --prefix=/tmp/couchdb/install[17Pcd apache-couchdb-1.2.0/./configure --prefix=/tmp/couchdb/installchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking for gcc... gccchecking for C compiler default output file name... a.outchecking whether the C compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables... checking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking for style of include used by make... GNUchecking dependency style of gcc... gcc3checking build system type... i686-pc-linux-gnuchecking host system type... i686-pc-linux-gnuchecking how to print strings... printfchecking for a sed that does not truncate output... /bin/sedchecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for fgrep... /bin/grep -Fchecking for ld used by gcc... /usr/bin/ldchecking if the linker (/usr/bin/ld) is GNU ld... yeschecking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -Bchecking the name lister (/usr/bin/nm -B) interface... BSD nmchecking whether ln -s works... yeschecking the maximum length of command line arguments... 1572864checking whether the shell understands some XSI constructs... yeschecking whether the shell understands "+="... yeschecking for /usr/bin/ld option to reload object files... -rchecking for objdump... objdumpchecking how to recognize dependent libraries... pass_allchecking for ar... archecking for strip... stripchecking for ranlib... ranlibchecking command to parse /usr/bin/nm -B output from gcc object... okchecking how to run the C preprocessor... gcc -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking for dlfcn.h... yeschecking for objdir... .libschecking if gcc supports -fno-rtti -fno-exceptions... nochecking for gcc option to produce PIC... -fPIC -DPICchecking if gcc PIC flag -fPIC -DPIC works... yeschecking if gcc static flag -static works... yeschecking if gcc supports -c -o file.o... yeschecking if gcc supports -c -o file.o... (cached) yeschecking whether the gcc linker (/usr/bin/ld) supports shared libraries... yeschecking whether -lc should be explicitly linked in... nochecking dynamic linker characteristics... GNU/Linux ld.sochecking how to hardcode library paths into programs... immediatechecking whether stripping libraries is possible... yeschecking if libtool supports shared libraries... yeschecking whether to build shared libraries... yeschecking whether to build static libraries... nochecking whether ln -s works... yeschecking for pkg-config... /usr/bin/pkg-configchecking pkg-config is at least version 0.9.0... yeschecking for g++... g++checking whether we are using the GNU C++ compiler... yeschecking whether g++ accepts -g... yeschecking dependency style of g++... gcc3checking how to run the C++ preprocessor... g++ -Echecking for ld used by g++... /usr/bin/ldchecking if the linker (/usr/bin/ld) is GNU ld... yeschecking whether the g++ linker (/usr/bin/ld) supports shared libraries... yeschecking for g++ option to produce PIC... -fPIC -DPICchecking if g++ PIC flag -fPIC -DPIC works... yeschecking if g++ static flag -static works... yeschecking if g++ supports -c -o file.o... yeschecking if g++ supports -c -o file.o... (cached) yeschecking whether the g++ linker (/usr/bin/ld) supports shared libraries... yeschecking dynamic linker characteristics... (cached) GNU/Linux ld.sochecking how to hardcode library paths into programs... immediatechecking whether byte ordering is bigendian... nochecking for stdint.h... (cached) yeschecking stddef.h usability... yeschecking stddef.h presence... yeschecking for stddef.h... yeschecking sys/mman.h usability... yeschecking sys/mman.h presence... yeschecking for sys/mman.h... yeschecking sys/resource.h usability... yeschecking sys/resource.h presence... yeschecking for sys/resource.h... yeschecking for mmap... yeschecking if the compiler supports __builtin_expect... yeschecking if the compiler supports __builtin_ctzll... yeschecking for pthread_create in -lpthread... nochecking for erl... /usr/bin/erlchecking for JS185... yeschecking for JS185... yeschecking jsapi.h usability... yeschecking jsapi.h presence... yeschecking for jsapi.h... yeschecking for JS_NewObject in -lmozjs... nochecking for JS_NewObject in -ljs... yeschecking for JS_NewCompartmentAndGlobalObject in -ljs... nochecking for JS_ThrowStopIteration in -ljs... nochecking for JS_GetStringCharsAndLength in -ljs... nochecking for JSScript*... nochecking for icu-config... /usr/bin/icu-configchecking for ICU >= 3.4.1... yeschecking 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-configchecking for curl >= 7.18.0... yeschecking CURL_CFLAGS... checking CURL_LIBS... -L/usr/lib/i386-linux-gnu -lcurl -Wl,-Bsymbolic-functions -Wl,-z,relrochecking for erlc... /usr/bin/erlcchecking erl_driver.h usability... yeschecking erl_driver.h presence... yeschecking for erl_driver.h... yeschecking for help2man... /usr/bin/help2manchecking location of init directory... ${sysconfdir}/init.dchecking location of launchd directory... not foundconfigure: creating ./config.statusconfig.status: creating Makefileconfig.status: creating bin/couch-config.tplconfig.status: creating bin/couchdb.tplconfig.status: creating bin/couchdb.bat.tplconfig.status: creating bin/Makefileconfig.status: creating etc/couchdb/Makefileconfig.status: creating etc/couchdb/default.ini.tplconfig.status: creating etc/default/Makefileconfig.status: creating etc/init/couchdb.tplconfig.status: creating etc/init/Makefileconfig.status: creating etc/launchd/org.apache.couchdb.plist.tplconfig.status: creating etc/launchd/Makefileconfig.status: creating etc/logrotate.d/couchdb.tplconfig.status: creating etc/logrotate.d/Makefileconfig.status: creating etc/windows/Makefileconfig.status: creating etc/Makefileconfig.status: creating share/Makefileconfig.status: creating src/Makefileconfig.status: creating src/couchdb/couch.app.tplconfig.status: creating src/couchdb/Makefileconfig.status: creating src/couchdb/priv/Makefileconfig.status: creating src/erlang-oauth/Makefileconfig.status: creating src/etap/Makefileconfig.status: creating src/ibrowse/Makefileconfig.status: creating src/mochiweb/Makefileconfig.status: creating src/snappy/Makefileconfig.status: creating src/snappy/google-snappy/snappy-stubs-public.hconfig.status: creating src/ejson/Makefileconfig.status: creating test/Makefileconfig.status: creating test/bench/Makefileconfig.status: creating test/etap/Makefileconfig.status: creating test/etap/test_util.erlconfig.status: creating test/javascript/Makefileconfig.status: creating test/view_server/Makefileconfig.status: creating utils/Makefileconfig.status: creating var/Makefileconfig.status: creating config.hconfig.status: config.h is unchangedconfig.status: creating src/snappy/google-snappy/config.hconfig.status: src/snappy/google-snappy/config.h is unchangedconfig.status: executing depfiles commandsconfig.status: executing libtool commandsYou have configured Apache CouchDB, time to relax.Run `make && sudo make install' to install.]0;stefan@koegl: /tmp/couchdb/dist/apache-couchdb-1.2.0[01;32mstefan@ koegl[00m:[01;34m/tmp/couchdb/dist/apache-couchdb-1.2.0[00m$ make checkmake all-recursivemake[1]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0'Making all in binmake[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.tplchmod +x couchdbsed -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.tplchmod +x couch-configln -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.tplchmod +x couch-config_devmake[2]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/bin'Making all in etcmake[2]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc'Making all in couchdbmake[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.inised -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.inimake[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/etc/couchdb'Making all in defaultmake[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 initmake[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 launchdmake[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.dmake[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 windowsmake[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 \ fised -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/couchdbsed -e "s|%localstatelogdir%|/tmp/couchdb/install/var/log/couchdb|g" < logrotate.d/couchdb.tpl > logrotate.d/couchdbmake[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 srcmake[2]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src'Making all in couchdbmake[3]: Entering directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb'Making all in privmake[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.cIn 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 errorsmake[4]: *** [couchjs-main.o] Error 1make[4]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb/priv'make[3]: *** [all-recursive] Error 1make[3]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src/couchdb'make[2]: *** [all-recursive] Error 1make[2]: Leaving directory `/tmp/couchdb/dist/apache-couchdb-1.2.0/src'make[1]: *** [all-recursive] Error 1make[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.0[01;32mstefan@koegl[00m:[01;34m/tmp/couchdb/dist/apache-couchdb-1.2.0[00m$ exitScript done on Sun Mar 25 07:55:04 2012