GithubHelp home page GithubHelp logo

Comments (8)

MSoegtropIMC avatar MSoegtropIMC commented on July 26, 2024 1

The issue appeared btw. with the new version of UniMath, which added a few files. With this the command line length for install exceeded 128k - which is a limit hard compiled into the Linux kernel (for whatever reason - neither macOS nor Windows have this).

from platform.

MSoegtropIMC avatar MSoegtropIMC commented on July 26, 2024 1

OK. I will anyway see that I back port the fix to 8.16.

from platform.

MSoegtropIMC avatar MSoegtropIMC commented on July 26, 2024

This is fixed in main with the 8.17 beta pick - it requires a patch to coq-makefile (to redirect the file list to a file). Which version of Coq did you use? One could back merge the fix to older versions of Coq.

See https://github.com/coq/platform/blob/main/opam/opam-repository/packages/coq-core/coq-core.8.17.0/files/0001-coq_makefile-put-file-to-install-list-in-file-instea.patch.

from platform.

DCNick3 avatar DCNick3 commented on July 26, 2024

I am using Coq 8.16, the latest release offered by the installer.

What should I do to backmerge it? (or is it something you should do?) Or would using an older version of package pick work?

from platform.

MSoegtropIMC avatar MSoegtropIMC commented on July 26, 2024

No - if you want coq-unimath 20230321 you need a patched coq-makefile.

If you want to use Coq 8.16 it might work to copy the above patch file to a subfolder "files" of https://github.com/coq/platform/tree/main/opam/opam-repository/packages/coq/coq.8.16.1 and register it in the opam file https://github.com/coq/platform/blob/main/opam/opam-repository/packages/coq/coq.8.16.1/opam like here

.

It might be that you have to adjust the patch file from 8.17 to 8.16 - nut sure if the coq-makefile template changed.

You do these changes in your local copy of Coq Platform. If you build again it should work.

from platform.

DCNick3 avatar DCNick3 commented on July 26, 2024

Do I need to re-run the ./coq_platform_make.sh script or does it link back to my coq platform directory?

from platform.

MSoegtropIMC avatar MSoegtropIMC commented on July 26, 2024

You should run the script, because you need to update the opam repos - the script does this automatically. The script doesn't redo things it already finished before.

If you know how to do this, you can also update the opam repos manually and reinstall coq with opam.

from platform.

DCNick3 avatar DCNick3 commented on July 26, 2024

I've decided to go the path of least resistance and install coq-unimath.20220816. Thanks for the help 😅

from platform.

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.