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

What to do with utop #30

Open
panglesd opened this issue May 13, 2022 · 4 comments
Open

What to do with utop #30

panglesd opened this issue May 13, 2022 · 4 comments

Comments

@panglesd
Copy link
Contributor

Including an utop binary does not allow to do dune utop which makes it loses some of its advantages.

What should we do about it? There are several possibilities:

  • Remove it from the packaged installed by ocaml-platform
  • Install it (solving the problem of dynamic linking one way or another), and explain that it should be replaced by the opam install utop to be able to run dune utop
  • Install it via opam install utop (but this will install other dependencies as well, and seems not that good...).

Anyway, everything should changes when (if) we have a relocatable compiler. We can rethink the solution adopted at this point.

I might tend toward a pure removal of utop in the packaged installed by ocaml-platform, but I am not sure!

@Julow
Copy link
Member

Julow commented May 16, 2022

I think we should install utop, with opam install utop. It has a few dependencies but these aren't too annoying.

Install it (solving the problem of dynamic linking one way or another), and explain that it should be replaced by the opam install utop to be able to run dune utop

This is too much work for a solution that is more annoying than useful. dune utop must work (requires the libraries, so uncacheable). I say no to this one.

@panglesd
Copy link
Contributor Author

For the first release, we simply removed it. However, we should keep the issue open, as we need to think more about this.

@kaddkaka
Copy link

kaddkaka commented Feb 3, 2023

So, utop is removed from the installation currently? Is that why I can't find it after doing the ocaml-platform step in this guide?

@panglesd
Copy link
Contributor Author

panglesd commented Feb 6, 2023

Yes, utop is not installed by ocaml-platform currently. No libraries are installed by the installer, and utop's libraries are required for dune utop to work.

To install utop, just run opam install utop.

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