Perl 6 - the future is here, just unevenly distributed

IRC log for #native, 2016-02-26

| Channels | #native index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
14:33 moocow joined #native
14:34 moocow morning all, any chance someone can help me out with an Alien::Base conundrum?
14:41 moocow specifcally: getting pkg-config --cflags and --libs for nested Alien::Base::ModuleBuild dependencies
14:52 jberger Make sure that the dependencies are listed as configure_requires (or whatever the non cpanfile alike is) and then use the alien module in your build.pl to get the flags etc
15:05 moocow yep, that's what I'm doing (i think), but some cpantesters are failing with missing -I flags (e.g. http://www.cpantesters.org/cpan/report/9ae23922-db55-11e5-bd4e-4308fdd2507e )
15:07 moocow ... but I suspect I'm not lookup up the flags right: i've tried to detect "share" vs. "system" builds and adjust PKG_CONFIG_PATH via alien_env; ( https://metacpan.org/source/MOOCOW/Alien-GfsmXL-0.002/Build.PL#L9 )
15:14 moocow the dependencies here are: Alien::Gfsm->libgfsm, Alien::GfsmXL->{Alien::Gfsm,libgfsmxl}, libgfsmxl->libgfsm (via pkg-config or *FLAGS)
15:21 jberger moocow: can you do something like this? https://metacpan.org/pod/distribution/Alien-Base/lib/Alien/Base/Authoring.pod#Alien::Base-for-Building
15:22 jberger except that the $alien object is an instance of the other module(s)
15:27 moocow @jberger argh, yes, looks like that ought to work.  it's closing time here in sunny Berlin, i'll get that wrapped up to cpan next week.  thanks for your patience!
15:28 jberger yeah, no problem
15:28 jberger sorry I'm not as up on the state-of-the-art of AB latey
15:28 jberger your Build.PL uses a few of the newer features that plicease++ has added in my semi-hiatus
15:30 moocow ok, thanks for the tips; I'm new to Alien, just trying to get more useful results from cpantesters.
15:32 jberger so I was the original author of Alien::Base but I got seriously burned out on it about at the same time I didn't really need it in my day-job
15:32 jberger so luckily plicease is running it lately and has done a great job
15:34 moocow well, i'm pretty happy with what i've seen so far; extra kudos for sparing the tuits for a project you no longer maintain :-)
15:36 moocow signing off, must run to progeny's flute lesson -- thanks again!
15:43 jberger o/
15:51 plicease maybe we should update PKG_CONFIG_PATH when a module gets used as a alien_bin_requires.
19:26 meredith i may put some time in this weekend starting ffi and alien packages for libpostal, which seems quite useful
19:28 meredith hard mode for the alien side may be that source builds like to unpack a couple gigs of training data from openstreetmap
20:05 plicease why so much data?
21:24 meredith not sure the exact details of the build process yet, just that it gives me a warning about the space necessary, then pulls it all down / gunzips

| Channels | #native index | Today | | Search | Google Search | Plain-Text | summary