25-03-2025
This commit is contained in:
@@ -226,8 +226,64 @@ Il est recommandé d'installer les modules suivants:
|
||||
- Term::ReadLine::Perl (réclamé par le shell cpan)
|
||||
|
||||
- CPAN::DistnameInfo (réclamé par l'installeur de module)
|
||||
- Log::Log4perl
|
||||
- Log::Log4perl (pas installé le 3/9/24)
|
||||
|
||||
|
||||
|
||||
###
|
||||
#####Mettre à jour tous les modules:
|
||||
|
||||
Lancer le shell cpan:
|
||||
|
||||
```bash
|
||||
$ cpan
|
||||
```
|
||||
|
||||
puis
|
||||
|
||||
```bash
|
||||
cpan[1]> upgrade /(.*)/
|
||||
```
|
||||
|
||||
|
||||
|
||||
#### Erreur après mise-à-jour de tous les modules:
|
||||
|
||||
```bash
|
||||
$ exiftool -j /Users/bruno/Pictures/_Canon/Export/2024/Juillet/2024-07-13_Cerfs_9771.jpg
|
||||
|
||||
ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0x10200080, needed 0xfb80080)
|
||||
```
|
||||
|
||||
```bash
|
||||
brew uninstall perl
|
||||
rm -rf $HOME/perl5
|
||||
brew install perl
|
||||
PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" cpan local::lib
|
||||
|
||||
cpan -i App::pmuninstall
|
||||
cpan -i App::cpanoutdated
|
||||
```
|
||||
|
||||
|
||||
|
||||
##### perl-migrate-modules
|
||||
|
||||
```bash
|
||||
$ cpan App::MigrateModules
|
||||
```
|
||||
|
||||
```bash
|
||||
$ perl-migrate-modules --from perl5_old /usr/bin/perl
|
||||
|
||||
# Don't be alarmed by passing /usr/bin/perl as the destination of perl-migrate-modules. As long as you have the local::lib environment variables configured, it'll make a new ~/perl5 directory (or whatever you have it set to) and migrate the modules into that folder.
|
||||
```
|
||||
|
||||
|
||||
|
||||
```
|
||||
perl -MCPAN -e 'recompile()'
|
||||
```
|
||||
|
||||
|
||||
|
||||
https://stackoverflow.com/questions/11680500/how-to-upgrade-perl-modules-that-install-from-cpan/11680539
|
||||
|
||||
Reference in New Issue
Block a user