首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >编译erlang r14b03失败

编译erlang r14b03失败
EN

Stack Overflow用户
提问于 2012-03-10 23:01:56
回答 2查看 451关注 0票数 0

我在Mac上构建erlang (r14b03)时遇到了问题。我在Crunchbang Linux上安装erlang时也遇到了同样的问题(完全相同的跟踪)--我完全搞不懂了。下面是我得到的错误:

代码语言:javascript
复制
...
make[5]: Nothing to be done for `all'.
make -f i386-apple-darwin11.3.0/Makefile TYPE=opt
llvm-gcc-4.2 -c -O3  -m64 -O0 -I/Users/john/.kerl/builds/r14b03/otp_src_R14B03/erts/i386-apple-darwin11.3.0  -no-cpp-precomp  -D_XOPEN_SOURCE -DHAVE_CONFIG_H  -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -DERLANG_INTEGRATION  -o /Users/john/.kerl/builds/r14b03/otp_src_R14B03/erts/emulator/pcre/obj/i386-apple-darwin11.3.0/opt/pcre_exec.o pcre_exec.c
pcre_exec.c: In function ‘match’:
pcre_exec_loop_break_cases.inc:44: error: label ‘L_LOOP_COUNT_47’ used but not defined
pcre_exec_loop_break_cases.inc:43: error: label ‘L_LOOP_COUNT_46’ used but not defined
...
pcre_exec_loop_break_cases.inc:3: error: label ‘L_LOOP_COUNT_6’ used but not defined
pcre_exec_loop_break_cases.inc:2: error: label ‘L_LOOP_COUNT_5’ used but not defined
pcre_exec_loop_break_cases.inc:1: error: label ‘L_LOOP_COUNT_4’ used but not defined
make[5]: *** [/Users/john/.kerl/builds/r14b03/otp_src_R14B03/erts/emulator/pcre/obj/i386-apple-darwin11.3.0/opt/pcre_exec.o] Error 1
make[4]: *** [opt] Error 2
make[3]: *** [pcre] Error 2
make[2]: *** [opt] Error 2
make[1]: *** [smp] Error 2
make: *** [emulator] Error 2

我正在使用kerl (尽管我也尝试过不使用它),以及下面的.kerlrc

代码语言:javascript
复制
CFLAGS=-O0
KERL_CONFIGURE_OPTIONS="--enable-hipe --enable-smp-support --enable-threads --enable-kernel-poll  --enable-darwin-64bit"

有什么想法吗?

EN

回答 2

Stack Overflow用户

发布于 2013-09-26 19:17:50

参见how to add env variables for building Erlang in kerl -在.kerlrc中使用shell export命令会有所帮助。

票数 1
EN

Stack Overflow用户

发布于 2012-03-10 23:31:46

我想尝试一下Building a fast Erlang VM on Mac OS Lion (from the Installation Guide)会有所帮助。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9647427

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档