1. Oliver Gu
  2. ibx
  3. Issues
Issue #1 resolved

installing ibx with ocaml 4.01.0 on osx maverick

Christophe Ollier
created an issue

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)

  1. Oliver Gu repo owner

    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 the Queue module. I will fix that once I find some time.

  2. Oliver Gu 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 current core package.

  3. Christophe Ollier 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

  4. Oliver Gu 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 the gnuplot.ml file. Maybe there is better way/command to persist your plot.

  5. Log in to comment