为什么使用MacPorts构建ocaml bin保护失败?

为什么使用MacPorts构建ocaml bin保护失败?,ocaml,macports,Ocaml,Macports,我正在尝试使用真实世界的Ocaml学习Ocaml。我使用MacPorts安装了ocaml。现在,我正在尝试安装ocaml核心扩展版: $ sudo port install ocaml-core-extended 但在安装依赖项ocaml bin prot时失败: 以下是构建日志中的相关部分: :notice:build ---> Building ocaml-bin-prot :debug:build Executing org.macports.build (ocaml-bin-prot

我正在尝试使用真实世界的Ocaml学习
Ocaml
。我使用MacPorts安装了
ocaml
。现在,我正在尝试安装
ocaml核心扩展版

$ sudo port install ocaml-core-extended
但在安装依赖项ocaml bin prot时失败:

以下是构建日志中的相关部分:

:notice:build ---> Building ocaml-bin-prot :debug:build Executing org.macports.build (ocaml-bin-prot) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ocaml-bin-prot/ocaml-bin-prot/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ocaml-bin-prot/ocaml-bin-prot/work/bin_prot-108.00.02" && /opt/local/bin/ocaml setup.ml -build' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ocaml-bin-prot/ocaml-bin-prot/work/bin_prot-108.00.02" && /opt/local/bin/ocaml setup.ml -build :info:build getconf: no such configuration parameter `LFS64_CFLAGS' :info:build ocamlfind ocamldep -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -modules lib/type_class.mli > lib/type_class.mli.depends :info:build + ocamlfind ocamldep -pp 'cpp -traditional -undef -w -DARCH_SIXTYFOUR' -package unix -package bigarray -modules lib/type_class.mli > lib/type_class.mli.depends :info:build File "lib/type_class.mli", line 68, characters 16-20: :info:build Error: Syntax error :info:build Command exited with code 2. :info:build E: Failure("Command '/opt/local/bin/ocamlbuild lib/libbin_prot_stubs.a lib/dllbin_prot_stubs.so lib/bin_prot.cma lib/bin_prot.cmxs lib/bin_prot.cmxa lib/bin_prot.a syntax/pa_bin_prot.cma -tag debug' terminated with error code 10") :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ocaml-bin-prot/ocaml-bin-prot/work/bin_prot-108.00.02" && /opt/local/bin/ocaml setup.ml -build :info:build Exit code: 1 :error:build org.macports.build for port ocaml-bin-prot returned: command execution failed $ocaml-版本 OCaml顶级,版本4.01.0 $cpp--版本 苹果LLVM版本5.0(clang-500.2.79)(基于LLVM 3.3svn) 目标:x86_64-apple-darwin13.0.0
线程模型:posix核心库的版本是什么?看起来库没有针对OCaml 4.01进行更新,可能是端口太旧了,还没有赶上进度。

我假设我遇到的具体问题更多地与向Mavericks的过渡有关

同时,我决定安装,一切都很顺利


我能够按照。

@GuyCoder设置我的环境。请不要添加/创建关于书籍的标签。 $ uname -a Darwin zzzz.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64 $ ocaml -version The OCaml toplevel, version 4.01.0 $ cpp --version Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix