OS X fixes #56

Open
jhs opened this Issue Jun 5, 2012 · 1 comment

2 participants

@jhs
Iris Couch member
jhs commented Jun 5, 2012

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:

  • -archppc|-archi386|-archx86_64*) ac_cv_c_bigendian=universal;;
  • -archppc*) 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

@janl

This might be supposed to fix #66, but doesn’t work for me. My changes to Makefile.am are not picked up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment