Code Monkey home page Code Monkey logo

Comments (9)

fxfactorial avatar fxfactorial commented on July 21, 2024

from ocaml-usbmux.

cclamb avatar cclamb commented on July 21, 2024

Hey everybody, I can't get it installed either. Initial installation seems okay, but no gandalf. Then I install camlp4 as instructed by the "opam depext usbmux.1.3.2" command. Then I tried another install, and this was the result:

opam install usbmux
The following actions will be performed:
∗ install usbmux 1.3.2

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
[usbmux] Archive in cache

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
[ERROR] The compilation of usbmux failed at "ocaml setup.ml -build".
Processing 1/1: [usbmux: ocaml]
#=== ERROR while installing usbmux.1.3.2 ======================================#

opam-version 1.2.2

os darwin

command ocaml setup.ml -build

path /Users/cclamb/.opam/system/build/usbmux.1.3.2

compiler system (4.04.0)

exit-code 1

env-file /Users/cclamb/.opam/system/build/usbmux.1.3.2/usbmux-79166-c61e7b.env

stdout-file /Users/cclamb/.opam/system/build/usbmux.1.3.2/usbmux-79166-c61e7b.out

stderr-file /Users/cclamb/.opam/system/build/usbmux.1.3.2/usbmux-79166-c61e7b.err

stdout

ocamlfind ocamlopt unix.cmxa -I /Users/cclamb/.opam/system/lib/ocamlbuild /Users/cclamb/.opam/system/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /Users/cclamb/.opa$/system/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild

/Users/cclamb/.opam/system/bin/ocamlfind ocamldep -package yojson -package threads -package ppx_deriving_yojson -package ppx_deriving -package plist -package lwt.unix -package lw$.preemptive -package lwt.ppx -package cohttp.lwt -package cohttp -modules src/lib/usbmux.mli > src/lib/usbmux.mli.depends

/Users/cclamb/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -g -w +a-4-40..42-44-45-48 -thread -package yojson -package threads -package ppx_deriving_yojson -package $px_deriving -package plist -package lwt.unix -package lwt.preemptive -package lwt.ppx -package cohttp.lwt -package cohttp -I src/lib -o src/lib/usbmux.cmi src/lib/usbmux.mli

/Users/cclamb/.opam/system/bin/ocamlfind ocamldep -package yojson -package threads -package ppx_deriving_yojson -package ppx_deriving -package plist -package lwt.unix -package lw$.preemptive -package lwt.ppx -package cohttp.lwt -package cohttp -modules src/lib/usbmux.ml > src/lib/usbmux.ml.depends

/Users/cclamb/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -g -w +a-4-40..42-44-45-48 -thread -package yojson -package threads -package ppx_deriving_yojson -package $px_deriving -package plist -package lwt.unix -package lwt.preemptive -package lwt.ppx -package cohttp.lwt -package cohttp -I src/lib -o src/lib/usbmux.cmo src/lib/usbmux.ml

+ /Users/cclamb/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -g -w +a-4-40..42-44-45-48 -thread -package yojson -package threads -package ppx_deriving_yojson -packag$ ppx_deriving -package plist -package lwt.unix -package lwt.preemptive -package lwt.ppx -package cohttp.lwt -package cohttp -I src/lib -o src/lib/usbmux.cmo src/lib/usbmux.ml

File "src/lib/usbmux.ml", line 84, characters 11-15:

Error: Unbound constructor Dict

Command exited with code 2.

stderr

E: Failure("Command ''/Users/cclamb/.opam/system/bin/ocamlbuild' src/lib/usbmux.cma src/lib/usbmux.cmxa src/lib/usbmux.a src/lib/usbmux.cmxs src/app/main.native -use-ocamlfind -t$g debug' terminated with error code 10")

=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
The following actions failed
∗ install usbmux 1.3.2
No changes have been performed

=-=- usbmux.1.3.2 troobleshooting -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
=> This package relies on external (system) dependencies that may be missing. `opam depext usbmux.1.3.2' may help you find the correct installation for your system.

thanks! Love gandalf!

from ocaml-usbmux.

cclamb avatar cclamb commented on July 21, 2024

yikes! Sorry about the yelling there :-)

from ocaml-usbmux.

fxfactorial avatar fxfactorial commented on July 21, 2024

from ocaml-usbmux.

cclamb avatar cclamb commented on July 21, 2024

from ocaml-usbmux.

fxfactorial avatar fxfactorial commented on July 21, 2024

@cclamb

please do:

$ opam update
$ opam install usbmux

Should be fixed now.

from ocaml-usbmux.

windyzxcui avatar windyzxcui commented on July 21, 2024

Hi @fxfactorial , I cannot install usbmux either.
I got the following error code even run "opam update".
Please find the log for your investigation.

opam install usbmux
The following actions will be performed:
∗ install usbmux 1.3.2

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
[usbmux] Archive in cache

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/.gitignore: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/.merlin: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/_digests: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/_log: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/myocamlbuild: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/myocamlbuild.cmi: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/myocamlbuild.cmx: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/myocamlbuild.ml: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/myocamlbuild.o: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/ocamlc.where: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/src/lib/usbmux.annot: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/src/lib/usbmux.cmi: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/src/lib/usbmux.cmt: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/src/lib/usbmux.cmti: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/src/lib/usbmux.ml: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/src/lib/usbmux.ml.depends: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/src/lib/usbmux.mli: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/src/lib/usbmux.mli.depends: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/src/lib/usbmux.mllib: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/src/lib: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build/src: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_build: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_oasis: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/oasis_remove.ml: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_opam: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/_tags: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/configure: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/doc/api.odocl: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/doc/style.css: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/doc: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/install_man.sh: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/Makefile: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/myocamlbuild.ml: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/opam/descr: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/opam/findlib: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/opam/opam: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/opam: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/README.md: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/setup.data: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/setup.ml: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/src/app/gandalf_args.ml: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/src/app/main.ml: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/src/app: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/src/lib/META: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/src/lib/usbmux.ml: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/src/lib/usbmux.mldylib: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/src/lib/usbmux.mli: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/src/lib/usbmux.mllib: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/src/lib: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/src: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/usbmux-22567-c61e7b.env: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/usbmux-22567-c61e7b.err: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/usbmux-22567-c61e7b.info: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/usbmux-22567-c61e7b.out: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/usbmux-22567-d2d111.env: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/usbmux-22567-d2d111.err: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/usbmux-22567-d2d111.info: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/usbmux-22567-d2d111.out: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2/usbmux.install: Permission denied
rm: /Users/windycui/.opam/system/build/usbmux.1.3.2: Directory not empty

#=== ERROR while installing usbmux.1.3.2 ======================================#

opam-version 1.2.2

os darwin

Cannot remove /Users/windycui/.opam/system/build/usbmux.1.3.2 (error 1).

=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
The following actions failed
∗ install usbmux 1.3.2
No changes have been performed

=-=- usbmux.1.3.2 troobleshooting -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
=> This package relies on external (system) dependencies that may be missing.
`opam depext usbmux.1.3.2' may help you find the correct installation for
your system.

from ocaml-usbmux.

fxfactorial avatar fxfactorial commented on July 21, 2024

@windyzxcui Hi, this is unrelated to the original issue which was a legitimate build error.

Your error is a UNIX permissions error, please make new issue for that.

from ocaml-usbmux.

cclamb avatar cclamb commented on July 21, 2024

from ocaml-usbmux.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.