Hi Dave,
Thanks for taking care. I have taken some notes of the hiccups that happened during "build-couchdb".
I used the build-couchdb script from iriscouch.
https://github.com/iriscouch/build-couchdb
The build stopped 3 times and needed some small fixes:
When build stops at erlang
---------------------------
1. Edit erts/emulator/Makefile.in:
$(OBJDIR)/%.o: beam/%.c
- $(CC) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) $(INCLUDES) -c $< -o $@
+ $(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
- Hans
On Jun 4, 2012, at 12:51 PM, Dave Cottlehuber wrote:
> On 4 June 2012 08:53, Carlton Gibson <carlton.gibson@gmail.com> wrote:
>> Can someone help here?
>>
>>
>>
>> On 2 Jun 2012, at 09:05, Hans J Schroeder <hs@cloudno.de> wrote:
>>
>>> Hi,
>>>
>>> The CouchDB home page has a binary for Windows, but not for Mac. It says "Coming
soon? Why don’t you contribute one?" I have built the binary, but how do we get it on the
home page?
>>>
>>> - Hans
>>
>
> Sorry Hans, Carlton,
>
> Yes I will own this.
>
> Last Friday I ran through the build process myself to make sure I
> understand it; I have a couple hiccups in the build-couchdb bit still
> which I need to sort out still.
>
> Some questions:
>
> #1 Are we linking to this on github or doing an ASF hosted one? Any
> requirements either way?
>
> #2 We should pgp sign these. Are you able to do this or do you want me
> to build/sign?
>
> #3 Is there any substantive difference between Carlton & Hans' version now?
>
> #4 what happens next?
>
> A+
> Dave