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.
  • What's the easiet way to install this and still be able to use the 5.6.6 version? Not just in beta, but long term, I want to run both.
    • Damnit. Easiest... 5.8.8 version...
      • 5.10.0 installs into c:\strawberry\ and 5.8.8 installs into c:\strawberry-perl\. So they should (ha!) co-exist just fine as long as you go fix up your PATH, LIB and INCLUDE environment variables.

        -- dagolden

        • This beta tried to install to the c:\strawberry-perl directory. I got some read-only warnings from the installer, as it tried to overwrite my existing c:\strawberry-perl directory. I stopped the installer, moved the old directory out of the way, and reran the installer and let it complete. Here's part of perl -V.

          Linker and Libraries:
             ld='g++', ldflags ='-s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"'libpth=C:\strawberry\c\lib
          Built under MSWin32
          Compiled at Dec 20 2007 02:23:07
          @INC:
        • I am going to have to say that is a negative on c:\strawberry. I renamed c:\strawberry-perl to something else just to make sure. Sure enough installed at c:\strawberry-perl.
          • I am thinking there is a bigger issue see below:

            cpan> install PAR
            Database was generated on Wed, 19 Dec 2007 20:36:19 GMT
            Running install for module 'PAR'
            Running make for S/SM/SMUELLER/PAR-0.976.tar.gz
            Checksum for C:\strawberry\cpan\sources\authors\id\S\SM\SMUELLER\PAR-0.976.tar.gz ok
            Scanning cache C:\strawberry\cpan\build for sizes ............................................................................DONE

                CPAN.pm: Going to build S/SM/SMUELLER/PAR-0.976.tar.gz

            Checking if your kit is co
  • For some reason, all your file timestamps are about a day in the future and are preserved on install. (Yay! Aren't timezones fun!) That means that Makefile.PL complains:

    Makefile out-of-date with respect to C:\strawberry\perl\lib\Config.pm C:\strawberry\perl\lib\CORE\config.h

    This is not a problem for Build.PL and since you've configured CPAN.pm to prefer Build.PL, this only affects distributions that only have Makefile.PL. That includes several of the dependencies of CPAN::Reporter, including your own

    • Quick fix in the meantime -- from the C:\strawberry directory:

      > perl -MFile::Find -e "find sub { utime undef, undef, $_ }, q{.}"

      -- dagolden

    • That explains the messages about the Makefile being rebuilt and needing to rerun dmake.
  • I don't know if you know this already so here goes. After uninstalling, the environment variables were left alone. The ones that didn't exist before (INCLUDE and LIB come to mind) still exist. The new paths were not removed from PATH either.
    • I noticed this too. INCLUDE/LIB would be easily disposed of but, the paths in PATH might be an issue. Would have to systematically go through the env and search for the ones were added by strawberry and remove them.
    • I think this is a deficiency in the installer.

      From what I can see there is no simple way to auto-magically remove them.

      I'll investigate to see if there's some hooks into the uninstall process later.
      • If you can't get Inno Setup to do what you want then take a look at NSIS [sourceforge.net] (Nullsoft Scriptable Install System). They have lots of documentation [sourceforge.net], tutorials [sourceforge.net] and examples [sourceforget.net]. I used it in the past with someone else's NSIS script and it was a breeze to tweak the script to do what I wanted.