AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HLstatsX:CE (https://forums.alliedmods.net/forumdisplay.php?f=156)
-   -   Perl on windows - DBD-mysql doesn't exist anywhere [SOLVED] (https://forums.alliedmods.net/showthread.php?t=317840)

heavyisgps 07-31-2019 21:39

Perl on windows - DBD-mysql doesn't exist anywhere [SOLVED]
 
I cannot install DBD-mysql because it doesn't exist anymore. All I can find is DBD-mysqlPP, and thus I'm not able to get the daemon running.

How can I specify where to install it from?

I'm following this guide https://github.com/NomisCZ/hlstatsx-...i/Installation

but it has little details on what to do when cpan> install DBD-mysql doesn't work anymore.

This is with ActivePerl-5.26.3.2603-MSWin32-x64-a95bce075

EDIT: Solved by adding Encoding perl package and getting older version, still issue remains with daemon not getting proper information

NomisCZ 08-01-2019 07:09

Re: Perl on windows - DBD-mysql doesn't exist anywhere
 
Hello,
I just updated wiki.
https://github.com/NomisCZ/hlstatsx-...ation#-windows

Use only version <= 5.24.x. Newer version no longer included Perl Package Manager and some packages are incompatible. (I didn't know that the newer version doesn't have a package manager.)

heavyisgps 08-02-2019 05:35

Re: Perl on windows - DBD-mysql doesn't exist anywhere
 
Hi,

Thanks for updating the guide and adding more info.

I uninstalled the previous perl and installed the one you suggested.

However when I run perl hlstats.pl I get this error

Can't load 'C:/Perl64/site/lib/auto/Storable/Storable.dll' for module Storable: load_file:The specified module could not be found at C:/Perl64/lib/XSLoader.pm line 96.
at C:/Perl64/site/lib/Storable.pm line 107.
Compilation failed in require at C:/Perl64/lib/Encode.pm line 55.
BEGIN failed--compilation aborted at C:/Perl64/lib/Encode.pm line 55.
Compilation failed in require at hlstats.pl line 68.
BEGIN failed--compilation aborted at hlstats.pl line 68.

I checked and C:/Perl64/site/lib/auto/Storable/Storable.dll exists in that folder. I've also run this via powershell, cmd as administrator

Is this an issue with 32bit and 64bit?

NomisCZ 08-02-2019 11:20

Re: Perl on windows - DBD-mysql doesn't exist anywhere
 
Quote:

Originally Posted by heavyisgps (Post 2661513)
Hi,

Thanks for updating the guide and adding more info.

I uninstalled the previous perl and installed the one you suggested.

However when I run perl hlstats.pl I get this error

Can't load 'C:/Perl64/site/lib/auto/Storable/Storable.dll' for module Storable: load_file:The specified module could not be found at C:/Perl64/lib/XSLoader.pm line 96.
at C:/Perl64/site/lib/Storable.pm line 107.
Compilation failed in require at C:/Perl64/lib/Encode.pm line 55.
BEGIN failed--compilation aborted at C:/Perl64/lib/Encode.pm line 55.
Compilation failed in require at hlstats.pl line 68.
BEGIN failed--compilation aborted at hlstats.pl line 68.

I checked and C:/Perl64/site/lib/auto/Storable/Storable.dll exists in that folder. I've also run this via powershell, cmd as administrator

Is this an issue with 32bit and 64bit?

Please install also these packages (I don't know why ActivePerl needs so many packages):
Moo - Minimalist Object Orientation (with Moose compatibility)
MooX - Using Moo and MooX:: packages the most lazy way
MooX-StrictConstructor - Make your Moo-based object constructors blow up on unknown attributes.
List-AllUtils - Combines List::Util, List::SomeUtils and List::UtilsBy in one bite-sized package

heavyisgps 08-02-2019 19:40

Re: Perl on windows - DBD-mysql doesn't exist anywhere
 
Hi, I tried to run on hlstats-resolve.pl and proxy-daemon.pl and they worked fine with no issues.

hlstats-awards.pl throws this error

Code:

Can't load 'C:/Perl64/site/lib/auto/Storable/Storable.dll' for module Storable: load_file:The specified module could not be found at C:/Perl64/lib/XSLoader.pm line 96.
  at C:/Perl64/site/lib/Storable.pm line 107.
Compilation failed in require at C:/Perl64/lib/Encode.pm line 55.
BEGIN failed--compilation aborted at C:/Perl64/lib/Encode.pm line 55.
Compilation failed in require at hlstats-awards.pl line 59.
BEGIN failed--compilation aborted at hlstats-awards.pl line 59.
PS D:\tf2server\tf2\tf\addons\sourcemod\scripts>

And hlstats.pl still throws

Code:

Can't load 'C:/Perl64/site/lib/auto/Storable/Storable.dll' for module Storable: load_file:The specified module could not be found at C:/Perl64/lib/XSLoader.pm line 96.
  at C:/Perl64/site/lib/Storable.pm line 107.
Compilation failed in require at C:/Perl64/lib/Encode.pm line 55.
BEGIN failed--compilation aborted at C:/Perl64/lib/Encode.pm line 55.
Compilation failed in require at hlstats.pl line 68.
BEGIN failed--compilation aborted at hlstats.pl line 68.



All times are GMT -4. The time now is 06:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.