Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Xosted opened this issue Feb 19, 2015 · 3 comments
Closed

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

Xosted opened this issue Feb 19, 2015 · 3 comments

Comments

@Xosted
Copy link

Xosted commented Feb 19, 2015

Hi,

I followed the instruction to build Opa on a Linux machine from sources. It goes as far as ./configure without error but make returns:

opalang$ make
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

Regards

@HenriChataing
Copy link
Contributor

Your version of ocaml is not up to date. The latest build introduces the module Bytes for the manipulation of mutable strings.

@Xosted
Copy link
Author

Xosted commented Feb 19, 2015

Ok, thank you for the fast reply.
I'm trying to get a new version of ocaml from their website, apparently, it isn't simple.

But shouldn't the guides be updated to enforce the necessary version?
For beginners like me, it is not so obvious.
Actually, it is a bit discouraging for the ones who want to try like me. The command line install guide through package didn't work (I went around finding THE link which works, but packages are from 2013), the guide to build from source didn't work and the vagrant option didn't work either (some unrecognized archive format).

Regards

@hbbio
Copy link
Member

hbbio commented Feb 19, 2015

It's added in the building page.

@hbbio hbbio closed this as completed Feb 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants