I have the sourcecode of official SBS 7.5 and I used to run it under Strawberry Perl for development. It worked fine. But I had some problems which looked strange to me and decided to try running with ActiveState instead.
Trying perl slimserver.pl gives the following:
I tested newest ActiveState Perl 5.12, got these problems. I tried to install all needed packages with ActiveState PPM or with cpan, tried removing packages included in the SBS source (CPAN dir). No luck.Code:The following modules failed to load: DBD::mysql EV YAML::Syck Sub::Name To run from source on Windows, please install ActivePerl 5.10. ActivePerl 5.8.8 is no longer supported. http://www.activestate.com/activeperl/ Exiting..
Just downgraded to ActiveState Perl 5.8.9 - same issue. Trying to install again with CPAN, but I don't think I ever get it working. I got it to the point it only questions YAML::Syck and DBD::mysql but installing these doesn't help. DBD::mysql has some problems, and YAML::Syck installs fine, but it still complains.
What am I missing?
BTW.
Is this:
same as this:Code:my $a=shift; my $b=shift;
?Code:my ($a, $b) = shift;
Results 1 to 5 of 5
-
2010-12-29, 07:11 #1Senior Member
- Join Date
- Nov 2008
- Posts
- 152
Running under ActiveState on Windows
-
2010-12-29, 07:14 #2
Running under ActiveState on Windows
On Dec 29, 2010, at 9:11 AM, azaz44 wrote:
>
> What am I missing?
You didn't read the instructions: To run from source on Windows, please install ActivePerl 5.10.
-
2010-12-29, 07:34 #3Senior Member
- Join Date
- Nov 2008
- Posts
- 152
-
2010-12-29, 07:55 #4No, you want either:Is this:
same as this:Code:my $a=shift; my $b=shift;
?Code:my ($a, $b) = shift;
my ($a, $b) = (shift, shift);
or
my ($a, $b) = @_;
The shift version is slightly more efficient but @_ is more common.
-
2010-12-29, 10:12 #5Senior Member
- Join Date
- Nov 2008
- Posts
- 152

Reply With Quote


