Closed jcaose closed 8 years ago
Hi, are you able to reproduce this with opium from master? E.g.
$ opam pin add opium --dev-repo
different problem now though I have cow installed.
btw, on centos6. probably should give up
vagrant@localhost ~]$ opam install opium
[ERROR] Your configuration or environment specifies external solver cudf_remote_proxy, but it
cannot be found. Fix your installation, your configuration or use
'--use-internal-solver'.
[vagrant@localhost ~]$ mv cudf_remote_proxy /usr/local/bin/
mv: cannot move `cudf_remote_proxy' to `/usr/local/bin/cudf_remote_proxy': Permission denied
[vagrant@localhost ~]$ sudo mv cudf_remote_proxy /usr/local/bin/
[vagrant@localhost ~]$ opam install opium
=-=- Synchronising pinned packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[opium] https://github.com/rgrinberg/opium.git already up-to-date
The following actions will be performed:
∗ install opium 0.14.0*
=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[opium] https://github.com/rgrinberg/opium.git already up-to-date
=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of opium failed at "make".
Processing 1/1: [opium: ocamlfind remove]
#=== ERROR while installing opium.0.14.0 ======================================#
# opam-version 1.2.2
# os linux
# command make
# path /home/vagrant/.opam/4.02.3/build/opium.0.14.0
# compiler 4.02.3
# exit-code 2
# env-file /home/vagrant/.opam/4.02.3/build/opium.0.14.0/opium-1115-c61e7b.env
# stdout-file /home/vagrant/.opam/4.02.3/build/opium.0.14.0/opium-1115-c61e7b.out
# stderr-file /home/vagrant/.opam/4.02.3/build/opium.0.14.0/opium-1115-c61e7b.err
### stdout ###
# [...]
# --- Checking for ocamlc.opt... (found /home/vagrant/.opam/4.02.3/bin/ocamlc.opt)
# --- Checking for ocamlopt.opt... (found /home/vagrant/.opam/4.02.3/bin/ocamlopt.opt)
# --- Checking for ocamldep.opt... (found /home/vagrant/.opam/4.02.3/bin/ocamldep.opt)
# --- Checking for ocamllex.opt... (found /home/vagrant/.opam/4.02.3/bin/ocamllex.opt)
# --- Checking whether ocamlc understands the "z" warnings... (yes)
# *** omake: finished reading OMakefiles (0.04 sec)
# - build . README.md
# + cppo -n -o README.md < README.cpp.md
# *** omake: 13/124 targets are up to date
# *** omake: failed (0.05 sec, 0/0 scans, 1/1 rules, 51/125 digests)
### stderr ###
# ocamlfind: Package `cow.syntax' not found
# [...]
# *** omake error:
# File OMakefile: line 120, characters 4-22
# command not found in PATH: cppo
# *** omake: targets were not rebuilt because of errors:
# README.md
# depends on: examples/middleware_ua.ml
# depends on: README.cpp.md
# depends on: examples/hello_world.ml
# make: *** [build] Error 126
=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions failed
∗ install opium 0.14.0
No changes have been performed
Sorry for your frustration. I think your problem will be fixed once you install cppo
. I will update the opam file in the repository as well.
cppo has been removed (it was used for a trivial preprocessing job anyway) and both master and 0.15.0 build.