veket官方网站论坛

veket

 找回密码
 要注册
搜索
楼主: zhushengm

运行perl脚本的问题

[复制链接]
 楼主| 发表于 2023-9-11 09:49 | 显示全部楼层
lrxkqv 发表于 2023-9-10 22:24
perl很多依赖的。
你要安装什么软件?
建议你直接传到网盘让大家测试,不然的话这样很难猜测。

你好 我想运行的是这个脚本
https://www.123pan.com/s/qHu6Vv-s0VHA.html
 楼主| 发表于 2023-9-11 09:55 | 显示全部楼层
lrxkqv 发表于 2023-9-10 22:24
perl很多依赖的。
你要安装什么软件?
建议你直接传到网盘让大家测试,不然的话这样很难猜测。

https://www.123pan.com/s/qHu6Vv-W0VHA.html
这是测试用的相关文件
perl geoMR04.ann.pl运行脚本
发表于 2023-9-11 13:46 | 显示全部楼层
zhushengm 发表于 2023-9-11 09:55
https://www.123pan.com/s/qHu6Vv-W0VHA.html
这是测试用的相关文件
perl geoMR04.ann.pl运行脚本 ...

https://cpan.metacpan.org/author ... -Crypto-2.10.tar.gz
你这个要求的Filter-Crypto
里边的安装说明要求:
Perl version 5.8.1 or later.
所以是perl版本低,试着安装旧版本Filter-Crypto
 楼主| 发表于 2023-9-11 19:34 | 显示全部楼层
lrxkqv 发表于 2023-9-11 13:46
https://cpan.metacpan.org/authors/id/S/SH/SHAY/Filter-Crypto-2.10.tar.gz
你这个要求的Filter-Crypto ...

我是不是可以升级perl到5.38
但是按照官网方法
  1. wget https://www.cpan.org/src/5.0/perl-5.38.0.tar.gz
  2.      tar -xzf perl-5.38.0.tar.gz
  3.      cd perl-5.38.0
  4.      ./Configure -des -Dprefix=$HOME/localperl
  5.      make
  6.      make test
  7.      make install
复制代码

可是仍然报错
  1. Which of these apply, if any? [linux]  
  2. Operating system name? [linux]  
  3. Operating system version? [5.15.120-veket]  
  4. Installation prefix to use? (~name ok) [/root/localperl]  
  5. Directory /root/localperl doesn't exist.  Use that name anyway? [y]  
  6. AFS does not seem to be running...
  7. What installation prefix should I use for installing files? (~name ok)
  8. [/root/localperl]  
  9. Directory /root/localperl doesn't exist.  Use that name anyway? [y]  
  10. Build a threading Perl? [n]  
  11. Build Perl for multiplicity? [n]  
  12. Use which C compiler? [cc]  
  13. ./trygcc:行10: cc:未找到命令
  14. Uh-oh, the C compiler 'cc' doesn't seem to be working.
  15. You seem to have a working gcc, though.

  16. *** However, any setting of the C compiler flags (e.g. for thread support)
  17. *** will be lost.  It may be necessary for you to restart Configure and
  18. *** add -Dcc=gcc to your Configure command line.

  19. Would you like to go ahead and try gcc anyway? [n]  
  20. ./checkcc:行10: cc:未找到命令
  21. Uh-oh, the C compiler 'cc' doesn't seem to be working.
  22. You need to find a working C compiler.
  23. Either (purchase and) install the C compiler supplied by your OS vendor,
  24. or for a free C compiler try http://gcc.gnu.org/
  25. I cannot continue any further, aborting.
复制代码
 楼主| 发表于 2023-9-11 19:41 | 显示全部楼层
lrxkqv 发表于 2023-9-11 13:46
https://cpan.metacpan.org/authors/id/S/SH/SHAY/Filter-Crypto-2.10.tar.gz
你这个要求的Filter-Crypto ...

您提供的这个
我用perl Makefile.PL安装
再运行我的那个脚本还是报错
您需要登录后才可以回帖 登录 | 要注册

本版积分规则

QQ|手机版|Archiver|veket官方网站论坛,veketx官方网站论坛,微器人 ( 粤ICP备 11052856 )

GMT+8, 2025-5-8 01:59

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表