[MacPorts] #67830: perl5 @5.34 +perl5_36: cannot install perl modules
MacPorts
noreply at macports.org
Wed Jul 26 22:33:13 UTC 2023
#67830: perl5 @5.34 +perl5_36: cannot install perl modules
------------------------------+--------------------
Reporter: NorthboundTrain | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: perl5 |
------------------------------+--------------------
Comment (by ryandesign):
The perl5 port is a stub port. It doesn't install perl, it just installs
`perl` and `perl5` symlinks that points to whatever perl you have
installed. By default, at present, that symlink points to the `perl5.34`
executable installed by the perl5.34 port. You can use a different variant
of the perl5 port if you'd like that symlink to point to a perl executable
provided by a different perl port. For example, by installing perl5 with
the +perl5_36 variant, you tell it to depend on the perl5.36 port instead
and to provide `perl` and `perl5` symlinks that point to the `perl5.36`
executable.
All of the p5-* module ports are stubs too that don't install anything,
and they don't have variants. For example, p5-file-copy-recursive doesn't
install anything. It just depends on p5.34-file-copy-recursive which
installs File::Copy::Recursive for perl5.34. If you want to install
File::Copy::Recursive for perl5.36, install p5.36-file-copy-recursive.
It's designed this way so that you can install several different versions
of perl, and modules, and they don't conflict with one another.
--
Ticket URL: <https://trac.macports.org/ticket/67830#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list