Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS X fixes #56

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

OS X fixes #56

jhs opened this issue Jun 5, 2012 · 1 comment

Comments

@jhs
Copy link
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:
  • -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

@janl
Copy link

janl commented Jan 20, 2013

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants