Skip to content


Subversion checkout URL

You can clone with
Download ZIP


OS X fixes #56

jhs opened this Issue · 1 comment

2 participants

jhs commented

Reported by Hans Schroeder.

When build stops at erlang

  1. Edit erts/emulator/

    $(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

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

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


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


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.