Giter Site home page Giter Site logo

Comments (4)

mosteo avatar mosteo commented on July 17, 2024

#1324 itself contains a fix for this problem. In theory, if you build with dev/build.sh, and then use that for alr build, it should work.

Please reopen if this isn't working for you.

from alire.

0rzech avatar 0rzech commented on July 17, 2024

I don't have permissions to reopen this issue.

Suggested workaround does not help. Calling alr build after dev/build.sh gives the same error.

I wouldn't call this fix anyways, because it should work with alr clean && alr build cycle without specialized script calling gprbuild in the meantime.

from alire.

mosteo avatar mosteo commented on July 17, 2024

Well, in regard to the development branch, there is no guarantees that an older alr is going to be able to build it. That's why the instructions on building from sources say first to use gprbuild directly (no need for the script, it is there as a convenience to set ALIRE_OS for you).

If you still don't manage to build as described in https://github.com/alire-project/alire#building-from-sources , you can just add a with "ada_toml.gpr" line to the clic.gpr file. Which one, it'll depend on if you use alr_env.gpr or alr build; in deps/clic if the former or in alire/cache/dependencies/clic_* if the latter.

Hope this helps.

from alire.

0rzech avatar 0rzech commented on July 17, 2024

Thanks for your elaboration! My bad, the README.md makes it clear I should use gprbuild directly. Somehow I got fixated on alr build regardless of alr version after seeing alire.toml in the repo. 😅

from alire.

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.