http://strawberryperl.com/download/strawberry-perl-5.10.0-final.exe
After over a year since the last release, it is with equal parts of pride and relief that I present Strawberry Perl 5.10, the next major release of the Vanilla Perl Project's flagship Perl distribution.
This release represents the beginning of the third generation of release code.
The first generation was a simple build script, and was used to create the original Vanilla Perl distribution.
The second generation moved from a simple script to a config-driven model with Perl::Dist::Builder, and gave us the original Strawberry Perl.
The new Perl::Dist::Inno takes this beyond simple configuration and provides a complete object heirachy for modelling and compiling Win32 Perl distributions.
So now not only can you replicate Strawberry Perl yourself, you can literally sub-class Strawberry Perl and build your own custom distributions in as little as 10 lines of code.
This release also sees more attention paid to Strawberry Perl's CPAN capabilities, and in particular to its out-of-the-box functionality.
The new CPAN client setup is completely zero-configuration, with CPAN::SQLite pre-installed for reduced memory consumption and a http://cpan.strawberryperl.com/ redirector, so that we can keep zero-conf users pointing at a good default repository and collect statistics on the CPAN modules that Win32 users care about the most.
We've also added some little touches like a pointing the "Strawberry Perl Website" link that goes to a release-specific page, so we can update with errata and so on.
On the module side things remain much the same. We retain the previous model of bundling a large number of toolchain and CPAN-related modules, but don't bundle modules that add general functionality.
For people that would like more modules pre-installed, stay tuned for information on the long-awaited "Chocolate Perl" distribution.
Errata:
While the new releases is stable and very usable, it lacks in a few areas we will be addressing in the next release cycle.
1. Relocation
The new "relocatable" magic for Perl 5.10 is implemented as an optional Configure parameter. Win32 Perl releases do NOT, unfortunately, use Configure.
As such, relocation will not be available in this release cycle of Strawberry Perl. I hope to investigate workarounds for this problem at a later date.
2. Windows Vista
The MinGW compiler system has known problems on Vista with the current directory setup, and as such Strawberry Perl does not support Vista at this time.
I have some ideas on how to fix this, but don't want to potentially burdon non-Vista users with the complications it might create.
So we may well see a specific Vista version released separately.
HOWEVER, minus those few issues, I'm very happy with the quality of the new release, and look forward to increased sleep and some time off.
Enjoy.
Great!! (Score:1)
I've installed.
But cpan gives following error message.
-------------------------------------------------
C:\strawberry>cpan
CPAN: File::HomeDir loaded ok (v0.67)
cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support enabled
cpan> r
DBD::SQLite::db prepare failed: no such table: dists(1) at dbdimp.c line 271 at
C:\strawberry\perl\site\lib/CPAN/SQLite/DBI/Search.pm line 86, line 3.
Catching error: 'DBD::SQLite::db prepare failed: no such table: dists(1) at dbdi
mp.c line
Re: I solved the problem. (Score:1)
Re: (Score:1)
What setup do you have?
Re: (Score:1)
Re: (Score:1)
Re: (Score:1)
Details of my envirionment from CPAN::Reporter says
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = C:\strawberry\perl\bin\perl.exe
$UID/$EUID = 0 / 0
$GID = 0
$EGID = 0
Win32::GetOSName = WinXP/.Net
Win32::GetOSVersion = Service Pack 2, 5, 1, 2600, 2, 2, 0, 256, 1
installer has one flaw (Score:1)
Re: (Score:1)
Re: (Score:1)
Since you can get the build code yourself, you can at least now generate your own installer that installs to the location that YOU want.
Re: (Score:1)
Re: (Score:1)
Re: (Score:1)
Re: (Score:1)
I continue to look for a way to fix that.
Installed here (Score:2)
Re: (Score:2)
Can work on Vista (Score:1)
Note that I have UAC disabled - I expect that disabling UAC whilst installing on Vista is a Good Thing.
Re: (Score:1)
got complier to run but.. (Score:1)
"If you were supposed to understand it, we wouldn't call it code." - FedEx
Perl::Dist::Strawberry (Score:1)
Re: (Score:1)
The entire concept of Strawberry is that there are no additional steps required to get it into a working state.
The problem is that most people will NOT set TERM=dumb themselves, because most Windows uses aren't familiar with hacking things like the environment themselves.
It falls back on universal education as a crutch.
For cygwin users, you are already a step above the normal standard, and as a g
LIB pointing to perl/bin (Score:1)
Example environment script (Score:1)
@echo off
set TERM=dumb
set FTP_PASSIVE=1
set PATH=C:\strawberry\c\bin;C:\strawberry\perl\bin;%PATH%
set INCLUDE=C:\strawberry\c\include;C:\strawberry\perl\lib\CORE;%INCLUDE%
set LIB=C:\strawberry\c\lib;C:\strawberry\perl\lib\CORE;%LIB%
title Strawberry Perl Environment
cmd
Re: (Score:1)
It would mean that you could ONLY use Perl via that special shortcut?
MinGW patch for Vista (Score:2)
Windows Vista: The MinGW compiler system has known problems on Vista with the current directory setup, and as such Strawberry Perl does not support Vista at this time. I have some ideas on how to fix this, but don't want to potentially burdon non-Vista users with the complications it might create. So we may well see a specific Vista version released separately.
As you can read in this thread on Perlmonks [perlmonks.org], there is a patch available for MinGW's gcc on Vista. It is apparently enough to fix build issues on XS modules using MinGW on Vista, so I'm hopeful that it might be enough to fix Strawberry Perl too.
If I read it correctly, the problem was in incorrect parameter passing to some functions, and Vista catches it. I'm quite sure these function calls are actually just as incorrect on previous versions of Windows... so I see no reason why a patched gcc wouldn't work
Re: (Score:2)