Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
according to my experience the trouble is with "otherwise install it&q=
uot; part - and by trouble I really mean the big trouble, especially on MS =
Windows platform (which I am an expert at)<br>
<br>
I would personally split the problem into to parts:<br>
1/ detect whether the required package is there<br>
2/ otherwise install it<br>
<br>
Implementing Alien2 covering 1/ + 2/ will be veeeery demanding for implemen=
tation as well as for maintenance. In strawberry perl we have approx. 30 ex=
ternal libraries - most of them has new versions more than once a year, som=
e of them require custom patches that has to be updated with every new rele=
ase. It is quite a lot of work for one platform and will be even more for m=
any platforms.<br>

<br>
However part 1/ on its own is IMO doable - of course it is far from Alien i=
dea but we can call it like ExtUtils::LibDetect (or whatever). I would also=
suggest to keep all detection submodules (like ExtUtils::LibDetect::GSL, E=
xtUtils::LibDetect::FFTW ...) in one distribution - just to keep central co=
ntrol and avoid many sub-modules with different quality. So there will be o=
nly one ExtUtils-LibDetect-X.Y.tar.gz on CPAN.<br>
</blockquote><div><br></div><div>That was the reason to fold the new approa=
ch into something<br>like Alien:Base.=C2=A0 They would be separate but gene=
rated from the<br></div><div>same, &quot;best practices&quot; template.<br>=
<br>
<br></div><div>I&#39;ll see if I can get to the 2nd Alien2 post on my blog<=
br>this weekend.<br><br></div><div>Thanks for the thoughts,<br>Chris<br><br=
</div><div>=C2=A0<br></div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
If ExtUtils::LibDetect will turn out to be a good idea whoever will later s=
tart Alien2 implementation he/she can simply use ExtUtils::LibDetect for de=
tection part and focus only on &quot;otherwise install&quot; part.<br>

<br>
--<br>
kmx<br>
</blockquote></div><br></div></div>

--089e0160be54a1912f04f71ce34e--

Loading...