gugod / App-perlbrew

Manage perl installations in your $HOME
https://perlbrew.pl
Other
720 stars 216 forks source link

patchperl requires 'deprecate' module missing on AlmaLinux9 #794

Open Deracination opened 1 year ago

Deracination commented 1 year ago

On a new AlmaLinux 9.3 install perlbrew does not work because patchperl requires 'deprecate' but this is not installed by default in AL9.

Work-around is to install the perl-deprecate package: sudo dnf install perl-deprecate -y

gugod commented 11 months ago

I'm not sure what's a direct action out of this issue. I'm not a AlmaLinux user myself, and it's unclear to me what the word 'deprecate' mean in this context. If anyone know what this is about and willing to spend time to explain, or even resolve the issue for perlbrew, it'll be appreciated.

Deracination commented 11 months ago

Patchperl relies on 'deprecate.pm' but this is missing in the OS-installed version of Perl on AlmaLinux9 so perlbrew won't run. Installing the OS perl-deprecate package installs this module which lets perlbrew work.

gugod commented 11 months ago

Thanks for replying with good explanation.

I guess this means the installation strps as documented on https://perlbrew.pl does not work out of the box.

That derpecate.pm should have been part of patchperl, but somehow it isn't.

Some extra work needs to be done at this repp: https://github.com/gugod/patchperl-packing

cbueche commented 7 months ago

I confirm the same issue on RHEL 9.3. I had to install the perl-deprecate package.