duckduckgo / p5-app-duckpan

DuckDuckHack OpenSource Development Application
http://metacpan.org/module/App::DuckPAN
Other
53 stars 47 forks source link

duckpan install deps failing on Codio #186

Closed mnp closed 9 years ago

mnp commented 9 years ago

The Codio box is apparently missing the debian/Ubuntu equivalent of package libmpfr-dev. When installdeps is trying to do a cc in dependency DateTime-Astro-1.00. See log below.

I suspect the ddg standard box just needs this package added.

/home/codio/perl5/perls/perl-5.18.2/bin/perl "-Iinc" /home/codio/perl5/perls/perl-5.18.2/lib/site_perl/5.18.2/ExtUtils/xsubpp  -typemap /home/codio/perl5/perls/perl-5.18.2/lib/5.18.2/ExtUtils/typemap  xs/dt_astro.xs > xs/dt_astro.xsc && mv xs
/dt_astro.xsc xs/dt_astro.c                                                                                                                                                                                                                       
cc -c  "-I." "-I." -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wno-comment -O2   -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -o xs/dt_astro.o -fPIC "-I/home/codio/perl5/p
erls/perl-5.18.2/lib/5.18.2/x86_64-linux/CORE"  -DUSE_PPPORT xs/dt_astro.c                                                                                                                                                                        
In file included from xs/dt_astro.xs:1:0:                                                                                                                                                                                                         
xs/dt_astro.h:9:18: fatal error: mpfr.h: No such file or directory                                                                                                                                                                                
 #include "mpfr.h"                                                                                                                                                                                                                                
                  ^                                      
moollaza commented 9 years ago

Actually, I just submitted a "Box Parts" package to Codio for GNU MPFR. If you run, parts update and then parts install mpfr you should be able to duckpan installdeps and install the necessary files for the ChineseZodiac Goodie.

Of course, none of that is actually required, you can simply ignore the fact that Chinese Zodiac isn't usable if you're not working on it ;)

mnp commented 9 years ago

Yup, that works, thank you.

In my case, I had several reasons for concern. First, when stepping into a new project, the first thing I want to do is get a clean install, then see "prove t" can PASS. After you have some experience, "eh just ignore that broken dependency" is fine, but on first arriving, new guys don't know what's slop and what's broke. So that's a little barrier to entry that can be eased in the prebuilt boxes/vm's whatever. I know how hard ddg is working on community outreach, so that's something.

Second, I /was/ working in the calendar area :-) and really didn't want any additional unknowns...

I have a local perl dev box so cloning it from orbit was the only way to be sure.