Raised This Month: $32 Target: $400
 8% 

Perl on windows - DBD-mysql doesn't exist anywhere [SOLVED]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
heavyisgps
Member
Join Date: Aug 2018
Old 07-31-2019 , 21:39   Perl on windows - DBD-mysql doesn't exist anywhere [SOLVED]
Reply With Quote #1

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

Last edited by heavyisgps; 08-20-2019 at 20:05.
heavyisgps is offline
NomisCZ
AlliedModders Donor
Join Date: Mar 2014
Location: Czech_Republic
Old 08-01-2019 , 07:09   Re: Perl on windows - DBD-mysql doesn't exist anywhere
Reply With Quote #2

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.)
__________________
NomisCZ is offline
heavyisgps
Member
Join Date: Aug 2018
Old 08-02-2019 , 05:35   Re: Perl on windows - DBD-mysql doesn't exist anywhere
Reply With Quote #3

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?

Last edited by heavyisgps; 08-02-2019 at 05:35.
heavyisgps is offline
NomisCZ
AlliedModders Donor
Join Date: Mar 2014
Location: Czech_Republic
Old 08-02-2019 , 11:20   Re: Perl on windows - DBD-mysql doesn't exist anywhere
Reply With Quote #4

Quote:
Originally Posted by heavyisgps View Post
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
__________________

Last edited by NomisCZ; 08-02-2019 at 11:21.
NomisCZ is offline
heavyisgps
Member
Join Date: Aug 2018
Old 08-02-2019 , 19:40   Re: Perl on windows - DBD-mysql doesn't exist anywhere
Reply With Quote #5

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.
heavyisgps is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:26.


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