App-perlbrew icon indicating copy to clipboard operation
App-perlbrew copied to clipboard

patchperl requires 'deprecate' module missing on AlmaLinux9

Open Deracination opened this issue 7 months ago • 4 comments

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

Deracination avatar Nov 20 '23 04:11 Deracination

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.

gugod avatar Dec 17 '23 02:12 gugod

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.

Deracination avatar Dec 17 '23 21:12 Deracination

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

gugod avatar Dec 19 '23 23:12 gugod

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

cbueche avatar Apr 24 '24 13:04 cbueche