|

楼主 |
发表于 2023-9-11 19:34
|
显示全部楼层
我是不是可以升级perl到5.38
但是按照官网方法
- wget https://www.cpan.org/src/5.0/perl-5.38.0.tar.gz
- tar -xzf perl-5.38.0.tar.gz
- cd perl-5.38.0
- ./Configure -des -Dprefix=$HOME/localperl
- make
- make test
- make install
复制代码
可是仍然报错
- Which of these apply, if any? [linux]
- Operating system name? [linux]
- Operating system version? [5.15.120-veket]
- Installation prefix to use? (~name ok) [/root/localperl]
- Directory /root/localperl doesn't exist. Use that name anyway? [y]
- AFS does not seem to be running...
- What installation prefix should I use for installing files? (~name ok)
- [/root/localperl]
- Directory /root/localperl doesn't exist. Use that name anyway? [y]
- Build a threading Perl? [n]
- Build Perl for multiplicity? [n]
- Use which C compiler? [cc]
- ./trygcc:行10: cc:未找到命令
- Uh-oh, the C compiler 'cc' doesn't seem to be working.
- You seem to have a working gcc, though.
- *** However, any setting of the C compiler flags (e.g. for thread support)
- *** will be lost. It may be necessary for you to restart Configure and
- *** add -Dcc=gcc to your Configure command line.
- Would you like to go ahead and try gcc anyway? [n]
- ./checkcc:行10: cc:未找到命令
- Uh-oh, the C compiler 'cc' doesn't seem to be working.
- You need to find a working C compiler.
- Either (purchase and) install the C compiler supplied by your OS vendor,
- or for a free C compiler try http://gcc.gnu.org/
- I cannot continue any further, aborting.
复制代码 |
|