Strawberry Perl 5.10.0 Beta 1 Release

Alias on 2007-12-19T16:43:21

http://ali.as/download/strawberry-perl-5.10.0-beta-1.exe

I'm happy to deliver the first beta for Strawberry Perl 5.10.0.

This is a complete Perl install and the CPAN environment should work perfectly, but I'd like to do a short beta cycle of a couple of days, so that by the time I release the final version I'm not the only person that has ever run it.

At the present time I don't expect that anyone using the beta will need to do a reinstall, the setup appears quite stable, with just a few small things at the edges not quite polished to completion.

Caveats for the Beta.

- Release may be missing some start menu links and some minor documentation.

- It is missing a few last-minute additional pre-bundled modules, such as libgmp.

- No final matching Perl::Dist::Strawberry and Task::Strawberry have been released yet.

- Windows Vista is not supported, although it may or may not work for you (due to a known issue with MinGW).

- The CPAN configuration is set to check for a local minicpan instance at C:\minicpan before using a remote CPAN mirror, this may result in slightly spammy CPAN client behaviour with some "path not found" style error messages, but will otherwise work just fine.

If you could reply in the comments whether or not you managed to get installation and CPAN installation of your modules working properly, and in what environment, that would be just fine for now.


Side by Side Install?

jk2addict on 2007-12-19T17:31:55

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.

Re:Side by Side Install?

jk2addict on 2007-12-19T17:53:45

Damnit. Easiest... 5.8.8 version...

Re:Side by Side Install?

dagolden on 2007-12-19T19:42:22

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

Re:Side by Side Install?

kennyg on 2007-12-19T20:41:41

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:
  C:/strawberry-perl/perl/lib
  C:/strawberry-perl/perl/site/lib
  .

Re:Side by Side Install?

kennyg on 2007-12-19T20:49:05

quick note to report that uninstalling, and then reinstalling fixed the directory issue.

Re:Side by Side Install?

Alias on 2007-12-19T22:18:51

That is utterly bizarre...

Re:Side by Side Install?

dj_goku on 2007-12-19T20:55:17

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.

Re:Side by Side Install?

dj_goku on 2007-12-19T21:10:08

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 complete...
Looks good ... Detected uninstalled Perl. Trying to continue.
Have C:\strawberry-perl\perl\lib\Config.pm expected C:\strawberry\perl\lib\Config.pm
Note (probably harmless): No library found for -lmsvcrt
Note (probably harmless): No library found for -lmoldname
Note (probably harmless): No library found for -lkernel32
Note (probably harmless): No library found for -luser32
Note (probably harmless): No library found for -lgdi32
Note (probably harmless): No library found for -lwinspool
Note (probably harmless): No library found for -lcomdlg32
Note (probably harmless): No library found for -ladvapi32
Note (probably harmless): No library found for -lshell32
Note (probably harmless): No library found for -lole32
Note (probably harmless): No library found for -loleaut32
Note (probably harmless): No library found for -lnetapi32
Note (probably harmless): No library found for -luuid
Note (probably harmless): No library found for -lws2_32
Note (probably harmless): No library found for -lmpr
Note (probably harmless): No library found for -lwinmm
Note (probably harmless): No library found for -lversion
Note (probably harmless): No library found for -lodbc32
Note (probably harmless): No library found for -lodbccp32
Writing Makefile for PAR
The system cannot find the path specified.
    SMUELLER/PAR-0.976.tar.gz
    C:\strawberry\c\bin\dmake.EXE -- NOT OK
Running make test
    Can't test without successful make
Running make install
    Make had returned bad status, install seems impossible
Failed during this command:
  SMUELLER/PAR-0.976.tar.gz : make NO

Re:Side by Side Install?

dj_goku on 2007-12-19T22:11:41

I may be wrong. I am trying to get all the PATH/INCLUDE/LIB paths setup correctly.

http://search.cpan.org/user/adamk/Perl-Dist-0.51/lib/Perl/Dist/Bootstrap.pm#CONFIGUR ATION

I will probably just delete everything and remove all path information and reinstall and see it if works then.

Re:Side by Side Install?

dj_goku on 2007-12-20T00:24:13

As another user has done, I uninstalled 5.10.0 and re-installed and ran the one-liner. Which allowed me to install PAR.

config.h timestamp in future breaks Makefile.PL

dagolden on 2007-12-19T18:07:12

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 Config::Tiny.

Presumably, if I wait until tomorrow the problem will go away, but I think this needs a fix or else you'll frustrate anyone who tries out a new Strawberry Perl right after you release it if they happen to be on the other side of the international date line.

(I suppose you could build a new release and then wait a day to release it, but what's the fun in that?!?)

-- dagolden

Re:config.h timestamp in future breaks Makefile.PL

dagolden on 2007-12-19T18:24:55

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

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

-- dagolden

Re:config.h timestamp in future breaks Makefile.PL

Mr. Muskrat on 2007-12-19T18:34:45

That explains the messages about the Makefile being rebuilt and needing to rerun dmake.

Uninstall

Mr. Muskrat on 2007-12-20T16:25:51

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.

Re:Uninstall

dj_goku on 2007-12-20T21:00:46

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.

Re:Uninstall

Alias on 2007-12-20T23:52:23

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.

Re:Uninstall

Mr. Muskrat on 2007-12-31T16:07:53

If you can't get Inno Setup to do what you want then take a look at NSIS (Nullsoft Scriptable Install System). They have lots of documentation, tutorials and examples. 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.