Giter Club home page Giter Club logo

Comments (6)

mintsoft avatar mintsoft commented on July 30, 2024

@tommytommytommy I believe the mpfr package needs to be installed:
sudo apt-get install libmpfr4

Unfortunately as it's a binary dependency installdeps won't install it

Also might need libmpfr-dev

from p5-app-duckpan.

mintsoft avatar mintsoft commented on July 30, 2024

@tommytommytommy just re-created and tested this;

If you do sudo apt-get install libmpfr-dev and then duckpan installdeps it'll work without error:

It's not obvious from the output, however the rest of duckpan will continue to work even with this installdeps failure, only the goodies that depend on this module failing to load. We can probably do something to at least improve the output/documentation considerably here @moollaza @mwmiller @jagtalon

from p5-app-duckpan.

tommytommytommy avatar tommytommytommy commented on July 30, 2024

Thanks! Installing libmpfr-dev worked for me.

from p5-app-duckpan.

mintsoft avatar mintsoft commented on July 30, 2024

Excellent, I'll leave this issue open for now until we can come up with a nicer way of handling it

from p5-app-duckpan.

moollaza avatar moollaza commented on July 30, 2024

Looking here: http://search.cpan.org/dist/Dist-Zilla/lib/Dist/Zilla/Plugin/Prereqs.pm it seems like we're able to specify somewhat "optional" dependencies. I'm not sure how that works when the installer is running (hopefully it prompts the user?)

My thinking is that we can make the Perl packages that depend on system packages "optional". This would hopefully prevent Dist::Zilla from trying to install them when it's highly likely most users won't need them.

@mintsoft @mwmiller @jagtalon any thoughts or alternative suggestions? IMHO I think we should just avoid Perl packages that require system packages, or those IA's should be in their own repo(s), where we can tell dev's what sys packages are required to prevent these kinds of problems.

Either way right now we don't have a nice way of handling IA's with system deps which is not good.

from p5-app-duckpan.

mintsoft avatar mintsoft commented on July 30, 2024

I think the ideal for me would be for it to succeed but basically say "non fatal: I couldn't install the following dependencies but you can still plough-on running duckpan" or similar.
I think system dependencies shouldn't be installed directly as this would require running duckpan as root.

from p5-app-duckpan.

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.