GODI-电池:安装问题 [英] GODI-Batteries: Installation problems

查看:85
本文介绍了GODI-电池:安装问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用GODI控制台安装Godi电池.我似乎已经对所有依赖项进行了排序(例如Camomile).我在Godi的界面中收到以下错误:

I am trying to install godi-batteries using GODI console. I seem to have all dependencies sorted (like Camomile). I get the following error within Godi's interface:

    > ocamlfind ocamlopt -shared -linkall -package camomile,num,str -o src/batteries_uni.cmxs src/batteries_uni.cmxa
    > + ocamlfind ocamlopt -shared -linkall -package camomile,num,str -o src/batteries_uni.cmxs src/batteries_uni.cmxa
    > ld: warning: -read_only_relocs cannot be used with x86_64
    > ld: codegen problem, can't use rel32 to external symbol _caml_negf_mask in .L101 from src/batteries_uni.a(batFloat.o)
    > collect2: ld returned 1 exit status
    > File "caml_startup", line 1, characters 0-1:
    > Error: Error during linking
    > Command exited with code 2.
    > make[7]: *** [all] Error 10
    > Error: Exec error: File /Users/surikator/godi/build/godi/godi-batteries/./../../mk/bsd.pkg.mk, line 1039: Command returned with non-zero exit code
    > Error: Exec error: File /Users/surikator/godi/build/godi/godi-batteries/./../../mk/bsd.pkg.mk, line 1378: Command returned with non-zero exit code

我正在使用Mac OS X 10.6.4.而且我有一台64位计算机.

I'm using Mac OS X 10.6.4. and I have a 64 bit machine.

关于如何解决这个问题的任何想法?

Any ideas on how to go around this?

谢谢, Surikator.

Thanks, Surikator.

推荐答案

由于某些原因,OSX OCaml无法构建共享库.您必须使用

For some reason, OSX OCaml can't build shared libraries. You'll have to disable batteries' building of shared libraries with

BATTERIES_NATIVE_SHLIB=no make

此问题已在git commit 92b323 ,并将包含在下一个版本中.

This problem has been fixed in git commit 92b323, and will be included in the next release.

这篇关于GODI-电池:安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