为什么在我提供 installusrbinperl 选项时没有创建 Perl 符号链接?

Why isn't the Perl symlink created when I supply the installusrbinperl option?

compiling and install Perl 上的文档说,

By default, Configure will not try to link /usr/bin/perl to the current version of perl. You can turn on that behavior by running

Configure -Dinstallusrbinperl

但是,它似乎并没有那样工作:我已经启用了该选项并确认它有效,

# /usr/local/bin/perl5.33.7 -V | grep install
config_args='-des -Dusedevel -Dinstallusrbinperl -Dcc=gcc'

但是,command -v perlwhich perllocate perl | grep bin/usr/bin//usr/local/bin 目录中没有显示名为“perl”的任何内容。但是,那里有可执行文件(非符号链接),

/ # ls /usr/local/bin/perl*
/usr/local/bin/perl5.33.7        /usr/local/bin/perlivp5.33.7
/usr/local/bin/perlbug5.33.7     /usr/local/bin/perlthanks5.33.7
/usr/local/bin/perldoc5.33.7

但是那个文档说这个选项会添加一个 perl 符号链接,我只有实际的文件。如果我检查存储在生成的 config.sh 文件中的对 Configure 的调用结果,我会看到,

grep installusr ./config.sh 
config_args='-des -Dusedevel -Dinstallusrbinperl -Dcc=gcc'
config_arg3='-Dinstallusrbinperl'
installusrbinperl='define'

有什么地方我做错了吗?

versiononly=undef

为了安装没有版本的 Perl 符号链接,您必须使用

Configure -Dinstallusrbinperl -Dversiononly=undef