MLstate / opalang

The Opa Language for Web Application Development
http://opalang.org
Other
1.24k stars 125 forks source link

Can't build from sources on Ubuntu 14.10 : Unbound module Bytes #182

Closed monkeymarco80 closed 9 years ago

monkeymarco80 commented 9 years ago

i saw last question and answer https://github.com/MLstate/opalang/wiki/Building-Opa i follow this Older Ubuntu/Debian systems but i can't build

ERROR MESSAGE

Ocamlbuild generation File "./tools/build/myocamlbuild_prefix.ml", line 26, characters 10-20: Error: Unbound module Bytes tools/build/Makefile.bld:80: recipe for target '_build/myocamlbuild.exe' failed make: *\ [_build/myocamlbuild.exe] Error 2

HenriChataing commented 9 years ago

Hi, your version of OCaml is not up to date. On 21 Apr 2015 01:59, "marcokim" notifications@github.com wrote:

i saw last question and answer https://github.com/MLstate/opalang/wiki/Building-Opa i follow this Older Ubuntu/Debian systems but i can't build

ERROR MESSAGE

Ocamlbuild generation File "./tools/build/myocamlbuild_prefix.ml", line 26, characters 10-20: Error: Unbound module Bytes tools/build/Makefile.bld:80: recipe for target '_build/myocamlbuild.exe' failed make: *\ [_build/myocamlbuild.exe] Error 2

— Reply to this email directly or view it on GitHub https://github.com/MLstate/opalang/issues/182.

lahmark commented 9 years ago

Hi, I had the same error. Add this environment value source ~/ocamlbrew/ocaml-4.02.1/etc/ocamlbrew.bashrc opam switch 4.02.1 The installed version of OCaml can vary. Go to your ocamlbrew folder in your home and check the name of the ocaml folder cd ~/ocamlbrew You can rebuild Opa. It should work now.