Git Product home page Git Product logo

build-couchdb's People

Contributors

jhs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

build-couchdb's Issues

Build fails on Ubuntu 11.10

Tail of rake.log:

STDOUT 
STDOUT ## ----------- ##
STDOUT ## confdefs.h. ##
STDOUT ## ----------- ##
STDOUT 
STDOUT /* confdefs.h */
STDOUT #define PACKAGE_NAME "curl"
STDOUT #define PACKAGE_TARNAME "curl"
STDOUT #define PACKAGE_VERSION "-"
STDOUT #define PACKAGE_STRING "curl -"
STDOUT #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/"
STDOUT #define PACKAGE_URL ""
STDOUT #define PACKAGE "curl"
STDOUT #define VERSION "7.21.4-DEV"
STDOUT #define OS "i686-pc-linux-gnu"
STDOUT 
STDOUT configure: exit 77
STDOUT == End of config.log ==
STDERR rake aborted!
STDERR Command failed with status (77): [env LDFLAGS='-R/home/diversario/local/couc...]
STDERR /usr/lib/ruby/1.8/rake.rb:995:in `sh'
STDERR /usr/lib/ruby/1.8/rake.rb:1010:in `call'
STDERR /usr/lib/ruby/1.8/rake.rb:1010:in `sh'
STDERR /usr/lib/ruby/1.8/rake.rb:1094:in `sh'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:18
STDERR /home/diversario/distros/build-couchdb/tasks/lib.rb:206:in `show_file'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:17
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:16:in `chdir'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:16
STDERR /usr/lib/ruby/1.8/tmpdir.rb:129:in `mktmpdir'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:15
STDERR /usr/lib/ruby/1.8/rake.rb:636:in `call'
STDERR /usr/lib/ruby/1.8/rake.rb:636:in `execute'
STDERR /usr/lib/ruby/1.8/rake.rb:631:in `each'
STDERR /usr/lib/ruby/1.8/rake.rb:631:in `execute'
STDERR /usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
STDERR /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/rake.rb:607:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `each'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:596:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
STDERR /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/rake.rb:607:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `each'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:596:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
STDERR /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/rake.rb:607:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `each'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:596:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
STDERR /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/rake.rb:607:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `each'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:596:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
STDERR /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/rake.rb:583:in `invoke'
STDERR /usr/lib/ruby/1.8/rake.rb:2051:in `invoke_task'
STDERR /usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
STDERR /usr/lib/ruby/1.8/rake.rb:2029:in `each'
STDERR /usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
STDERR /usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
STDERR /usr/lib/ruby/1.8/rake.rb:2023:in `top_level'
STDERR /usr/lib/ruby/1.8/rake.rb:2001:in `run'
STDERR /usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
STDERR /usr/lib/ruby/1.8/rake.rb:1998:in `run'
STDERR /usr/bin/rake:28

I just cloned the repo into ~/distros/build-couch and ran rake.

Using build-couchdb to install couchdb on servers?

Hi,

Is it possible/advisable to use build-couchdb in a staging/production server?

If so, what does one have to change in the installation steps so that it works like any other DBMS? I'm particularly interested on starting up couchdb automatically on server boot, and being installed in a "proper" folder - not /home/billy/

I somehow doubt this can be accomplished by simply doing sudo rake instead of rake :)

Regards,

Enrique

How to get a clean checkout?

I'm trying to use build-couchdb for building older release versions (e.g., 1.1.1 and 1.0.3), but can't seem to get a clean checkout:

rake git="git://git.apache.org/couchdb.git tags/1.1.1" install=/opt/couchdb-1.1.1

WARNING: This checkout is not clean:
:100755 100755 5584a3516062ec3845061c5a44133192260068ac 0000000000000000000000000000000000000000 M dependencies/autoconf-2.59/configure
:100644 100644 d3c5b40a94091285c27361905f591af64c1f7b21 0000000000000000000000000000000000000000 M  dependencies/autoconf-2.62/INSTALL
:100755 100755 cd159e53695a05f70deb87482772201b856931d0 0000000000000000000000000000000000000000 M  dependencies/autoconf-2.62/configure
:100644 100644 c5828f7595b49972221bb046e221ee3ddcfb63ba 0000000000000000000000000000000000000000 M  dependencies/autoconf-2.62/doc/autoconf.info
:100755 100755 d65d90fca78a07afdfa024d451f8e99bc2e12540 0000000000000000000000000000000000000000 M  dependencies/autoconf-2.62/doc/stamp-vti
:100755 100755 d65d90fca78a07afdfa024d451f8e99bc2e12540 0000000000000000000000000000000000000000 M  dependencies/autoconf-2.62/doc/version.texi

Build CouchDB commit: 14effdd48c87443f06a84d6873dc029109ca48fc

Is it a matter of picking the right repo - I tried git://git-wip-us.apache.org/repos/asf/couchdb.git tags/1.1.1 as well. Not sure where the issue is - any help is appreciated.

"Recompile with -fPIC" error

I'm trying to get a more recent CouchDB build going on an EC2 instance (ami-af93cdea) again. It's dying towards the end of SpiderMonkey compilation for lack of position independent code:

/usr/bin/python2.6 /home/ec2-user/build-couchdb/dependencies/spidermonkey/js/src/config/pythonpath.py -I./config /home/ec2-user/build-couchdb/dependencies/spidermonkey/js/src/config/expandlibs_exec.py --extract -- ar cr libjs_static.a jsalloc.o jsanalyze.o jsapi.o jsarena.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jsgcmark.o jsgcchunk.o jsgcstats.o jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o jslog2.o jsmath.o jsnativestack.o jsnum.o jsobj.o json.o jsonparser.o jsopcode.o jsparse.o jsproxy.o jsprf.o jsprobes.o jspropertycache.o jspropertytree.o jsreflect.o jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jstypedarray.o jsutil.o jsweakmap.o jswrapper.o jsxdrapi.o jsxml.o prmjtime.o sharkctl.o GlobalObject.o Stack.o jstracer.o Assembler.o Allocator.o CodeAlloc.o Containers.o Fragmento.o LIR.o njconfig.o RegAlloc.o avmplus.o NativeX64.o jsbuiltins.o VMPI.o Writer.o MethodJIT.o StubCalls.o Compiler.o FrameState.o FastArithmetic.o FastOps.o StubCompiler.o MonoIC.o PolyIC.o ImmutableSync.o InvokeHelpers.o Retcon.o TrampolineCompiler.o checks.o conversions.o diy-fp.o v8-dtoa.o fast-dtoa.o platform.o utils.o Assertions.o ExecutableAllocatorPosix.o ExecutableAllocatorWin.o ExecutableAlloc/usr/bin/ld: MethodJIT.o: relocation R_X86_64_PC32 against symbol `JaegerTrampolineReturn' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libmozjs.so] Error 1
make: *** [default] Error 2
git checkout HEAD configure.in
git clean -df .
rake aborted!
Command failed with status (2): [make ...]

The odd thing is that most of the compile lines I see in the build log (https://gist.github.com/1878200) include -fPIC...any idea what might be going on? (I haven't updated gcc/make/libtool/etc. since the last time I built CouchDB a while back, I'll retry once more with those upgraded but kind of running out of steam here...)

rpm package for a CouchDB version for production boxes

Is there a way I can create an rpm package for a particular CouchDB version? I do not want to pollute my production box with all the dev-related (e.g., compiler) stuff.

Or is there any alternate mechanism?

Thanks,
Sanchit Bahal

Build on OS X Snow Leopard

After building, and trying to run couchdb on 10.6.8 I get this error:

initial call: application_master:init/4
pid: <0.30.0>
registered_name: []
exception exit: {bad_return,
                    {{couch_app,start,
                         [normal,
                          ["/Users/ryan/devel/build-couchdb/build/etc/couchdb/default.ini",
                           "/Users/ryan/devel/build-couchdb/build/etc/couchdb/local.ini"]]},
                     {'EXIT',
                         "dlopen(/Users/ryan/devel/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0/priv/lib/couch_icu_driver.so, 2): no suitable image found.  Did find:\n\t/Users/ryan/devel/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0/priv/lib/couch_icu_driver.so: mach-o, but wrong architecture"}}}

I am sure it has to do with this

http://comments.gmane.org/gmane.comp.db.couchdb.user/6326

Not sure how to get the proper erlang and icu flags set in the build-couchdb script.

rake build fails with undefined method `[]' for nil:NilClass on Linux Mint (Ubuntu)

OS - Mint Lisa
ruby - 1.8-full installed
Erlang - 1:14.b.2 installed

Followed steps and it all worked out successfully until the rake build.

Full trace:

$ rake --trace
(in /home/ghachey/Documents/Development/Git/build-couchdb)
rake aborted!
undefined method `[]' for nil:NilClass
/home/ghachey/Documents/Development/Git/build-couchdb/tasks/lib/package_dep.rb:23:in `package_dep'
/home/ghachey/Documents/Development/Git/build-couchdb/tasks/toolchain.rake:13
/home/ghachey/Documents/Development/Git/build-couchdb/tasks/toolchain.rake:9:in `each'
/home/ghachey/Documents/Development/Git/build-couchdb/tasks/toolchain.rake:9
/usr/lib/ruby/1.8/rake.rb:1882:in `in_namespace'
/usr/lib/ruby/1.8/rake.rb:910:in `namespace'
/home/ghachey/Documents/Development/Git/build-couchdb/tasks/toolchain.rake:6
/usr/lib/ruby/1.8/rake.rb:1620:in `load'
/usr/lib/ruby/1.8/rake.rb:1620:in `load'
/usr/lib/ruby/1.8/rake.rb:2451:in `load_imports'
/usr/lib/ruby/1.8/rake.rb:2390:in `raw_load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2017:in `load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:2016:in `load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2000:in `run'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1998:in `run'
/usr/bin/rake:28

GH

How to build version 1.1.x

Hello,

From the READ.md file, it is not clear to me on how to build a specific version of the Couchdb.
My second problem is how to run multiple Couchdb instances on the same machine.

Thanks,
Alex

OS X fixes

Reported by Hans Schroeder.

When build stops at erlang

  1. Edit erts/emulator/Makefile.in:

    $(OBJDIR)/%.o: beam/%.c

  2.   $(CC) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) $(INCLUDES) -c $< -o $@
    
  3.   $(CC) $(INCLUDES) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) -c $< -o $@
    

