text OPAMコンパイル+インストール#memo
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text OPAMコンパイル+インストール#memo相关的知识,希望对你有一定的参考价值。
OPAMコンパイル+インストール
wget http://www.ocamlpro.com/pub/opam_installer.sh
$ sudo sh ./opam_installer.sh .
Fedora 21 ????? root ?????????????????:
cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/home:ocaml/Fedora_21/home:ocaml.repo
yum install opam
* Make sure you have OCaml and GNU make installed. If you don't have a recent
enough version of OCaml (>= 3.12.1) at hand, see the next paragraph.
* Run `./configure`
* Run `make lib-ext` as advertised by `./configure` if you don't have the
dependencies installed and only need the opam binary (not the libs). This will
locally take care of all OCaml dependencies for you.
* Otherwise, make sure to have ocamlfind, ocamlgraph, cmdliner, jsonm, cudf,
dose 3.2.2+opam and re >= 1.2.0 installed. Or run `opam install
opam-lib --deps-only` if you already have a working instance. Re-run
`./configure` once done.
* Run `make`
* Run `make install`
* Run `make libinstall` if needed (this is incompatible with `make lib-ext`, as
the opam library would conflict with installed versions of the dependencies)
===============
./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ocamlc... ocamlc
OCaml version is 4.02.0
OCaml library path is /usr/lib/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocaml... ocaml
checking for ocamldep... ocamldep
checking for ocamlmktop... ocamlmktop
checking for ocamlmklib... ocamlmklib
checking for ocamldoc... ocamldoc
checking for ocamlbuild... ocamlbuild
checking for gawk... gawk
checking for ocamllex... ocamllex
checking for ocamllex.opt... ocamllex.opt
checking for ocamlyacc... ocamlyacc
checking for ocamlfind... no
checking for curl... curl
checking for OCaml findlib package unix... not found
checking for OCaml findlib package extlib... not found
checking for OCaml findlib package re... not found
checking for OCaml findlib package re.emacs... not found
checking for OCaml findlib package re.str... not found
checking for OCaml findlib package re.perl... not found
checking for OCaml findlib package re.pcre... not found
checking for OCaml findlib package re.glob... not found
checking for OCaml findlib package cmdliner... not found
checking for OCaml findlib package ocamlgraph... not found
checking for OCaml findlib package cudf... not found
checking for OCaml findlib package dose3... not found
checking for OCaml findlib package jsonm... not found
============================================================================
Some dependencies are missing. If you are just interested in the stand-alone
binaries, run 'make lib-ext' to download and include them.
============================================================================
configure: creating ./config.status
config.status: creating Makefile.config
config.status: creating META
config.status: creating src/core/opamVersion.ml
Executables will be installed in /usr/local/bin
Manual pages will be installed in /usr/local/share/man
===========
不足分のインストール
ocamlfind
ocamlfind, ocamlgraph, cmdliner, jsonm, cudf,
dose 3.2.2+opam and re >= 1.2.0 installed.
以上是关于text OPAMコンパイル+インストール#memo的主要内容,如果未能解决你的问题,请参考以下文章