Re: Upgrade from Debian 11 to Debian 12 Broke Perl.

[email protected] ("Ruprecht Helms (privat)") Wed, 13 Mar 2024 13:14:32 +0100
Newsgroups perl.beginners
Message-ID <[email protected]>
In the case you built up perl via source for updating by using the 
tarball the following line is nessesarry:

|sudo apt install build-essential wget It seams for the packages you 
need to install the warning-unused-0.06. Maybe you can install it via 
the debian-procedure or by using the tarball. The tarball you will find 
on https://metacpan.org/pod/warnings::unused Regards, Ruprecht |





On 13.03.24 13:00, Ruprecht Helms (privat) wrote:
> Hi,
>
> what is saying the following:
>
> perl -v   ??
>
> Maybe the below mentioned version needs an update. In this case do the 
> following:
>
> |sudo apt update ||sudo apt install perl ||sudo apt install perl 
> libdatetime-perl libjson-perl After that have a look at perl-packages 
> you need ||apt-cache search perl | grep <Perlpackage> for example mysql|
> |Regards, Ruprecht I hope my support help in this case. |
>
>
>
>
>
> On 11.03.24 19:27, John SJ Anderson wrote:
>>> Can't locate warnings/unused.pm in @INC (you may need to install the 
>>> warnings::unused module) (@INC contains: /etc/perl 
>>> /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 
>>> /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 
>>> /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base 
>>> /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 
>>> /usr/local/lib/site_perl) at /home/martin/etc/p2 line 3.
>>> BEGIN failed--compilation aborted at /home/martin/etc/p2 line 3.
>>>
>>> So, if I try to use cpanp and re-add that module, I get:
>>>
>>> 1wb5agz martin tmp $ cpanp -i Warnings::Unused
>>> ERROR] 'Warnings::Unused' does not contain an author part
>>>
>>> [ERROR] Cannot find 'Warnings::Unused' in the module tree
>> “Warnings::Unused” != “warnings::unused”
>>
>> Try `cpanp warnings::unused`.
>>
>> j.
>>
>>
>