Error was:

beam/erl_bif_re.c:921: error: 'PCRE_EXTRA_LOOP_LIMIT' undeclared (first use in
this function)
beam/erl_bif_re.c:921: error: (Each undeclared identifier is reported only once
beam/erl_bif_re.c:921: error: for each function it appears in.)
beam/erl_bif_re.c:923: error: 'pcre_extra' has no member named 'loop_limit'
beam/erl_bif_re.c:926: error: 'pcre_extra' has no member named 'loop_limit'
beam/erl_bif_re.c:927: error: 'pcre_extra' has no member named 'loop_limit'
beam/erl_bif_re.c:930: error: 'pcre_extra' has no member named 'restart_data'
beam/erl_bif_re.c:931: error: 'pcre_extra' has no member named 'restart_flags'

When build stops at icu

  1. Edit configure:
  • -arch_ppc|-arch_i386|_-arch_x86_64*) ac_cv_c_bigendian=universal;;
  • _-arch_ppc*) ac_cv_c_bigendian=yes;;

Error was:

header_size mismatch

When build stops at couched

  1. Edit Makefile.am

changing line 70 of ../dependencies/couchdb/src/couchdb/priv/Makefile.am from:

HELP2MAN_OPTION=--no-info --help-option="-h" --version-option="-V"

to:

HELP2MAN_OPTION=--no-info --help-option="-h" --version-option="-V" --no-discard-stderr

Missing OpenSSL

I'm trying to build CouchDB 1.0.2 on Ubuntu 10.04 using:

