Skip to content

Instantly share code, notes, and snippets.

@gr2m
Created June 11, 2012 10:40
Show Gist options
  • Save gr2m/2909514 to your computer and use it in GitHub Desktop.
Save gr2m/2909514 to your computer and use it in GitHub Desktop.
debug gists for $ brew install couchdb
HOMEBREW_VERSION: 0.9
HEAD: 26b753f72f329c2343342a46d8480b02be607ab1
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit arrandale
OS X: 10.7.4
Kernel Architecture: x86_64
Xcode: 4.3.2
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 3.1 build 318
MacPorts or Fink? false
X11: /usr/X11
System Ruby: 1.8.7-357
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /Users/gregor/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
Error: No such file or directory - /usr/local/lib/icu/4.2.1
==> Downloading http://www.apache.org/dyn/closer.cgi?path=couchdb/releases/1.2.0/apache-couchdb-1.2.0.tar.gz
Already downloaded: /Users/gregor/Library/Caches/Homebrew/couchdb-1.2.0.tar.gz
/usr/bin/tar xf /Users/gregor/Library/Caches/Homebrew/couchdb-1.2.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/couchdb/1.2.0 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc --with-erlang=/usr/local/lib/erlang/usr/include --with-js-include=/usr/local/include/js --with-js-lib=/usr/local/lib
./configure --prefix=/usr/local/Cellar/couchdb/1.2.0 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc --with-erlang=/usr/local/lib/erlang/usr/include --with-js-include=/usr/local/include/js --with-js-lib=/usr/local/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... /usr/bin/clang
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 /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/clang... gcc3
checking build system type... i386-apple-darwin11.4.0
checking host system type... i386-apple-darwin11.4.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/clang... /usr/bin/clang
checking if the linker (/usr/bin/clang) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/clang option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from /usr/bin/clang object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... /usr/bin/clang -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 /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/clang option to produce PIC... -fno-common -DPIC
checking if /usr/bin/clang PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/clang static flag -static works... no
checking if /usr/bin/clang supports -c -o file.o... yes
checking if /usr/bin/clang supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang linker (/usr/bin/clang) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether ln -s works... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/clang++ accepts -g... yes
checking dependency style of /usr/bin/clang++... gcc3
checking how to run the C++ preprocessor... /usr/bin/clang++ -E
checking for ld used by /usr/bin/clang++... /usr/bin/clang
checking if the linker (/usr/bin/clang) is GNU ld... no
checking whether the /usr/bin/clang++ linker (/usr/bin/clang) supports shared libraries... yes
checking for /usr/bin/clang++ option to produce PIC... -fno-common -DPIC
checking if /usr/bin/clang++ PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/clang++ static flag -static works... no
checking if /usr/bin/clang++ supports -c -o file.o... yes
checking if /usr/bin/clang++ supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang++ linker (/usr/bin/clang) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking for stdint.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for mmap... yes
checking if the compiler supports __builtin_expect... yes
checking if the compiler supports __builtin_ctzll... yes
checking for pthread_create in -lpthread... no
checking for erl... /usr/local/bin/erl
checking jsapi.h usability... yes
checking jsapi.h presence... yes
checking for jsapi.h... yes
checking for JS_NewObject in -lmozjs... no
checking for JS_NewObject in -ljs... 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/local/Cellar/icu4c/4.8.1.1/bin/icu-config
checking for ICU >= 3.4.1... yes
checking ICU_CFLAGS... -O3 -march=core2 -w -pipe -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long
checking ICU_CXXFLAGS... -O3 -march=core2 -w -pipe -W -Wall -ansi -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long
checking ICU_LIBS... -headerpad_max_install_names -lpthread -lm -L/usr/local/Cellar/icu4c/4.8.1.1/lib -licui18n -licuuc -licudata -lpthread -lm
checking for curl-config... /usr/bin/curl-config
checking for curl >= 7.18.0... yes
checking CURL_CFLAGS...
checking CURL_LIBS... -lcurl
checking for erlc... /usr/local/bin/erlc
checking erl_driver.h usability... yes
checking erl_driver.h presence... yes
checking for erl_driver.h... yes
checking for help2man... /usr/local/bin/help2man
checking location of init directory... not found
checking location of launchd directory... ${prefix}/Library/LaunchDaemons
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bin/couch-config.tpl
config.status: creating bin/couchdb.tpl
config.status: creating bin/couchdb.bat.tpl
config.status: creating bin/Makefile
config.status: creating etc/couchdb/Makefile
config.status: creating etc/couchdb/default.ini.tpl
config.status: creating etc/default/Makefile
config.status: creating etc/init/couchdb.tpl
config.status: creating etc/init/Makefile
config.status: creating etc/launchd/org.apache.couchdb.plist.tpl
config.status: creating etc/launchd/Makefile
config.status: creating etc/logrotate.d/couchdb.tpl
config.status: creating etc/logrotate.d/Makefile
config.status: creating etc/windows/Makefile
config.status: creating etc/Makefile
config.status: creating share/Makefile
config.status: creating src/Makefile
config.status: creating src/couchdb/couch.app.tpl
config.status: creating src/couchdb/Makefile
config.status: creating src/couchdb/priv/Makefile
config.status: creating src/erlang-oauth/Makefile
config.status: creating src/etap/Makefile
config.status: creating src/ibrowse/Makefile
config.status: creating src/mochiweb/Makefile
config.status: creating src/snappy/Makefile
config.status: creating src/snappy/google-snappy/snappy-stubs-public.h
config.status: creating src/ejson/Makefile
config.status: creating test/Makefile
config.status: creating test/bench/Makefile
config.status: creating test/etap/Makefile
config.status: creating test/etap/test_util.erl
config.status: creating test/javascript/Makefile
config.status: creating test/view_server/Makefile
config.status: creating utils/Makefile
config.status: creating var/Makefile
config.status: creating config.h
config.status: creating src/snappy/google-snappy/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
You have configured Apache CouchDB, time to relax.
Run `make && sudo make install' to install.
==> make
make
make all-recursive
Making all in bin
sed -e "s|%ERL%|/usr/local/bin/erl|g" \
-e "s|%ICU_CONFIG%|/usr/local/Cellar/icu4c/4.8.1.1/bin/icu-config|g" \
-e "s|%bindir%|/usr/local/Cellar/couchdb/1.2.0/bin|g" \
-e "s|%localerlanglibdir%|/usr/local/Cellar/couchdb/1.2.0/lib/couchdb/erlang/lib|g" \
-e "s|%defaultini%|default.ini|g" \
-e "s|%localini%|local.ini|g" \
-e "s|%localconfdir%|/usr/local/etc/couchdb|g" \
-e "s|%localstatelogdir%|/usr/local/var/log/couchdb|g" \
-e "s|%localstatelibdir%|/usr/local/var/lib/couchdb|g" \
-e "s|%localstatedir%|/usr/local/var|g" \
-e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \
-e "s|%package_author_address%|dev@couchdb.apache.org|g" \
-e "s|%package_author_name%|The Apache Software Foundation|g" \
-e "s|%package_name%|Apache CouchDB|g" \
-e "s|%version%|1.2.0|g" \
-e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|g" > \
couchdb < couchdb.tpl
sed -e "s|%ERL%|/usr/local/bin/erl|g" \
-e "s|%bindir%|/usr/local/Cellar/couchdb/1.2.0/bin|g" \
-e "s|%localerlanglibdir%|/usr/local/Cellar/couchdb/1.2.0/lib/couchdb/erlang/lib|g" \
-e "s|%localconfdir%|/usr/local/etc/couchdb|g" \
-e "s|%localdatadir%|/usr/local/Cellar/couchdb/1.2.0/share/couchdb|g" \
-e "s|%localbuilddatadir%|/usr/local/Cellar/couchdb/1.2.0/share/couchdb|g" \
-e "s|%localstatelogdir%|/usr/local/var/log/couchdb|g" \
-e "s|%localstatelibdir%|/usr/local/var/lib/couchdb|g" \
-e "s|%localstatedir%|/usr/local/var|g" \
-e "s|%localstaterundir%|/usr/local/var/run/couchdb|g" \
-e "s|%couchlibdir%|/usr/local/Cellar/couchdb/1.2.0/lib/couchdb/erlang/lib/couch-%version%|g"\
-e "s|%couchincludedir%|/usr/local/Cellar/couchdb/1.2.0/lib/couchdb/erlang/lib/include|g"\
-e "s|%couchebindir%|/usr/local/Cellar/couchdb/1.2.0/lib/couchdb/erlang/lib/ebin|g"\
-e "s|%couchprivlibdir%|/usr/local/Cellar/couchdb/1.2.0/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
ln -s -f "/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/src/couchdb/priv/couchjs" "couchjs_dev"
sed -e "s|%ERL%|/usr/local/bin/erl|g" \
-e "s|%bindir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/bin|g" \
-e "s|%localerlanglibdir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0\/src\/couchdb|g" \
-e "s|%couchlibdir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0\/src\/couchdb|g"\
-e "s|%couchincludedir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0\/src\/couchdb|g"\
-e "s|%couchebindir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0\/src\/couchdb|g"\
-e "s|%couchprivlibdir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/src/couchdb/priv/.libs|g"\
-e "s|%localdatadir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/share|g" \
-e "s|%localbuilddatadir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/share|g" \
-e "s|%localstatelibdir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/tmp/lib|g" \
-e "s|%localstatelogdir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/tmp/log|g" \
-e "s|%localstatedir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/tmp|g" \
-e "s|%localstaterundir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/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%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/utils/run|g" > \
couch-config_dev < couch-config.tpl
chmod +x couch-config_dev
chmod +x couch-config
chmod +x couchdb
Making all in etc
Making all in couchdb
sed -e "s|%bindir%|/usr/local/Cellar/couchdb/1.2.0/bin|g" \
-e "s|%localconfdir%|/usr/local/etc/couchdb|g" \
-e "s|%localdatadir%|/usr/local/Cellar/couchdb/1.2.0/share/couchdb|g" \
-e "s|%localbuilddatadir%|/usr/local/Cellar/couchdb/1.2.0/share/couchdb|g" \
-e "s|%localstatelibdir%|/usr/local/var/lib/couchdb|g" \
-e "s|%localstatelogdir%|/usr/local/var/log/couchdb|g" \
-e "s|%localstaterundir%|/usr/local/var/run/couchdb|g" \
-e "s|%couchprivlibdir%|/usr/local/Cellar/couchdb/1.2.0/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%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/bin|g" \
-e "s|%localconfdir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/etc/couchdb|g" \
-e "s|%localdatadir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/share|g" \
-e "s|%localbuilddatadir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/share|g" \
-e "s|%localstatelibdir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/tmp/lib|g" \
-e "s|%localstatelogdir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/tmp/log|g" \
-e "s|%localstaterundir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/apache-couchdb-1.2.0/tmp/run|g" \
-e "s|%couchprivlibdir%|/private/tmp/homebrew-couchdb-1.2.0-Q5pS/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
if test ! -f "local_dev.ini"; then \
cp local.ini local_dev.ini; \
fi
Making all in default
make[3]: Nothing to be done for `all'.
Making all in init
make[3]: Nothing to be done for `all'.
Making all in launchd
make[3]: Nothing to be done for `all'.
Making all in logrotate.d
make[3]: Nothing to be done for `all'.
Making all in windows
make[3]: Nothing to be done for `all'.
if test "../build-aux/install-sh -c -d"; then \
../build-aux/install-sh -c -d launchd; \
else \
if test ! -d launchd; then \
mkdir launchd; \
fi \
fi
sed -e "s|%localstatelogdir%|/usr/local/var/log/couchdb|g" < logrotate.d/couchdb.tpl > logrotate.d/couchdb
sed -e "s|%configure_input%|launchd/org.apache.couchdb.plist. Generated from launchd/org.apache.couchdb.plist.tpl by configure.|" \
-e "s|%bindir%|/usr/local/Cellar/couchdb/1.2.0/bin|" \
-e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|" \
< launchd/org.apache.couchdb.plist.tpl > launchd/org.apache.couchdb.plist
Making all in src
Making all in couchdb
Making all in priv
/bin/sh ../../../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -I/usr/local/lib/erlang/usr/include -I/usr/local/Cellar/icu4c/4.8.1.1/include -I/usr/local/Cellar/readline/6.2.2/include -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -Os -w -pipe -march=native -Qunused-arguments -MT couch_icu_driver_la-couch_icu_driver.lo -MD -MP -MF .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c -o couch_icu_driver_la-couch_icu_driver.lo `test -f 'icu_driver/couch_icu_driver.c' || echo './'`icu_driver/couch_icu_driver.c
/bin/sh ../../../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -D_BSD_SOURCE -I/usr/local/lib/erlang/usr/include -I/usr/local/Cellar/icu4c/4.8.1.1/include -I/usr/local/Cellar/readline/6.2.2/include -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -Os -w -pipe -march=native -Qunused-arguments -MT couch_ejson_compare_la-couch_ejson_compare.lo -MD -MP -MF .deps/couch_ejson_compare_la-couch_ejson_compare.Tpo -c -o couch_ejson_compare_la-couch_ejson_compare.lo `test -f 'couch_ejson_compare/couch_ejson_compare.c' || echo './'`couch_ejson_compare/couch_ejson_compare.c
cp spawnkillable/couchspawnkillable.sh couchspawnkillable
/usr/bin/clang -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -I/usr/local/Cellar/icu4c/4.8.1.1/include -I/usr/local/Cellar/readline/6.2.2/include -I/opt/local/include -I/usr/local/include -I/usr/include -g -Wall -Werror -D_BSD_SOURCE -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/usr/local/Cellar/icu4c/4.8.1.1/include -I/usr/local/Cellar/readline/6.2.2/include -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -Os -w -pipe -march=native -Qunused-arguments -MT couchjs-http.o -MD -MP -MF .deps/couchjs-http.Tpo -c -o couchjs-http.o `test -f 'couch_js/http.c' || echo './'`couch_js/http.c
chmod +x couchspawnkillable
/usr/bin/clang -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -I/usr/local/Cellar/icu4c/4.8.1.1/include -I/usr/local/Cellar/readline/6.2.2/include -I/opt/local/include -I/usr/local/include -I/usr/include -g -Wall -Werror -D_BSD_SOURCE -DXP_UNIX -I/usr/local/include/js -I/usr/local/include/js/js -I/usr/local/include/js/mozjs -I/usr/local/Cellar/icu4c/4.8.1.1/include -I/usr/local/Cellar/readline/6.2.2/include -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -Os -w -pipe -march=native -Qunused-arguments -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
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -I/usr/local/lib/erlang/usr/include -I/usr/local/Cellar/icu4c/4.8.1.1/include -I/usr/local/Cellar/readline/6.2.2/include -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -Os -w -pipe -march=native -Qunused-arguments -MT couch_icu_driver_la-couch_icu_driver.lo -MD -MP -MF .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c icu_driver/couch_icu_driver.c -fno-common -DPIC -o .libs/couch_icu_driver_la-couch_icu_driver.o
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/snappy/google-snappy -D_BSD_SOURCE -I/usr/local/lib/erlang/usr/include -I/usr/local/Cellar/icu4c/4.8.1.1/include -I/usr/local/Cellar/readline/6.2.2/include -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -Os -w -pipe -march=native -Qunused-arguments -MT couch_ejson_compare_la-couch_ejson_compare.lo -MD -MP -MF .deps/couch_ejson_compare_la-couch_ejson_compare.Tpo -c couch_ejson_compare/couch_ejson_compare.c -fno-common -DPIC -o .libs/couch_ejson_compare_la-couch_ejson_compare.o
In file included from couch_js/main.c:20:
couch_js/sm170.c:292:5: error: use of undeclared identifier 'JSScript'
JSScript* script;
^
couch_js/sm170.c:292:15: error: use of undeclared identifier 'script'
JSScript* script;
^
couch_js/sm170.c:361:5: error: use of undeclared identifier 'script'
script = JS_CompileUCScript(cx, global, schars, slen, args->script_name, 1);
^
couch_js/sm170.c:362:9: error: use of undeclared identifier 'script'
if(!script) {
^
couch_js/sm170.c:367:34: error: use of undeclared identifier 'script'
JS_ExecuteScript(cx, global, script, &result);
^
5 errors generated.
make[4]: *** [couchjs-main.o] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/couch_icu_driver_la-couch_icu_driver.Tpo .deps/couch_icu_driver_la-couch_icu_driver.Plo
mv -f .deps/couchjs-http.Tpo .deps/couchjs-http.Po
mv -f .deps/couch_ejson_compare_la-couch_ejson_compare.Tpo .deps/couch_ejson_compare_la-couch_ejson_compare.Plo
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
config.log was copied to /Users/gregor/Library/Logs/Homebrew
==> Exit Status: 2
https://github.com/mxcl/master/blob/master/Library/Formula/couchdb.rb#L24
==> Build Environment
CPU: quad-core 64-bit arrandale
MacOS: 10.7.4-x86_64
Xcode: 4.3.2
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CPPFLAGS: -I/usr/local/Cellar/icu4c/4.8.1.1/include -I/usr/local/Cellar/readline/6.2.2/include
LDFLAGS: -L/usr/local/Cellar/icu4c/4.8.1.1/lib -L/usr/local/Cellar/readline/6.2.2/lib
MAKEFLAGS: -j4
PKG_CONFIG_PATH: /usr/local/Cellar/icu4c/4.8.1.1/lib/pkgconfig
Error: Failed executing: make (couchdb.rb:24)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment