Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Dependencies (Score:3, Interesting)

    by Matts (1087) on 2002.08.14 14:18 (#11758) Journal
    We went through a similar thing with AxKit and dependencies.

    I've come full circle with it in a way - at first I just shipped everything - and I think that made things easier for a while. Now in AxKit 1.6 everything got ripped out - it's a bad thing to ship with all the dependencies.

    So for CVS, I'm using ExtUtils::AutoInstall. It's a bit wierd, and certainly has bugs, but I think overall it's probably the best option - does the right thing if you're running under CPAN.pm, otherwise tries to download the modules separately.

    Anyway, maybe you should check it out.
    • Re:Dependencies (Score:3, Interesting)

      I really dislike ExtUtils::AutoInstall. I also hate interactive installs. It has bugs (it went into an infinite loop for me yesterday - charming). I'd much prefer the distribution to do the proper CPAN thing and use MakeMaker so that CPAN or CPANPLUS (or my gentoo cpan ebuilder) can find out the dependencies easily and cope with it. Does anyone actually not use CPAN/CPANPLUS thesedays?
      • Sadly, yes. Lots of people who are new to perl don't even know about CPAN.

        ExtUtils::AutoInstall is supposed to do the right thing when running under CPAN - it simply sets PREREQ_PM when it detects that it's running there. Also you can tell a module that uses ExtUtils::AutoInstall to be non-interactive via command line switches.

        The infinite loop thing is bad. Hopefully you reported a bug ;-)
    • TBH I'm quite happy shipping with low dependencies and low functionality. One of the points we've always tried to stress is that OpenFrame doesn't force you down a certain path, and it feels more like we're meeting that design goal with completedness-at-shipping with this sort of layout.

      I can understand that its nice to be able to install something out-of-the-box and have it all work 100% but in reality I'm not sure that you're ever going to get that with a OpenFrame -- its not what it tries to be at all.