32 비트 아키텍처가 있으므로 원본에서 opa를 빌드해야합니다.소스에서 빌드하는 동안 오류가 발생했습니다.
구성은 잘 작동 :
./configure -ocamlopt /opt/opa/bin/ocamlopt.opt -ocamlfind /opt/opa/bin/ocamlfind
Checking your OS... Linux
Checking your architecture... ix86
Checking ocamlopt... /opt/opa/bin/ocamlopt.opt
Checking ocamlbuild... /opt/opa/bin/ocamlbuild
Checking ocamldir... /opt/opa/lib/ocaml
Checking ocaml version... 3.12.0
Checking your ocaml setup... 3.12.0, Unix 32bit
Checking for camlp4... /opt/opa/bin/camlp4o
Checking for perl 5... found
Checking for camlidl... /opt/opa/bin/camlidl
Checking libnatpmp... /opt/opa/lib/ocaml/libnatpmp.a, OK
Checking miniupnpc... /opt/opa/lib/ocaml/libminiupnpc.a, OK
Checking for ocamlfind... /opt/opa/bin/ocamlfind
Checking for ssl... ocamlfind:/opt/opa/lib/ocaml/ssl, OK
Checking for cryptokit... +cryptokit, OK
Checking for camlzip... +camlzip, OK
Checking for graph... +ocamlgraph, OK
Checking for ulex... +ulex, OK
Congrats, you're all set. Installation will be done in:
/usr/local
반환합니다
만들
Ocamlbuild plugin generation
_build/myocamlbuild 노 - 플러그인 -j 6 -tag 디버그 pplib/ppml.native ocamlbase.top libbase/ocamlbase database/database_server.native jslang/jsstat.native database/database_to ol.native opatop/opatop.native passlib/opatrack.sh qmlcompilers/qmljs_exe.native compilerlib/opadep.sh opabsl/opabslgen.bypass 도구/odep.native libbase/testfilepos.native opabsl/serverLib.cmi 도구/odeplink. 기본 프로토콜/genproto.native libbase/bslServerLib.ml opalang/opa2opa.native 프로토콜/mlidl.native 도구/jschecker/compiler.jar 도구/ofile.native 프로토콜/wsdl2ml.native 보급/spawn.sh OPA/주 .native bash_completion opadoc/opadoc.native pplib/ppopa.native pplib/ppjs.native libbase/gen_platform teerex/trx_ocaml.native teerex/trx_interpreter.native libbsl/bslregister.native libbsl/bslbrowser.native libbsl/bslbrowser passlib /passdesign.native OPA-packages.stamp
+ /opt/opa/bin/ocamldep.opt -pp '/opt/opa/bin/camlp4o -I +ulex pa_ulex.cma pr_o.cmo' -modules libbase/indexer.ml > libbase/indexer.ml.depends
Camlp4: Uncaught exception: DynLoader.Error ("pa_ulex.cma", "file not found in path")
Preprocessing error on file libbase/indexer.ml
Command exited with code 2.
Compilation unsuccessful after building 208 targets (204 cached) in 00:00:04.
make: *** [all] Erreur 10
32 비트 Linux 컴퓨터에서 소스를 빌드 할 수있었습니다. 내가 OCaml 3.12를 설치하지 않았기 때문에 dependencies/installation_helper.sh - 의존성을 설치하기 위해 README에 제안 된대로 도움. – aneccodeal
aneccodeal : 나는 또한 installation_helper.sh를 사용했지만 "make"중에이 오류가 발생했습니다 ... – deep