Comments (6)
@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.
@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.
Thanks! Installing libmpfr-dev
worked for me.
from p5-app-duckpan.
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.
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.
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)
- Incorrect detection of Instant Answer files
- Cheat Sheets not displaying on DuckPAN Server HOT 2
- Cannot install DuckPAN: Failed to install dep Class-Accessor-Classy HOT 4
- DuckPAN should warn about, or not follow redirects for API calls (to mimic our NGINX)
- Replace use of File::ShareDir::ProjectDistDir HOT 1
- Usage of Moose HOT 4
- Move templates into DuckPAN HOT 1
- Allow updating metadata through DuckPAN HOT 4
- Mimic caching on query and server
- Underscores in new cheat sheets HOT 2
- Cheat sheet template wizard should use hyphens HOT 1
- IA wizard error message should say what characters are valid
- Installing DuckPAN fails at DDG-1006 (OSX perl v5.24.0) HOT 4
- Fathead support: Non-matching queries return last match HOT 2
- Add Related Topics to FatHead server
- "duckpan new --template cheatsheet" should use dashes for filename, not underscores HOT 3
- Add support for FatHead Categories
- IA's are untestable until PR is made HOT 9
- problem first time running duckpan server on fathead on Codio HOT 3
- Test a new goodie HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p5-app-duckpan.