Closed vadimkantorov closed 1 week ago
This is not standard behavior for a stable Perl, but you are passing -Dusedevel which might be enabling this behavior. Pass -Uversiononly to unset the versiononly parameter for devel perls.
Thank you! -Uversiononly
worked. Not sure if I actually need -Dusedevel
, thanks for the tips.
Is it possible to also ask the Perl to omit the versions/platforms from the installation paths? e.g. omit 5.40.0/x86_64-linux
from $PREFIX/lib/perl5/site_perl/5.40.0/x86_64-linux/
and from $PREFIX/lib/perl5/5.40.0/x86_64-linux/auto/
?
Those are the site and priv(core) arch lib dirs and is separate from the main privlib and sitelib dirs because files installed there are not portable between Perl versions/builds and system architectures. You can probably fiddle with INSTALLARCHLIB and INSTALLSITEARCH (https://perldoc.perl.org/ExtUtils::MakeMaker#make-install) at your own risk of course. Sitelib is intended for CPAN module installs and will be used by all installs after initial installation with the exception of certain dual-life modules on very old perls.
Is it possible to also ask the Perl to omit the versions/platforms from the installation paths? e.g. omit 5.40.0/x86_64-linux from $PREFIX/lib/perl5/site_perl/5.40.0/x86_64-linux/ and from $PREFIX/lib/perl5/5.40.0/x86_64-linux/auto/?
Yeah, this is described in the INSTALL
file under Installation Directories
It only installs into a prefix
bin/perl5.40.0
andbin/enc2xs5.40.0
, but some packages likeEncode::EUCJPASCII
expect aenx2xs
binary to be discoverable. I worked around this by creating an unversioned symlink, but how to do this properly? Is there some switch forConfigure
to ask it to produce the symlinks or do not use any versions in the file names / path segments?Thanks!
The following fails because
enc2xs
is not discoverable