$ rake git="git://git.apache.org/couchdb.git tags/1.0.2"
$ . build/env.sh 
$ build/bin/couchdb -V
couchdb - Apache CouchDB 1.0.2
...
$ build/bin/couchdb
{"init terminating in do_boot",{undef,[{couch,start,[]},{init,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

The error I'm getting is described here: http://wiki.apache.org/couchdb/Error_messages#Missing_OpenSSL -- so I checked that libssl-dev and erlang-ssl are installed. Local ssl seems to have compiled fine:

$ ls build/lib/erlang/lib/ssl-4.1.5/
ebin  examples  priv  src

Any ideas?

rake fails on Ubuntu 12.04

I realize that 12.04 is not officially supported yet, but it's release is coming up soon and I'd like to get this working. When I run rake, the process tries to install zlib1g-dev, which is already installed on my system. Rake then aborts. I ran it with trace and it complains about bin/makeinfo not being there.

git protocol

Hi,

Just a really tiny suggestion: it would be easier to change protocol from git:// to http:// cause some working environment only allows http and https access to the Internet :)

Drake

Install help2man

Hi,

I've been using your guides to install couchdb but on ubuntu is the "help2man" package missing. From other ticket I see this is a n issue on centos too.

Can you include it in your readme file installation instructions?

Thanks,
Michael

rake aborted, RHEL 5.4

rake.log: http://pastebin.com/d98nVw3u

The line that stands out to me is the first STDERR line at the group towards the bottom:

STDERR make[2]: execvp: ../../tests/autom4te: Permission denied

I'm running rake as root here. Hmm... could it be a problem with SELinux?

On Ubuntu-11.10, libssl0.9.8 is required to run couchdb

On Ubuntu-11.10, if I uninstall libssl0.9.8 package, couchdb fails to start with the following error:

[error] [<0.93.0>] Unable to load crypto library. Failed with error:
"load_failed, Failed to load NIF library /home/boutique/CouchDB/lib/erlang/lib/crypto-2.0.4/priv/lib/crypto: 'libcrypto.so.0.9.8: cannot open shared object file: No such file or directory'"
OpenSSL might not be installed on this system.

Note that Ubuntu-11.10 uses libssl1.0.0 which is installed as a dependency of libssl-dev.

Fails if special characters in cwd

If I try to build-couchdb from a directory with an apostrophe in its name, it fails:

$ rake
Build CouchDB commit: 0e22abd94d08a22d483f38448b94d19f0132ae65
/Users/natevw/Development/Others'/build-couchdb/dependencies/autoconf-2.59/configure --prefix=/Users/natevw/Development/Others'/build-couchdb/build --program-suffix=2.59
sh: /Users/natevw/Development/Others/build-couchdb/dependencies/autoconf-2.59/configure --prefix=/Users/natevw/Development/Others/build-couchdb/build: No such file or directory
cat config.log
== Output of config.log ==
cat: config.log: No such file or directory
rake aborted!
Command failed with status (1): [cat config.log...]

Tasks: TOP => default => couchdb:build => couchdb:couchdb => erlang:build => /Users/natevw/Development/Others'/build-couchdb/build/bin/erl => /Users/natevw/Development/Others'/build-couchdb/build/bin/autoconf2.59
(See full trace by running task with --trace)

Workaround: build from a different directory.

/bin/ed

The list of packages that need to be installed on Ubuntu 10.04LTS should also include 'ed', since /bin/ed is needed to compile Erlang/OTP and it's apparently not included in a default system.

Ubuntu 11.10 64 server not install [bug]

c++ -o jsinterp.o -c -I./dist/system_wrappers_js -include /root/build-couchdb/dependencies/spidermonkey/js/src/config/gcc_hidden.h -DOSTYPE="Linux2.6" -DOSARCH=Linux -DEXPORT_JS_API -DIMPL_MFBT -D__STDC_LIMIT_MACROS -I/root/build-couchdb/dependencies/spidermonkey/js/src -I. -I./dist/include -I./dist/include/nsprpub -I/root/build-couchdb/dependencies/spidermonkey/js/src -I/root/build-couchdb/dependencies/spidermonkey/js/src/assembler -I/root/build-couchdb/dependencies/spidermonkey/js/src/yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -fstrict-aliasing -fno-stack-protector -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinterp.pp /root/build-couchdb/dependencies/spidermonkey/js/src/jsinterp.cpp
In file included from /root/build-couchdb/dependencies/spidermonkey/js/src/jsinterp.cpp:85:0:
/root/build-couchdb/dependencies/spidermonkey/js/src/jsobjinlines.h: In member function ‘void JSObject::setArrayLength(uint32)’:
/root/build-couchdb/dependencies/spidermonkey/js/src/jsobjinlines.h:367:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
In file included from /root/build-couchdb/dependencies/spidermonkey/js/src/assembler/assembler/MacroAssembler.h:54:0,
from /root/build-couchdb/dependencies/spidermonkey/js/src/methodjit/MonoIC.h:44,
from /root/build-couchdb/dependencies/spidermonkey/js/src/jsinterp.cpp:102:
/root/build-couchdb/dependencies/spidermonkey/js/src/assembler/assembler/MacroAssemblerX86_64.h: In member function ‘JSC::AbstractMacroAssemblerJSC::X86Assembler::Call JSC::MacroAssemblerX86_64::call()’:
/root/build-couchdb/dependencies/spidermonkey/js/src/assembler/assembler/MacroAssemblerX86_64.h:127:22: warning: variable ‘label’ set but not used [-Wunused-but-set-variable]
/root/build-couchdb/dependencies/spidermonkey/js/src/assembler/assembler/MacroAssemblerX86_64.h: In member function ‘JSC::AbstractMacroAssemblerJSC::X86Assembler::Call JSC::MacroAssemblerX86_64::tailRecursiveCall()’:
/root/build-couchdb/dependencies/spidermonkey/js/src/assembler/assembler/MacroAssemblerX86_64.h:135:22: warning: variable ‘label’ set but not used [-Wunused-but-set-variable]
/root/build-couchdb/dependencies/spidermonkey/js/src/assembler/assembler/MacroAssemblerX86_64.h: In member function ‘JSC::AbstractMacroAssemblerJSC::X86Assembler::Call JSC::MacroAssemblerX86_64::makeTailRecursiveCall(JSC::AbstractMacroAssemblerJSC::X86Assembler::Jump)’:
/root/build-couchdb/dependencies/spidermonkey/js/src/assembler/assembler/MacroAssemblerX86_64.h:144:22: warning: variable ‘label’ set but not used [-Wunused-but-set-variable]
{standard input}: Assembler messages:
{standard input}:26529: Warning: end of file not at end of a line; newline inserted
{standard input}:28246: Error: unknown pseudo-op: .lbe25070' {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions. make[1]: Leaving directory/tmp/tracemonkey_build20120309-22228-1tkrui3'
make[1]: *** [jsinterp.o] Error 4
make: *** [default] Error 2
git checkout HEAD configure.in
git clean -df .
rake aborted!
Command failed with status (2): [make ...]
/usr/lib/ruby/1.8/rake.rb:995:in sh' /usr/lib/ruby/1.8/rake.rb:1010:incall'
/usr/lib/ruby/1.8/rake.rb:1010:in sh' /usr/lib/ruby/1.8/rake.rb:1094:insh'
/root/build-couchdb/tasks/lib.rb:142:in gmake' /root/build-couchdb/tasks/tracemonkey.rake:45 /root/build-couchdb/tasks/tracemonkey.rake:28:inchdir'
/root/build-couchdb/tasks/tracemonkey.rake:28
/usr/lib/ruby/1.8/tmpdir.rb:129:in mktmpdir' /root/build-couchdb/tasks/tracemonkey.rake:27 /usr/lib/ruby/1.8/rake.rb:636:incall'
/usr/lib/ruby/1.8/rake.rb:636:in execute' /usr/lib/ruby/1.8/rake.rb:631:ineach'
/usr/lib/ruby/1.8/rake.rb:631:in execute' /usr/lib/ruby/1.8/rake.rb:597:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in synchronize' /usr/lib/ruby/1.8/rake.rb:590:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:607:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:604:ineach'
/usr/lib/ruby/1.8/rake.rb:604:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:596:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in synchronize' /usr/lib/ruby/1.8/rake.rb:590:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:607:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:604:ineach'
/usr/lib/ruby/1.8/rake.rb:604:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:596:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in synchronize' /usr/lib/ruby/1.8/rake.rb:590:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:607:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:604:ineach'
/usr/lib/ruby/1.8/rake.rb:604:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:596:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in synchronize' /usr/lib/ruby/1.8/rake.rb:590:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:607:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:604:ineach'
/usr/lib/ruby/1.8/rake.rb:604:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:596:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in synchronize' /usr/lib/ruby/1.8/rake.rb:590:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:583:in invoke' /usr/lib/ruby/1.8/rake.rb:2051:ininvoke_task'
/usr/lib/ruby/1.8/rake.rb:2029:in top_level' /usr/lib/ruby/1.8/rake.rb:2029:ineach'
/usr/lib/ruby/1.8/rake.rb:2029:in top_level' /usr/lib/ruby/1.8/rake.rb:2068:instandard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:2023:in top_level' /usr/lib/ruby/1.8/rake.rb:2001:inrun'
/usr/lib/ruby/1.8/rake.rb:2068:in standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1998:inrun'
/usr/bin/rake:28

Build Fails on ArchLinuxArm

Hello! I'm getting the same bug that I see seems to indicate that the script doesn't understand what distribution I'm running. I'm using http://archlinuxarm.org/ , a version of Arch Linux.

What follows is my entire rake.log file. I'm happy to provide any other needed files. Thanks for your help!

STDERR rake aborted!
STDERR undefined method []' for nil:NilClass STDERR /root/build-couchdb/tasks/lib/package_dep.rb:23:inpackage_dep'
STDERR /root/build-couchdb/tasks/toolchain.rake:13:in block (2 levels) in <top (required)>' STDERR /root/build-couchdb/tasks/toolchain.rake:9:ineach'
STDERR /root/build-couchdb/tasks/toolchain.rake:9:in block in <top (required)>' STDERR /usr/lib/ruby/1.9.1/rake/task_manager.rb:207:inin_namespace'
STDERR /usr/lib/ruby/1.9.1/rake/dsl_definition.rb:102:in namespace' STDERR /root/build-couchdb/tasks/toolchain.rake:6:in<top (required)>'
STDERR /usr/lib/ruby/1.9.1/rake/rake_module.rb:25:in load' STDERR /usr/lib/ruby/1.9.1/rake/rake_module.rb:25:inload_rakefile'
STDERR /usr/lib/ruby/1.9.1/rake/default_loader.rb:6:in load' STDERR /usr/lib/ruby/1.9.1/rake/application.rb:569:inload_imports'
STDERR /usr/lib/ruby/1.9.1/rake/application.rb:508:in raw_load_rakefile' STDERR /usr/lib/ruby/1.9.1/rake/application.rb:82:inblock in load_rakefile'
STDERR /usr/lib/ruby/1.9.1/rake/application.rb:133:in standard_exception_handling' STDERR /usr/lib/ruby/1.9.1/rake/application.rb:81:inload_rakefile'
STDERR /usr/lib/ruby/1.9.1/rake/application.rb:65:in block in run' STDERR /usr/lib/ruby/1.9.1/rake/application.rb:133:instandard_exception_handling'
STDERR /usr/lib/ruby/1.9.1/rake/application.rb:63:in run' STDERR /usr/bin/rake:32:in

'

rake failing with status (2): [make ...] on or around couchdb.rake:79 on MacOS X 10.7.3

OS: Mac OS X - 10.7.3

rake failing with status (2): [make ...] on or around couchdb.rake:79

user@machine:/build-couchdb 17:17:56 $ rake install=/build-couchdb/ --trace
...
Making all in src
Making all in couchdb
Making all in priv
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I$INSTALL_DIR/dependencies/couchdb/src/couchdb/priv -I../../.. -I../../../src/snappy/google-snappy -I$INSTALL_DIR//lib/erlang/usr/include -I$INSTALL_DIR//include -I$INSTALL_DIR//include/js -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -MT couch_icu_driver_la-couch_icu_driver.lo -MD -MP -MF .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c -o couch_icu_driver_la-couch_icu_driver.lo test -f 'icu_driver/couch_icu_driver.c' || echo '$INSTALL_DIR/dependencies/couchdb/src/couchdb/priv/'icu_driver/couch_icu_driver.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I$INSTALL_DIR/dependencies/couchdb/src/couchdb/priv -I../../.. -I../../../src/snappy/google-snappy -I$INSTALL_DIR//lib/erlang/usr/include -I$INSTALL_DIR//include -I$INSTALL_DIR//include/js -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -MT couch_icu_driver_la-couch_icu_driver.lo -MD -MP -MF .deps/couch_icu_driver_la-couch_icu_driver.Tpo -c $INSTALL_DIR/dependencies/couchdb/src/couchdb/priv/icu_driver/couch_icu_driver.c -fno-common -DPIC -o .libs/couch_icu_driver_la-couch_icu_driver.o
$INSTALL_DIR/dependencies/couchdb/src/couchdb/priv/icu_driver/couch_icu_driver.c:171: warning: initialization from incompatible pointer type
mv -f .deps/couch_icu_driver_la-couch_icu_driver.Tpo .deps/couch_icu_driver_la-couch_icu_driver.Plo
/bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -g -O2 -module -avoid-version -L$INSTALL_DIR//lib -L/opt/local/lib -L/usr/local/lib -o couch_icu_driver.la -rpath $INSTALL_DIR/lib/couchdb/erlang/lib/couch-1.2.0/priv/lib couch_icu_driver_la-couch_icu_driver.lo -lpthread -lm -L$INSTALL_DIR/lib -licui18n -licuuc -licudata -lpthread -lm -L$INSTALL_DIR//lib -L/opt/local/lib -L/usr/local/lib
libtool: link: gcc -Wl,-undefined -Wl,dynamic_lookup -o .libs/couch_icu_driver.so -bundle .libs/couch_icu_driver_la-couch_icu_driver.o -L$INSTALL_DIR//lib -L/opt/local/lib -L/usr/local/lib -L$INSTALL_DIR/lib -licui18n -licuuc -licudata -lpthread -lm -O2 -O2
libtool: link: ( cd ".libs" && rm -f "couch_icu_driver.la" && ln -s "../couch_icu_driver.la" "couch_icu_driver.la" )
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I$INSTALL_DIR/dependencies/couchdb/src/couchdb/priv -I../../.. -I../../../src/snappy/google-snappy -D_BSD_SOURCE -I$INSTALL_DIR//lib/erlang/usr/include -I$INSTALL_DIR//include -I$INSTALL_DIR//include/js -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -MT couch_ejson_compare_la-couch_ejson_compare.lo -MD -MP -MF .deps/couch_ejson_compare_la-couch_ejson_compare.Tpo -c -o couch_ejson_compare_la-couch_ejson_compare.lo test -f 'couch_ejson_compare/couch_ejson_compare.c' || echo '$INSTALL_DIR/dependencies/couchdb/src/couchdb/priv/'couch_ejson_compare/couch_ejson_compare.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I$INSTALL_DIR/dependencies/couchdb/src/couchdb/priv -I../../.. -I../../../src/snappy/google-snappy -D_BSD_SOURCE -I$INSTALL_DIR//lib/erlang/usr/include -I$INSTALL_DIR//include -I$INSTALL_DIR//include/js -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -MT couch_ejson_compare_la-couch_ejson_compare.lo -MD -MP -MF .deps/couch_ejson_compare_la-couch_ejson_compare.Tpo -c $INSTALL_DIR/dependencies/couchdb/src/couchdb/priv/couch_ejson_compare/couch_ejson_compare.c -fno-common -DPIC -o .libs/couch_ejson_compare_la-couch_ejson_compare.o
mv -f .deps/couch_ejson_compare_la-couch_ejson_compare.Tpo .deps/couch_ejson_compare_la-couch_ejson_compare.Plo
/bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -g -O2 -module -avoid-version -L$INSTALL_DIR//lib -L/opt/local/lib -L/usr/local/lib -o couch_ejson_compare.la -rpath $INSTALL_DIR/lib/couchdb/erlang/lib/couch-1.2.0/priv/lib couch_ejson_compare_la-couch_ejson_compare.lo -lpthread -lm -L$INSTALL_DIR/lib -licui18n -licuuc -licudata -lpthread -lm -L$INSTALL_DIR//lib -L/opt/local/lib -L/usr/local/lib
libtool: link: gcc -Wl,-undefined -Wl,dynamic_lookup -o .libs/couch_ejson_compare.so -bundle .libs/couch_ejson_compare_la-couch_ejson_compare.o -L$INSTALL_DIR//lib -L/opt/local/lib -L/usr/local/lib -L$INSTALL_DIR/lib -licui18n -licuuc -licudata -lpthread -lm -O2 -O2
libtool: link: ( cd ".libs" && rm -f "couch_ejson_compare.la" && ln -s "../couch_ejson_compare.la" "couch_ejson_compare.la" )
cp $INSTALL_DIR/dependencies/couchdb/src/couchdb/priv/spawnkillable/couchspawnkillable.sh couchspawnkillable
chmod +x couchspawnkillable
gcc -DHAVE_CONFIG_H -I. -I$INSTALL_DIR/dependencies/couchdb/src/couchdb/priv -I../../.. -I../../../src/snappy/google-snappy -I$INSTALL_DIR//include -I$INSTALL_DIR//include/js -I/opt/local/include -I/usr/local/include -I/usr/include -g -Wall -Werror -D_BSD_SOURCE -I$INSTALL_DIR/include -DXP_UNIX -I$INSTALL_DIR//include/js -I$INSTALL_DIR//include/js/js -I$INSTALL_DIR//include/js/mozjs -I$INSTALL_DIR//include -I$INSTALL_DIR//include/js -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -MT couchjs-http.o -MD -MP -MF .deps/couchjs-http.Tpo -c -o couchjs-http.o test -f 'couch_js/http.c' || echo '$INSTALL_DIR/dependencies/couchdb/src/couchdb/priv/'couch_js/http.c
mv -f .deps/couchjs-http.Tpo .deps/couchjs-http.Po
gcc -DHAVE_CONFIG_H -I. -I$INSTALL_DIR/dependencies/couchdb/src/couchdb/priv -I../../.. -I../../../src/snappy/google-snappy -I$INSTALL_DIR//include -I$INSTALL_DIR//include/js -I/opt/local/include -I/usr/local/include -I/usr/include -g -Wall -Werror -D_BSD_SOURCE -I$INSTALL_DIR/include -DXP_UNIX -I$INSTALL_DIR//include/js -I$INSTALL_DIR//include/js/js -I$INSTALL_DIR//include/js/mozjs -I$INSTALL_DIR//include -I$INSTALL_DIR//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 '$INSTALL_DIR/dependencies/couchdb/src/couchdb/priv/'couch_js/main.c
mv -f .deps/couchjs-main.Tpo .deps/couchjs-main.Po
gcc -DHAVE_CONFIG_H -I. -I$INSTALL_DIR/dependencies/couchdb/src/couchdb/priv -I../../.. -I../../../src/snappy/google-snappy -I$INSTALL_DIR//include -I$INSTALL_DIR//include/js -I/opt/local/include -I/usr/local/include -I/usr/include -g -Wall -Werror -D_BSD_SOURCE -I$INSTALL_DIR/include -DXP_UNIX -I$INSTALL_DIR//include/js -I$INSTALL_DIR//include/js/js -I$INSTALL_DIR//include/js/mozjs -I$INSTALL_DIR//include -I$INSTALL_DIR//include/js -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -MT couchjs-utf8.o -MD -MP -MF .deps/couchjs-utf8.Tpo -c -o couchjs-utf8.o test -f 'couch_js/utf8.c' || echo '$INSTALL_DIR/dependencies/couchdb/src/couchdb/priv/'couch_js/utf8.c
mv -f .deps/couchjs-utf8.Tpo .deps/couchjs-utf8.Po
gcc -DHAVE_CONFIG_H -I. -I$INSTALL_DIR/dependencies/couchdb/src/couchdb/priv -I../../.. -I../../../src/snappy/google-snappy -I$INSTALL_DIR//include -I$INSTALL_DIR//include/js -I/opt/local/include -I/usr/local/include -I/usr/include -g -Wall -Werror -D_BSD_SOURCE -I$INSTALL_DIR/include -DXP_UNIX -I$INSTALL_DIR//include/js -I$INSTALL_DIR//include/js/js -I$INSTALL_DIR//include/js/mozjs -I$INSTALL_DIR//include -I$INSTALL_DIR//include/js -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -MT couchjs-util.o -MD -MP -MF .deps/couchjs-util.Tpo -c -o couchjs-util.o test -f 'couch_js/util.c' || echo '$INSTALL_DIR/dependencies/couchdb/src/couchdb/priv/'couch_js/util.c
mv -f .deps/couchjs-util.Tpo .deps/couchjs-util.Po
/bin/sh ../../../libtool --tag=CC --mode=link gcc -g -Wall -Werror -D_BSD_SOURCE -I$INSTALL_DIR/include -DXP_UNIX -I$INSTALL_DIR//include/js -I$INSTALL_DIR//include/js/js -I$INSTALL_DIR//include/js/mozjs -I$INSTALL_DIR//include -I$INSTALL_DIR//include/js -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -L$INSTALL_DIR//lib -L$INSTALL_DIR//lib -L/opt/local/lib -L/usr/local/lib -L$INSTALL_DIR//lib -L/opt/local/lib -L/usr/local/lib -o couchjs couchjs-http.o couchjs-main.o couchjs-utf8.o couchjs-util.o -L$INSTALL_DIR/lib -lcurl -L$INSTALL_DIR//lib -L/opt/local/lib -lidn -lssl -lcrypto -lldap -lssl -lcrypto -lz -lz -lmozjs -lm -L$INSTALL_DIR//lib -L/opt/local/lib -L/usr/local/lib -L$INSTALL_DIR//lib -L/opt/local/lib -L/usr/local/lib
libtool: link: gcc -g -Wall -Werror -D_BSD_SOURCE -I$INSTALL_DIR/include -DXP_UNIX -I$INSTALL_DIR//include/js -I$INSTALL_DIR//include/js/js -I$INSTALL_DIR//include/js/mozjs -I$INSTALL_DIR//include -I$INSTALL_DIR//include/js -I/opt/local/include -I/usr/local/include -I/usr/include -O2 -g -O2 -o couchjs couchjs-http.o couchjs-main.o couchjs-utf8.o couchjs-util.o -L$INSTALL_DIR//lib -L/opt/local/lib -L/usr/local/lib -L$INSTALL_DIR/lib $INSTALL_DIR/lib/libcurl.dylib /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lldap -lssl -lcrypto -lz -lmozjs -lm
touch couchjs.1
if test -x "/opt/local/bin/help2man"; then
/opt/local/bin/help2man --no-info --help-option="-h" --version-option="-V"
--name="Apache CouchDB JavaScript interpreter" ./couchjs --output couchjs.1;
fi
sh: line 1: 43793 Trace/BPT trap: 5 ./couchjs -h 2> /dev/null
help2man: can't get -h' info from ./couchjs Try--no-discard-stderr' if option outputs to stderr
make[4]: *** [couchjs.1] Error 133
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
git checkout HEAD src/couchdb/priv/couch_js/utf8.h
git ls-files --others --ignored --exclude-standard | xargs rm -vf
INSTALL
Makefile.in
acinclude.m4
aclocal.m4
bin/Makefile.in
config.h.in
configure
etc/Makefile.in
etc/couchdb/Makefile.in
etc/default/Makefile.in
etc/init/Makefile.in
etc/launchd/Makefile.in
etc/logrotate.d/Makefile.in
etc/windows/Makefile.in
m4/ac_check_curl.m4
m4/ac_check_icu.m4
m4/libtool.m4
m4/ltoptions.m4
m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
m4/pkg.m4
share/Makefile.in
src/Makefile.in
src/couchdb/Makefile.in
src/couchdb/priv/Makefile.in
src/ejson/Makefile.in
src/erlang-oauth/Makefile.in
src/etap/Makefile.in
src/ibrowse/Makefile.in
src/mochiweb/Makefile.in
src/snappy/Makefile.in
test/Makefile.in
test/bench/Makefile.in
test/etap/Makefile.in
test/javascript/Makefile.in
test/view_server/Makefile.in
utils/Makefile.in
var/Makefile.in
rake aborted!
Command failed with status (2): [make ...]
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:995:in sh' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:1010:incall'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:1010:in sh' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:1094:insh'
$INSTALL_DIR/tasks/lib.rb:142:in gmake' $INSTALL_DIR/tasks/couchdb.rake:79 $INSTALL_DIR/tasks/couchdb.rake:74:inchdir'
$INSTALL_DIR/tasks/couchdb.rake:74
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/tmpdir.rb:129:in mktmpdir' $INSTALL_DIR/tasks/couchdb.rake:73 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:636:incall'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:636:in execute' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:631:ineach'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:631:in execute' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:597:ininvoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in synchronize' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:590:ininvoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:607:in invoke_prerequisites' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:604:ineach'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:604:in invoke_prerequisites' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:596:ininvoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in synchronize' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:590:ininvoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:607:in invoke_prerequisites' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:604:ineach'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:604:in invoke_prerequisites' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:596:ininvoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in synchronize' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:590:ininvoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:607:in invoke_prerequisites' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:604:ineach'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:604:in invoke_prerequisites' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:596:ininvoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in synchronize' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:590:ininvoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:583:in invoke' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2051:ininvoke_task'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2029:in top_level' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2029:ineach'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2029:in top_level' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2068:instandard_exception_handling'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2023:in top_level' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2001:inrun'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2068:in standard_exception_handling' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:1998:inrun'
/usr/bin/rake:31

Clarification needed: what to do to move locations

First of all: Thx very much! Worked like a charm on Ubuntu 11.04. Love it!

1 question (is this the right place to ask?):

If I want to move the resulting couchdb instance (executables and database) I need to adjust the couchdb shell script and the default.ini and local.ini right?

Missing anything?

Background of my question:
I'm toying with wrapping CouchDB into an OSGi plug-in, so it can be easily installed into OSGi containers (TomEE, Websphere, Domino, Notes etc.) It is about 100 times easier to get an admin to deploy an OSGI plug-in than to do a "classic" install

Build Fails also on CentOS 5.5

rake aborted!
Command failed with status (2): [make ...]
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:994:in sh' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1009:incall'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1009:in sh' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1093:insh'
/var/tmp/build-couchdb/tasks/lib.rb:163:in gmake' /var/tmp/build-couchdb/tasks/couchdb.rake:72 /var/tmp/build-couchdb/tasks/couchdb.rake:67:inchdir'
/var/tmp/build-couchdb/tasks/couchdb.rake:67
/var/tmp/build-couchdb/tasks/lib.rb:78:in mktmpdir' /var/tmp/build-couchdb/tasks/couchdb.rake:66 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:635:incall'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:635:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:ineach'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:238:in synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:589:ininvoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:606:in invoke_prerequisites' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:603:ineach'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:603:in invoke_prerequisites' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:595:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:238:in synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:589:ininvoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:606:in invoke_prerequisites' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:603:ineach'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:603:in invoke_prerequisites' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:595:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:238:in synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:589:ininvoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:606:in invoke_prerequisites' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:603:ineach'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:603:in invoke_prerequisites' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:595:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:238:in synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:589:ininvoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:582:in invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:ininvoke_task'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:ineach'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:instandard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2022:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:inrun'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1997:inrun'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19

I will glad to get some solution.

Regards
Fabian

Rake fails with undefined method '[]' for nil:NilClass

I tried running through the README.md and got stalled at "Just run rake": rake

~/build-couchdb $ rake --trace
rake aborted!
undefined method `[]' for nil:NilClass
/home/trevor/build-couchdb/tasks/lib/package_dep.rb:23:in `package_dep'
/home/trevor/build-couchdb/tasks/toolchain.rake:13:in `block (2 levels) in <top (required)>'
/home/trevor/build-couchdb/tasks/toolchain.rake:9:in `each'
/home/trevor/build-couchdb/tasks/toolchain.rake:9:in `block in <top (required)>'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/task_manager.rb:207:in `in_namespace'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/dsl_definition.rb:102:in `namespace'
/home/trevor/build-couchdb/tasks/toolchain.rake:6:in `<top (required)>'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load_rakefile'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/default_loader.rb:6:in `load'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:569:in `load_imports'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:508:in `raw_load_rakefile'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `block in load_rakefile'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:81:in `load_rakefile'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:65:in `block in run'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/bin/rake:19:in `load'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/bin/rake:19:in `<main>'

It appears to be unable to detect my distro (LinuxMint 11). The detect_distro() function might be better served raising an error if it can't detect a distro...?

I do have the lsb-release file:

$ cat /etc/lsb-release 
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=11
DISTRIB_CODENAME=katya
DISTRIB_DESCRIPTION="Linux Mint 11 Katya"

Updating distros.rb now.... will report back with a pull if it works

Issue with git submodule update on CentOS

On a local CentOS distribution, then running:
git clone git://github.com/iriscouch/build-couchdb
cd build-couchdb
git submodule init
git submodule update

I get this error:
fatal: unable to write new index file
Unable to checkout 'b6dc1a844eab061d0a7153d46e7e68296f15a504' in submodule path 'dependencies/otp'

Any help is appreciated.

ron

rake aborted with config.log: No such file or directory on Ubuntu 11.10

Hi there,

I am new to couchdb and wanted to build from source. I tried running the rake command but it aborts w/ config.log: no such file or directory. any clue as to what is happening? (I ran the dependency installs and simply followed the instructions).

My trace:

~/build-couchdb$ rake --trace
** Invoke default (first_time)
** Invoke couchdb:build (first_time)
** Invoke couchdb:couchdb (first_time)
** Invoke erlang:build (first_time)
** Invoke known_distro (first_time)
** Invoke known_checkout (first_time)
** Execute known_checkout
** Execute known_distro
** Invoke build:otp_git_submodules (first_time)
Build CouchDB commit: 14effdd
** Invoke /home/glory/build-couchdb/dependencies/otp/otp_build (first_time, not_needed)
** Execute build:otp_git_submodules
** Invoke build:os_dependencies (first_time)
** Invoke build:mac_dependencies (first_time)
** Invoke known_distro
** Execute build:mac_dependencies
** Invoke build:ubuntu_dependencies (first_time)
** Invoke known_distro
** Execute build:ubuntu_dependencies
** Invoke build:debian_dependencies (first_time)
** Invoke known_distro
** Execute build:debian_dependencies
** Invoke build:opensuse_dependencies (first_time)
** Invoke known_distro
** Execute build:opensuse_dependencies
** Invoke build:solaris_dependencies (first_time)
** Invoke known_distro
** Execute build:solaris_dependencies
** Execute build:os_dependencies
** Invoke environment:path (first_time)
** Invoke /home/glory/build-couchdb/build/bin (first_time, not_needed)
** Invoke known_distro
** Execute environment:path
** Invoke /home/glory/build-couchdb/build/bin/erl (first_time)
** Invoke /home/glory/build-couchdb/build/bin/autoconf2.59 (first_time)
** Invoke / (first_time, not_needed)
** Execute /home/glory/build-couchdb/build/bin/autoconf2.59
** Invoke environment:path
/home/glory/build-couchdb/dependencies/autoconf-2.59/configure --prefix=/home/glory/build-couchdb/build --program-suffix=2.59
== Output of config.log ==
cat config.log
cat: config.log: No such file or directory
rake aborted!
Command failed with status (1): [cat config.log...]
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/file_utils.rb:53:in block in create_shell_runner' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/file_utils.rb:45:incall'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/file_utils.rb:45:in sh' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/file_utils_ext.rb:36:insh'
/home/glory/build-couchdb/tasks/lib.rb:188:in ensure in show_file' /home/glory/build-couchdb/tasks/lib.rb:189:inshow_file'
/home/glory/build-couchdb/tasks/toolchain.rake:29:in block (5 levels) in <top (required)>' /home/glory/build-couchdb/tasks/toolchain.rake:18:inchdir'
/home/glory/build-couchdb/tasks/toolchain.rake:18:in block (4 levels) in <top (required)>' /home/glory/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/tmpdir.rb:83:inmktmpdir'
/home/glory/build-couchdb/tasks/toolchain.rake:17:in block (3 levels) in <top (required)>' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:203:incall'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:203:in block in execute' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:200:ineach'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:200:in execute' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:158:inblock in invoke_with_call_chain'
/home/glory/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/monitor.rb:201:in mon_synchronize' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:151:ininvoke_with_call_chain'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:176:in block in invoke_prerequisites' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:174:ineach'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:174:in invoke_prerequisites' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:157:inblock in invoke_with_call_chain'
/home/glory/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/monitor.rb:201:in mon_synchronize' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:151:ininvoke_with_call_chain'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:176:in block in invoke_prerequisites' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:174:ineach'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:174:in invoke_prerequisites' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:157:inblock in invoke_with_call_chain'
/home/glory/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/monitor.rb:201:in mon_synchronize' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:151:ininvoke_with_call_chain'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:176:in block in invoke_prerequisites' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:174:ineach'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:174:in invoke_prerequisites' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:157:inblock in invoke_with_call_chain'
/home/glory/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/monitor.rb:201:in mon_synchronize' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:151:ininvoke_with_call_chain'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:176:in block in invoke_prerequisites' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:174:ineach'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:174:in invoke_prerequisites' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:157:inblock in invoke_with_call_chain'
/home/glory/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/monitor.rb:201:in mon_synchronize' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:151:ininvoke_with_call_chain'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:176:in block in invoke_prerequisites' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:174:ineach'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:174:in invoke_prerequisites' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:157:inblock in invoke_with_call_chain'
/home/glory/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/monitor.rb:201:in mon_synchronize' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:151:ininvoke_with_call_chain'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/task.rb:144:in invoke' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/application.rb:112:ininvoke_task'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/application.rb:90:in block (2 levels) in top_level' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/application.rb:90:ineach'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/application.rb:90:in block in top_level' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/application.rb:129:instandard_exception_handling'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/application.rb:84:in top_level' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/application.rb:62:inblock in run'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/application.rb:129:in standard_exception_handling' /home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/lib/rake/application.rb:59:inrun'
/home/glory/.rvm/gems/ruby-1.9.2-head/gems/rake-0.9.2/bin/rake:32:in <top (required)>' /home/glory/.rvm/gems/ruby-1.9.2-head/bin/rake:19:inload'
/home/glory/.rvm/gems/ruby-1.9.2-head/bin/rake:19:in `

'
Tasks: TOP => default => couchdb:build => couchdb:couchdb => erlang:build => /home/glory/build-couchdb/build/bin/erl => /home/glory/build-couchdb/build/bin/autoconf2.59

Whitespaces in path

When trying to build build-couchdb with rake inside a folder-structure containing whitespaces (e.g.: /home/mat/studium/ws11-12/pst/bug test/build-couchdb ) rake aborts with the following output:

[10:41] mat@matux:~/studium/ws11-12/pst/bug test/build-couchdb (master)$ rake
(in /home/mat/studium/ws11-12/pst/bug test/build-couchdb)
mkdir -p /home/mat/studium/ws11-12/pst/bug test/build-couchdb/build/bin
/home/mat/studium/ws11-12/pst/bug test/build-couchdb/dependencies/autoconf-2.59/configure --prefix=/home/mat/studium/ws11-12/pst/bug test/build-couchdb/build --program-suffix=2.59
== Output of config.log ==
cat config.log
cat: config.log: Datei oder Verzeichnis nicht gefunden
rake aborted!
Command failed with status (1): [cat config.log...]

(See full trace by running task with --trace)

When removing the whitespace from the everything works again. Seems a little error when using mkdir. Rake tries to create two folders without enclosing quotation-marks. There might be some more issues like that inside the script. Happened on both Ubuntu 10.04 x586 and a Mac OSX Snow Leopard.

Nonetheless: Thanks for this great project.
It really rocks!

Build w/GeoCouch fails to start

I built CouchDB using:

rake plugin="git://github.com/couchbase/geocouch origin/couchdb1.2.x"

When I go to start it, I get the following stacktrace. Do I still need to follow some of the GeoCouch setup documentation, or should it just work™?


$ build/bin/couchdb
Apache CouchDB 1.2.0 (LogLevel=info) is starting.
[error] [<0.92.0>] {error_report,<0.30.0>,
                    {<0.92.0>,supervisor_report,
                     [{supervisor,{local,couch_secondary_services}},
                      {errorContext,start_error},
                      {reason,
                       {'EXIT',
                        {undef,
                         [{couch_spatial,start_link,[],[]},
                          {supervisor,do_start_child,2,
                           [{file,"supervisor.erl"},{line,286}]},
                          {supervisor,start_children,3,
                           [{file,"supervisor.erl"},{line,272}]},
                          {supervisor,init_children,2,
                           [{file,"supervisor.erl"},{line,238}]},
                          {gen_server,init_it,6,
                           [{file,"gen_server.erl"},{line,297}]},
                          {proc_lib,init_p_do_apply,3,
                           [{file,"proc_lib.erl"},{line,227}]}]}}},
                      {offender,
                       [{pid,undefined},
                        {name,spatial_manager},
                        {mfargs,{couch_spatial,start_link,[]}},
                        {restart_type,permanent},
                        {shutdown,brutal_kill},
                        {child_type,worker}]}]}}

=SUPERVISOR REPORT==== 13-Jun-2012::18:08:49 ===
     Supervisor: {local,couch_secondary_services}
     Context:    start_error
     Reason:     {'EXIT',
                     {undef,
                         [{couch_spatial,start_link,[],[]},
                          {supervisor,do_start_child,2,
                              [{file,"supervisor.erl"},{line,286}]},
                          {supervisor,start_children,3,
                              [{file,"supervisor.erl"},{line,272}]},
                          {supervisor,init_children,2,
                              [{file,"supervisor.erl"},{line,238}]},
                          {gen_server,init_it,6,
                              [{file,"gen_server.erl"},{line,297}]},
                          {proc_lib,init_p_do_apply,3,
                              [{file,"proc_lib.erl"},{line,227}]}]}}
     Offender:   [{pid,undefined},
                  {name,spatial_manager},
                  {mfargs,{couch_spatial,start_link,[]}},
                  {restart_type,permanent},
                  {shutdown,brutal_kill},
                  {child_type,worker}]

{"init terminating in do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/Users/natevw/Development/CouchDB/build-couchdb/build/etc/couchdb/default.ini","/Users/natevw/Development/CouchDB/build-couchdb/build/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1,[{file,"/Users/natevw/Development/CouchDB/build-couchdb/dependencies/couchdb/src/couchdb/couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,274}]}]}}}}}},[{couch,start,0,[{file,"/Users/natevw/Development/CouchDB/build-couchdb/dependencies/couchdb/src/couchdb/couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
[error] [<0.82.0>] {error_report,<0.30.0>,
                       {<0.82.0>,supervisor_report,
                        [{supervisor,{local,couch_server_sup}},
                         {errorContext,start_error},
                         {reason,shutdown},
                         {offender,
                             [{pid,undefined},
                              {name,couch_secondary_services},
                              {mfargs,{couch_secondary_sup,start_link,[]}},
                              {restart_type,permanent},
                              {shutdown,infinity},
                              {child_type,supervisor}]}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

remind ubuntu users to enable permission for couchdb to use port 80

by default port 80 is not allowed to be used by applications (at least on ubuntu 11.10 desktop edition, 64bit)

these commands need to be run to enable port 80 useage:
replace with the ubuntu user name.

sudo setcap cap_net_bind_service=+ep /home/<user>/build-couchdb/build/lib/erlang/erts-*/bin/beam
sudo setcap cap_net_bind_service=+ep /home/<user>/build-couchdb/build/lib/erlang/erts-*/bin/beam.smp

Build failes on QNAP NAS

I installed the necessary stuff (at least whatever I think is necessary) using ipkg.
git clone worked.

Rake terminates very fast. Probably an error on my side. But I don't exactly understand what dependency might be missing.

rake --trace
(in /mnt/HDA_ROOT/tmp/build-couchdb)
rake aborted!
undefined method `[]' for nil:NilClass
/mnt/HDA_ROOT/tmp/build-couchdb/tasks/lib.rb:96:in `package_dep'
/mnt/HDA_ROOT/tmp/build-couchdb/tasks/toolchain.rake:14:in `block (2 levels) in <top (required)>'
/mnt/HDA_ROOT/tmp/build-couchdb/tasks/toolchain.rake:10:in `each'
/mnt/HDA_ROOT/tmp/build-couchdb/tasks/toolchain.rake:10:in `block in <top (required)>'
/opt/lib/ruby/1.9.1/rake.rb:1844:in `in_namespace'
/opt/lib/ruby/1.9.1/rake.rb:889:in `namespace'
/mnt/HDA_ROOT/tmp/build-couchdb/tasks/toolchain.rake:6:in `<top (required)>'
/opt/lib/ruby/1.9.1/rake.rb:1591:in `load'
/opt/lib/ruby/1.9.1/rake.rb:1591:in `load'
/opt/lib/ruby/1.9.1/rake.rb:2410:in `load_imports'
/opt/lib/ruby/1.9.1/rake.rb:2349:in `raw_load_rakefile'
/opt/lib/ruby/1.9.1/rake.rb:1978:in `block in load_rakefile'
/opt/lib/ruby/1.9.1/rake.rb:2029:in `standard_exception_handling'
/opt/lib/ruby/1.9.1/rake.rb:1977:in `load_rakefile'
/opt/lib/ruby/1.9.1/rake.rb:1962:in `block in run'
/opt/lib/ruby/1.9.1/rake.rb:2029:in `standard_exception_handling'
/opt/lib/ruby/1.9.1/rake.rb:1960:in `run'
/opt/bin/rake:31:in `<main>'

about tasks/distro.rake

I think it's my own git configuration of autoclrf such that there are lots of crlf conversion warning in checkout files:

warning: CRLF will be replaced by LF in ...

Any chance of a relocatable build?

Perhaps it's beyond the scope of this project, but I would love to be able to distribute couchdb using zero install. One property that is essential for 0install feeds (packages) is that they be relocatable once built.

After a fresh build, I cound 119 instances of /path/to/build hardcoded in the build/ directory. I don't know how many of them would prevent couchdb running if it were relocated, but I'm guessing it's quite a few.

I know you're using autotools, and I know that relocatable macros exist (e.g AX_COMPUTE_RELATIVE_PATHS), but that's about the limit of my applicable knowledge here. Is it likely to be even remotely possible to make couchdb relocatable?

Error when building on CentOS 5.5 during Curl build

I'm trying to build couchdb on a CentOS 5.5 and it doesn't work (wouldn't be here if it did heh? :) )

By digging in the rake.log, I'm able to see some "problems"; I don't know if they're fatal or not, but the last one I assume is since that's where it fails. Here's the STDERR output from the rake.log (interwoven in STDOUT)

STDOUT buildconf: running autoconf
STDERR configure.ac:195: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
STDERR If this token and others are legitimate, please use m4_pattern_allow.
STDERR See the Autoconf documentation.
STDERR configure.ac:221: error: possibly undefined macro: AC_PROG_LIBTOOL
STDOUT The autoconf command failed

STDERR env LDFLAGS='-Xlinker -rpath=/usr/local/build-couchdb/build/lib -L/usr/local/build-couchdb/build/lib' CPPFLAGS='-I/usr/local/build-couchdb/build/include -I/usr/local/build-couchdb/build/include/js' /usr/local/build-couchdb/dependencies/curl/configure --prefix='/usr/local/build-couchdb/build' --with-js-include='/usr/local/build-couchdb/build/include/js' --with-js-lib='/usr/local/build-couchdb/build/lib' --with-erlang=/usr/local/build-couchdb/build/lib/erlang/usr/include

STDERR /usr/local/build-couchdb/dependencies/curl/configure: line 8452: AC_LIBTOOL_WIN32_DLL: command not found
STDERR /usr/local/build-couchdb/dependencies/curl/configure: line 8482: AC_PROG_LIBTOOL: command not found

STDERR configure: WARNING: Cannot find libraries for LDAP support: LDAP disabled

STDERR config.status: error: cannot find input file: Makefile.in
STDERR cat config.log

[bunch of "STDOUT configure: failed program was:" output]

STDERR git ls-files --others --ignored --exclude-standard | xargs rm || true
STDERR rake aborted!
STDERR Command failed with status (1): [env LDFLAGS='-Xlinker -rpath=/usr/local/bu...]

Seems it is complaining that libtool isn't installed... but it is. I might of missed something, so the full log is available by e-mail on request.

Any help is appreciated.
Thanks.

Issue installing GeoCouch

I'm getting an error when trying to install geocouch:

rake git="git://github.com/vmx/couchdb geocouch"

I get the following error:

....
rm_f /home/2bulls/couch-source/build-couchdb/build/bin/autom4te
git checkout HEAD src/couchdb/priv/couch_js/utf8.h
error: pathspec 'src/couchdb/priv/couch_js/utf8.h' did not match any file(s) known to git.
rake aborted!
Command failed with status (1): [git checkout HEAD src/couchdb/priv/couch_j...]

Move installation

Currently it appears that everything hardcodes the pathing during the build process. So you can't move the build. It has to be where you want it to live forever before you build it.

Export feature

Some kind of way to export so people can download and build from a tarball instead of Git

Build failed because autoconf 2.62 man file not found

The build failed when trying to execute the following:

mv dependencies/autoconf-2.62/man/config.sub.1.t dependencies/autoconf-2.62/man/config.sub.1

It worked after I did:

cp dependencies/autoconf-2.62/man/config.sub.1 dependencies/autoconf-2.62/man/config.sub.1.t

Should this file be there?

Spidermonkey configure fails on Raspberry Pi w/ Debian

I'm trying to get CouchDB 1.2.0 up and running on my brand new Raspberry Pi, but the process fails during the Spidermonkey configure process (I think). Here is the end of the output with --trace:

configure:11226: checking for an implementation of va_copy()
configure:11250: gcc -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
configure: In function 'f':
configure:11244: warning: incompatible implicit declaration of built-in function 'exit'
configure:11267: checking for an implementation of __va_copy()
configure:11291: gcc -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
configure: In function 'f':
configure:11285: warning: incompatible implicit declaration of built-in function 'exit'
configure:11308: checking whether va_lists can be copied by value
configure:11332: gcc -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
configure: In function 'f':
configure:11326: warning: incompatible implicit declaration of built-in function 'exit'
configure:11441: checking for ARM EABI
configure:11459: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:11481: checking for gcc 3.0 ABI
configure:11499: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:11523: checking for C++ "explicit" keyword
configure:11538: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:11559: checking for C++ "typename" keyword
configure:11583: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:11604: checking for modern C++ template specialization syntax support
configure:11619: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:11641: checking whether partial template specialization works
configure:11654: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:11675: checking whether operators must be re-defined for templates derived from templates
configure:11692: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:11714: checking whether we need to cast a derived template to pass as its base class
configure:11728: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:11749: checking whether the compiler can resolve const ambiguities for templates
configure:11775: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:11797: checking whether the C++ "using" keyword can change access
configure:11810: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:11821: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure: In function 'int main()':
configure:11814: error: 'int A::foo()' is inaccessible
configure:11817: error: within this context
configure: failed program was:

line 11813 "configure"

include "confdefs.h"

class A { public: int foo() { return 1; } };
class B : public A { private: using A::foo; };
int main() {
B b; return b.foo();
; return 0; }
configure:11849: checking whether the C++ "using" keyword resolves ambiguity
configure:11870: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:11891: checking for "std::" namespace
configure:11903: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:11924: checking whether standard template operator!=() is ambiguous
configure:11939: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:11961: checking for C++ reinterpret_cast
configure:11974: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:11995: checking for C++ dynamic_cast to void*
configure:12022: c++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
configure:12046: checking whether C++ requires implementation of unused virtual methods
configure:12058: c++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
/tmp/ccMnFdpy.o: In function X::X()': conftest.C:(.text._ZN1XC1Ev[X::X()]+0x30): undefined reference tovtable for X'
collect2: ld returned 1 exit status
configure: failed program was:

line 12051 "configure"

include "confdefs.h"

class X {private: virtual void never_called();};
int main() {
X x;
; return 0; }
configure:12081: checking for trouble comparing to zero near std::operator!=()
configure:12097: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:12121: checking for thread keyword for TLS variables
configure:12133: c++ -o conftest -fno-strict-aliasing -pthread -lpthread -fPIC -shared -Wl,-z,defs conftest.C -ldl 1>&5
configure:12170: checking for malloc.h
configure:12282: checking for strndup
configure:12313: c++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
configure:12282: checking for posix_memalign
configure:12313: c++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
configure:12282: checking for memalign
configure:12313: c++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
configure:12282: checking for valloc
configure:12313: c++ -o conftest -fno-strict-aliasing -pthread -lpthread conftest.C -ldl 1>&5
configure:12340: checking for __attribute
((always_inline))
configure:12352: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:12367: checking for attribute((malloc))
configure:12379: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:12394: checking for attribute((warn_unused_result))
configure:12406: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:12421: checking for attribute((noreturn))
configure:12433: c++ -c -fno-strict-aliasing -pthread conftest.C 1>&5
configure:12457: checking for LC_MESSAGES
configure:12469: gcc -c -fno-strict-aliasing -pthread conftest.c 1>&5
configure:12492: checking for localeconv
configure:12520: gcc -o conftest -fno-strict-aliasing -pthread -lpthread conftest.c -ldl 1>&5
configure:13041: checking for valid optimization flags
configure:13052: gcc -c -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp -Os -freorder-blocks -fomit-frame-pointer conftest.c 1>&5
configure:13767: checking for __cxa_demangle
configure:13798: c++ -o conftest -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp -lpthread conftest.C -ldl 1>&5
configure:13846: checking for unwind.h
configure:13856: gcc -E conftest.c >/dev/null 2>conftest.out
configure:13875: checking for _Unwind_Backtrace
configure:13903: gcc -o conftest -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp -lpthread conftest.c -ldl 1>&5
configure:13952: checking for gcc -pipe support
dummy-hello.c:2:21: warning: missing terminating " character
dummy-hello.c: In function 'main':
dummy-hello.c:2: error: missing terminating " character
dummy-hello.c:3:1: warning: missing terminating " character
dummy-hello.c:3: error: missing terminating " character
dummy-hello.c:3: error: expected expression at end of input
dummy-hello.c:3: error: expected declaration or statement at end of input
configure:13974: gcc -c -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp -pipe conftest.c 1>&5
configure:14004: checking whether C compiler supports -fprofile-generate
configure:14013: gcc -c -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp -pipe -fprofile-generate -fprofile-correction conftest.c 1>&5
configure:14077: checking whether C++ compiler has -pedantic long long bug
configure:14086: c++ -c -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp -pipe -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long conftest.C 1>&5
configure:14111: checking for correct temporary object destruction order
configure:14139: c++ -o conftest -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp -pipe -lpthread conftest.C -ldl 1>&5
configure: failed program was:

line 14116 "configure"

include "confdefs.h"

ifdef __cplusplus

extern "C" void exit(int);

endif

class A {
public: A(int& x) : mValue(x) {}
~A() { mValue--; }
operator char*_() { return 0; }
private: int& mValue;
};
void func(char *_arg) {}
int m=2;
void test() {
func(A(m));
if (m==1) m = 0;
}
int main() {
test();
return(m);
}

== End of config.log ==
rake aborted!
Command failed with status (1): [env /opt/build-couchdb/dependencies/spider...]
/usr/lib/ruby/1.8/rake.rb:995:in sh' /usr/lib/ruby/1.8/rake.rb:1010:incall'
/usr/lib/ruby/1.8/rake.rb:1010:in sh' /usr/lib/ruby/1.8/rake.rb:1094:insh'
/opt/build-couchdb/tasks/tracemonkey.rake:42
/opt/build-couchdb/tasks/lib.rb:185:in show_file' /opt/build-couchdb/tasks/tracemonkey.rake:41 /opt/build-couchdb/tasks/tracemonkey.rake:28:inchdir'
/opt/build-couchdb/tasks/tracemonkey.rake:28
/usr/lib/ruby/1.8/tmpdir.rb:129:in mktmpdir' /opt/build-couchdb/tasks/tracemonkey.rake:27 /usr/lib/ruby/1.8/rake.rb:636:incall'
/usr/lib/ruby/1.8/rake.rb:636:in execute' /usr/lib/ruby/1.8/rake.rb:631:ineach'
/usr/lib/ruby/1.8/rake.rb:631:in execute' /usr/lib/ruby/1.8/rake.rb:597:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in synchronize' /usr/lib/ruby/1.8/rake.rb:590:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:607:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:604:ineach'
/usr/lib/ruby/1.8/rake.rb:604:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:596:ininvoke_with_call_chain'
root@raspberrypi:/opt/build-couchdb# /usr/lib/ruby/1.8/monitor.rb:242:in synchronize' /usr/lib/ruby/1.8/rake.rb:590:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:607:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:604:ineach'
/usr/lib/ruby/1.8/rake.rb:604:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:596:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in synchronize' /usr/lib/ruby/1.8/rake.rb:590:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:607:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:604:ineach'
/usr/lib/ruby/1.8/rake.rb:604:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:596:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in synchronize' /usr/lib/ruby/1.8/rake.rb:590:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:607:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:604:ineach'
/usr/lib/ruby/1.8/rake.rb:604:in invoke_prerequisites' /usr/lib/ruby/1.8/rake.rb:596:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in synchronize' /usr/lib/ruby/1.8/rake.rb:590:ininvoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:583:in invoke' /usr/lib/ruby/1.8/rake.rb:2051:ininvoke_task'
/usr/lib/ruby/1.8/rake.rb:2029:in top_level' /usr/lib/ruby/1.8/rake.rb:2029:ineach'
/usr/lib/ruby/1.8/rake.rb:2029:in top_level' /usr/lib/ruby/1.8/rake.rb:2068:instandard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:2023:in top_level' /usr/lib/ruby/1.8/rake.rb:2001:inrun'
/usr/lib/ruby/1.8/rake.rb:2068:in standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1998:inrun'
/usr/bin/rake:28

-Andrew

Install multiple versions side-by-side

Attempt to install multiple versions of CouchDB.

Command used:
rake git="git://git.apache.org/couchdb.git tags/0.10.0"
install=/path/to/couchdb/dependencies
couchdb_build=/path/to/couchdb/0.10.0

Failed with "rake aborted!" Here is the result rake.log: https://gist.github.com/1226942
Operating system: Ubuntu 10.04

Crash on startup in OS X Lion

Everything seems to be in order when running rake from build-couchdb on OS X Lion (10.7.1), but on startup, I get the following error:

$ ./build/bin/couchdb 
Apache CouchDB 1.1.0 (LogLevel=info) is starting.

=CRASH REPORT==== 3-Oct-2011::10:24:06 ===
  crasher:
    initial call: application_master:init/4
    pid: <0.30.0>
    registered_name: []
    exception exit: {bad_return,
                        {{couch_app,start,
                             [normal,
                              ["/Users/floris/Source/build-couchdb/build/etc/couchdb/default.ini",
                               "/Users/floris/Source/build-couchdb/build/etc/couchdb/local.ini"]]},
                         {'EXIT',
                             "dlopen(/Users/floris/Source/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0/priv/lib/couch_icu_driver.so, 2): Symbol not found: _ucol_close_46\n  Referenced from: /Users/floris/Source/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0/priv/lib/couch_icu_driver.so\n  Expected in: flat namespace\n in /Users/floris/Source/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0/priv/lib/couch_icu_driver.so"}}}
      in function  application_master:init/4
    ancestors: [<0.29.0>]
    messages: [{'EXIT',<0.31.0>,normal}]
    links: [<0.29.0>,<0.7.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 2584
    stack_size: 24
    reductions: 254
  neighbours:

=INFO REPORT==== 3-Oct-2011::10:24:06 ===
    application: couch
    exited: {bad_return,{{couch_app,start,
                                    [normal,
                                     ["/Users/floris/Source/build-couchdb/build/etc/couchdb/default.ini",
                                      "/Users/floris/Source/build-couchdb/build/etc/couchdb/local.ini"]]},
                         {'EXIT',"dlopen(/Users/floris/Source/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0/priv/lib/couch_icu_driver.so, 2): Symbol not found: _ucol_close_46\n  Referenced from: /Users/floris/Source/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0/priv/lib/couch_icu_driver.so\n  Expected in: flat namespace\n in /Users/floris/Source/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0/priv/lib/couch_icu_driver.so"}}}
    type: temporary

Found this issue, which seems to be similar:
#5

But I don't think that's it, as I only just cloned the git repository from GitHub this morning, so the fix from that issue must be in the code already. Any ideas that might be causing this?

about tasks/distro.rake

I think it's my own git configuration of autoclrf such that there are lots of crlf conversion warning in checkout files:

warning: CRLF will be replaced by LF in ...

Couchdb 1.1.1

Great project! Saves me a ton of time.

When or how can I get this to install version 1.1.1 - I need some of the bug fixes in that version that was released a couple of days ago but build-couchdb is still building 1.1.0.

Thanks so much,
Shawn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.