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.
  • Here's my attempt at a straightforward installer which I believe meets your requirements without inventing a whole new distribution of perl or gcc:
      http://stennie.org/camelpack/ [stennie.org]

    I picked one combination (and listed some alternatives considered) but the approach should be easily adaptable and maintainable.

    Cheers,
    Stephen
    • OK, having had time to install it, here's an official report card.

      1. Pass

      2. Pass

      3. Pass (with comment)

      While I'm a bit iffy about not having the other installers embedded, it did work just fine, and since the goal is to install from CPAN, requiring a network connection for the installation isn't unreasonable. So Pass.

      4. Pass

      5. Pass

      6. Fail (with comment)

      Running the installation inside the image worked, but the CPAN.pm first-time configuration process failed utterly. After 2 hours of debugging and 4 new RT bugs for CPAN.pm my conclusion is that the version of CPAN.pm you installed cannot get the MIRRORED.BY file, and thus cannot be configured, unless the installation is on a host with a public IP or the user knows their own FTP Proxy. CPAN.pm first time setup would not appear to support or be set for even passive FTP, or provide any option for dealing with a lack of full two-way FTP connection.

      Since this rules out pretty much everyone inside a NAT or on a broadband router, a massive number of Windows hosts would not be able to install from CPAN. Since the rules of the competition explicitly say that you are responsible for the entirity with no credit to anyone who's source work you used, I can't see how I could assign blame to ActiveState and mark it a pass. So Fail, with the note that CPAN should be able to be configured inside a NAT or some other environment WITH passive FTP access. For situations without FTP access at all, or auth proxies and such, I can't see how I could blame you. But limited passive-only FTP access is so common I can't see how I could allow it to be a pass.

      In short, FAILSFORME.

      7. Pass

      8. Pass (and excellent use of the rule to suck in ActivePerl etc)

      9. N/A

      ----------------------
      Total: FAIL 7/8 passed
      ----------------------

      If you can make CPAN.pm work after installation with only passive FTP access, let me know so I can retest.

      • After talking with fireartist regarding vanillaPerl, it would appear that with the new Windows firewall + other reasons there's no way we'd ever want FTP to _not_ use passive.

        So the recommendation is to set FTP_PASSIVE=1 at the system level in.

        HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

      • OK, have updated the installer to set FTP_PASSIVE by default; please retest.

        Cheers,
        Stephen