installing ibx with ocaml 4.01.0 on osx maverick
I am trying to install ibx. Was working before I upgraded to 4.01.0. Are you aware of any issues?
The following actions will be performed: - install ibx.0.7.1 1 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove
=-=-= Installing ibx.0.7.1 =-=-= Building ibx.0.7.1: ocaml setup.ml -configure --prefix /Users/co/.opam/4.01.0dev+trunk ocaml setup.ml -build ocaml setup.ml -install [ERROR] The compilation of ibx.0.7.1 failed. Removing ibx.0.7.1. ocamlfind remove ibx
===== ERROR while installing ibx.0.7.1 =====
opam-version 1.1.1
os darwin
command ocaml setup.ml -build
path /Users/co/.opam/4.01.0dev+trunk/build/ibx.0.7.1
compiler 4.01.0dev+trunk
exit-code 1
env-file /Users/xxx/.opam/4.01.0dev+trunk/build/ibx.0.7.1/ibx-85444-5f1023.env
stdout-file /Users/xxx/.opam/4.01.0dev+trunk/build/ibx.0.7.1/ibx-85444-5f1023.out
stderr-file /Users/xxx/.opam/4.01.0dev+trunk/build/ibx.0.7.1/ibx-85444-5f1023.err
stdout
...[truncated]
ocamlfind ocamlc -c -g -annot -w A -w e -w r -package threads -package textutils -package str -package sexplib.syntax -package fieldslib.syntax -package core -package async -syntax camlp4o -thread -I lib -o lib/recv_tag.cmo lib/recv_tag.ml
ocamlfind ocamlc -c -g -annot -w A -w e -w r -package threads -package textutils -package str -package sexplib.syntax -package fieldslib.syntax -package core -package async -syntax camlp4o -thread -I lib -o lib/tws_prot.cmo lib/tws_prot.ml
+ ocamlfind ocamlc -c -g -annot -w A -w e -w r -package threads -package textutils -package str -package sexplib.syntax -package fieldslib.syntax -package core -package async -syntax camlp4o -thread -I lib -o lib/tws_prot.cmo lib/tws_prot.ml
File "lib/tws_prot.ml", line 103, characters 6-19:
Warning 44: this open statement shadows the value identifier float (which is later used)
File "lib/tws_prot.ml", line 202, characters 6-19:
Warning 44: this open statement shadows the value identifier float (which is later used)
File "lib/tws_prot.ml", line 238, characters 8-22:
Error: Unbound value Queue.transfer
Command exited with code 2.
stderr
E: Failure("Command ''/Users/xxx/.opam/4.01.0dev+trunk/bin/ocamlbuild' lib/ibx.cma lib/ibx.cmxa lib/ibx.a lib/ibx.cmxs lib_test/test_runner.native -tag debug' terminated with error code 10")
'opam install ibx' failed.
Comments (8)
-
repo owner -
reporter Thank your for taking care of the issue. Do you know which version of core I should use and as I am new with ocaml how I should use it (opam install core-x.xx ?)
-
repo owner On my machine Core 109.55.02 does not produce the above compilation error. You should be able to install it via
opam install core.109.55.2
after removing your currentcore
package. -
repo owner - changed status to resolved
The problem is fixed and tested with
core 111.06.00
. -
reporter many thanks. I am going to test it.
-
reporter Thanks Oliver. It works now on osx and async 111.03.00 core 111.06.00 and ibx 0.7.2. Now I don't now if it is related to a change in Core but when I run ./plot_hist_bars.native AAPL, the chart is drawing (gnuplot wxt window open) but close immediatly. It was not the case before
-
repo owner Hi, I don't think that the issue is related to Core. It probably has something to do with gnuplot. However, I was only able to reproduce your bug by removing the
persist
string on line 8 of thegnuplot.ml
file. Maybe there is better way/command to persist your plot. -
reporter Hi. It might be related to Pipe that close gnuplot (here about ruby https://stackoverflow.com/questions/16363350/piped-program-window-closes-instantly). But I don't know how to set it up with ocaml.
- Log in to comment
Hi, I assume that this is a compatibility issue with a newer version of Core in which the
transfer
function is no longer present in theQueue
module. I will fix that once I find some time.