GithubHelp home page GithubHelp logo

Comments (6)

fpottier avatar fpottier commented on August 20, 2024

And running opam 2.1.6.

from opam-repository.

fpottier avatar fpottier commented on August 20, 2024

Actually, I am seeing a similar problem with 5.2.0...

from opam-repository.

rleonid avatar rleonid commented on August 20, 2024

I've also tried several switches and the problem seems to be that either the share or ocaml-config directory in ~/.opam/<switch>share/ocaml-config/gen_ocaml_config.ml is not created or correctly unpacked.

from opam-repository.

hannesm avatar hannesm commented on August 20, 2024

Dear @fpottier and @rleonid, sorry for your inconvenience.

It seems to be caused by the removal of files, and discussed in #25961 and https://discuss.ocaml.org/t/the-compilation-of-ocaml-5-1-1-failed-at-ocaml-gen-ocaml-config-ml-5-1-1-ocaml/14731

So, the quick workaround: rm -rf ~/.opam/repo/default{,.tar.gz} && opam update default -- in the long run, ensure that you have a GNU patch installed (via homebrew or macports).

from opam-repository.

fpottier avatar fpottier commented on August 20, 2024

Thanks @hannesm for the work-around, which worked. I had installed gpatch already but did not know how to fix my broken state. I am closing this issue.

from opam-repository.

rleonid avatar rleonid commented on August 20, 2024

Thank you @hannesm !!!

from opam-repository.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.