Table of Contents
You may receive an error message that ocamlfind was not found. Well, there are several ways to solve this problem, we will get to that shortly.
Approved
I’m trying to install a package based on ocamlfind, but I’m getting an error about ocamlfind: command not found.
when building
I installed ocamlfind using the custom ocaml package manager and tried to reinstall “opam with reinstall ocamlfind”.
I have also tried using the eval config opam env command to see if my current bin is corrupted.
Has anyone had a similar problem/know what caused it?
makeocamlfind -pp ocamlc "camlp4o Lib/dcg -i -I lib/ipp pa_dcg.cmo pa_ipp.cmo" -w usy -thread Lib -i Lib -i/dcg Lib -i/ipp Semantics -c.ml/bin/sh: required ocamlfind: not found
localfind-bash: ocamlfind command: settings found
opam not ocamlfind[NOTE] The ocamlfind package may already be installed (the current version is definitely 1 la.5.5).
eval 'opam configuration wrapper'CAML_LD_LIBRARY_PATH="/home/centos/.opam/system/lib/stublibs:/usr/lib64/ocaml/stub libs"; export CAML_LD_LIBRARY_PATH;MANPATH="/home/centos/.opam/system/man:"; export MANPATH;PERL5LIB="/home/centos/.opam/system/lib/perl5"; export PERL5LIB;OCAML_TOPLEVEL_PATH="/home/centos/.opam/system/lib/toplevel"; Export OCAML_TOPLEVEL_PATH;PATH="/home/centos/.opam/system/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin: /home/centos/.local/bin:/home/centos/bin"; export PUT;
Hey guys, I’m trying to build what ocamlfind needs (besides a few opposing packages).
But when I try to modify the dependencies I get the error below
Of course, the above eval was looking for opam config env
, so I reinstalled opam. and I have m4 installed.
MISTAKE
Approved
The ASR Pro repair tool is the solution for a Windows PC that's running slowly, has registry issues, or is infected with malware. This powerful and easy-to-use tool can quickly diagnose and fix your PC, increasing performance, optimizing memory, and improving security in the process. Don't suffer from a sluggish computer any longer - try ASR Pro today!
#=== when compiling ocamlfind.1.5.========================= 6 == = = ==## opam version 1.3.0~dev3 (a8e79a514a790d4bf23810f1322f3af99971016e)#Linux operating system# command./configure -bindir /home/mttjone/.opam/system/bin -sitelib /home/mttjone/.opam/system/lib -mandir /home/mttjone/.opam/system/man -config /home/mttjone /.opam/system/lib/findlib.conf -no-topfind# path /home/mttjone/.opam/system/build/ocamlfind.1.5.6# exit code Env file 1# /home/mttjone/.opam/system/build/ocamlfind.1.5.6/ocamlfind-9392-c743ac.envstdout file # /home/mttjone/.opam/system/build/ocamlfind.1.5.6/ocamlfind-9392-c743ac.out# file stderr /home/mttjone/.opam/system/build/ocamlfind.1.5.6/ocamlfind-9392-c743ac.err### Standard output #### [...]# To customize the graphics is actually written to site-lib-src/graphics/META# For num configuration write to site-lib-src/num/META# For the num-top configuration written for you in site-lib-src/num-top/META# For str configuration write positively in site-lib-src/str/META# To configure positively written threads in site-lib-src/threads/META# For configurationUnix code written in# Write site-lib-src/unix/META configuration for stdlib and site-lib-src/stdlib/META# For the bigarray configuration written in site-lib-src/bigarray/META# For camlp4 configuration written as site-lib-src/camlp4/META# To configure ocamlbuild type site-lib-src/ocamlbuild/META# to configure compiler libraries, written in site-lib-src/compiler-libs/META# Detect compiler arguments: (built-in extractor) FAILED (see ocargs.log for details)### standard file "itest-aux/ppx ####.ml", character sequence 1, 0-25:# Unrelated price error: Toploop sale.preprocess_phrase=-=- Message about -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= error - = - =-=-=-=-=-=-=-=-=The following features have been deprecated Configuration - from 1.1.2 ∗ 1 Replace atdgen.7.2 Connect Binyu → 1.0.9 - Camlzip installer 1.05 ∗ Easy Format Buy 1.2. 0 - Install Extlib 1.5.4. Install - 2 javalib.3.1 — 20140422 Download menhir Install - avia 1.5.1 ✓ Download Yojson 1.3. 0Appropriate measures have helped do not have an Î structure" ocamlfind 1.5.6No changes have been made=-=- launched ocamlfind.1.5.Troubleshooting 6 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- = -=-==> no ocamlfind can be created. The most common reason is the lack of product package "m4".# Run eval `opam env`, config to update the current dedicated environment
- steps to use ocaml-tutorial opam install utopThey are performed: âˆ- cppo 1.1.2 installer [requires utop] ∗ Set 1 utop.17===== 2 – =====Do you want this to continue? [y/n] Oh=-=- Collection Methods =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- = -=-=- =-=-=-=-=ðŸ“[cppo] Cache archive[utop] Cache archive=-=- Editing tasks -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -= - =-=-=-= 🠓[Error] Compilation attached to cppo failed on "make".Ocamlfind Processing]#=== [cppo:1/2:remove capture ERROR cppo.1.1.2 =============================== === versions =##opam 1.2.2#bone Team Darwin# do# route /Users/paul/.opam/system/build/cppo.1.1.Compiler 2# system (4.03.0)# exit code file 2# env /Users/paul/.opam/system/build/cppo.1.1.2/cppo-20245-e7966f.env# file stdout /Users/paul/.opam/system/build/cppo.1.1.2/cppo-20245-e7966f.out# file stderr /Users/paul/.opam/system/build/cppo.1.1.2/cppo-20245-e7966f.err### Standard output #### [...]# ocamlyacc cppo_parser.mly# ocamllex cppo_lexer.mll# 368 states, transitions, 13139 table size 54764 bytes# 3729 extra bytes for used links# ocamlopt -o cppo Unix -dtypes.cmxa str.cmxa cppo_version.ml cppo_types.ml cppo_parser.mli cppo_parser.ml Cppo_lexer.ml cppo_command.ml cppo_eval.ml cppo_main.ml# cd Ocamlbuild_plugin && ocamlbuild -use-ocamlfind ocamlbuild_cppo.cma ocamlbuild_cppo.cmxa ocamlbuild_cppo.a ocamlbuild_cppo.Ocamldep cmxs# ocamlfind package -modules ocamlbuild_cppo ocamlbuild.mli > ocamlbuild_cppo.mli.depends# + ocamlfind package ocamlbuild ocamldep Ocamlbuild_cppo -modules.mli > ocamlbuild_cppo.mli.depends# Package ocamlfind: `ocamlbuild' not found# order completed in combination with 2 codes.### stdout #### make: [ocamlbuild] *** Error 10=-=- New error -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=ðŸ“The following actions have been undone summer ∗ Install on top 1.A 17usage failed actions Organized - cppo 1.1.2No changes have been made
The software to fix your PC is just a click away - download it now.