arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
678 stars 143 forks source link

Compress::Raw::Zlib is not in Debian/Ubuntu pkg perl-modules #1240

Closed zokradonh closed 1 year ago

zokradonh commented 1 year ago

I get this error on downloading a mod:

BEGIN failed--compilation aborted.
Can't locate Compress/Raw/Zlib.pm in @INC (you may need to install the Compress::Raw::Zlib module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl).

perl-modules-5.32 in Debian bullseye miss the file. https://packages.debian.org/bullseye/all/perl-modules-5.32/filelist It is also missing in buster and stretch archives. So this is not a new issue. I also checked the Ubuntu archives which also miss the module.

I had to install libcompress-raw-zlib-perl to fix the issue (which installs full perl as dependency on top of base-perl).

I don't know if raw is needed. zlib without raw is available in the lightweight perl-modules package.

Thank you for your work.

zokradonh commented 1 year ago

Ok, it is expected to have the full perl installed, which includes raw zlib. Funny to always get the correct understanding right after posting a new issue.