gpt4 book ai didi

linux - 在 Perl 5.16 上安装 PAR::Packer 模块

转载 作者:太空狗 更新时间:2023-10-29 11:22:20 24 4
gpt4 key购买 nike

我试图在 64 位 Ubuntu 机器上运行的事件 Perl 版本 5.16 上安装一个名为“PAR::Packer”的模块。但是安装正在退出并出现一些错误:

      this is the error :
-----------------
main.o: In function `main':
main.c:(.text.startup+0x35): undefined reference to `pthread_atfork'
collect2: error: ld returned 1 exit status
make[1]: *** [par] Error 1
make[1]: Leaving directory `/root/.cpan/build/PAR-Packer-1.017-dIGsgr/myldr'
make: *** [subdirs] Error 2
RSCHUPP/PAR-Packer-1.017.tar.gz
/usr/bin/make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
RSCHUPP/PAR-Packer-1.017.tar.gz : make NO
----------------

我也试过用 PPM 安装这个模块。 PPM 安装成功,但无法运行“pp”命令。

如有任何帮助,我们将不胜感激。

最佳答案

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629670

似乎是 debian 64 位中的错误。改变了他们找到库的位置。

关于linux - 在 Perl 5.16 上安装 PAR::Packer 模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21179298/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com