gpt4 book ai didi

linux - Fred 的 ImageMagick Scripts-3DRotation 不工作,(3Drotate.sh : line 384: bc: command not found)

转载 作者:太空宇宙 更新时间:2023-11-04 11:31:15 24 4
gpt4 key购买 nike

在 Fred 的 ImageMagick 脚本中,我尝试运行 3DRotate.sh,但收到错误消息。但是我可以运行 cartoon.sh 我不知道为什么?如果有人知道这件事...请帮助我...

我收到这样的错误消息。

   root@vps-1100110-10106 [~/imagick]# ./3Drotate.sh pan=45 auto=zc test.jpg testfile.jpg
./3Drotate.sh: line 195: bc: command not found
expr: warning: unportable BRE: `^[0-9][0-9]*$': using `^' as the first character
of the basic regular expression is not portable; it is being ignored
expr: warning: unportable BRE: `^[+-][0-9][0-9]*$': using `^' as the first character
of the basic regular expression is not portable; it is being ignored
expr: warning: unportable BRE: `^[0-9]*[\\.][0-9]*$': using `^' as the first character
of the basic regular expression is not portable; it is being ignored
expr: warning: unportable BRE: `^[+-][0-9]*[\\.][0-9]*$': using `^' as the first character
of the basic regular expression is not portable; it is being ignored
./3Drotate.sh: line 384: bc: command not found
./3Drotate.sh: line 385: bc: command not found
./3Drotate.sh: line 387: [: too many arguments
./3Drotate.sh: line 388: bc: command not found
./3Drotate.sh: line 389: bc: command not found
./3Drotate.sh: line 390: bc: command not found
./3Drotate.sh: line 391: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 576: bc: command not found
./3Drotate.sh: line 577: bc: command not found
./3Drotate.sh: line 578: bc: command not found
./3Drotate.sh: line 579: bc: command not found
./3Drotate.sh: line 582: bc: command not found
./3Drotate.sh: line 582: [: -eq: unary operator expected
./3Drotate.sh: line 586: bc: command not found
./3Drotate.sh: line 586: [: -eq: unary operator expected
./3Drotate.sh: line 646: bc: command not found
./3Drotate.sh: line 660: bc: command not found
./3Drotate.sh: line 661: bc: command not found
./3Drotate.sh: line 662: bc: command not found
./3Drotate.sh: line 663: bc: command not found
./3Drotate.sh: line 664: bc: command not found
./3Drotate.sh: line 665: bc: command not found
./3Drotate.sh: line 669: bc: command not found
./3Drotate.sh: line 670: bc: command not found
./3Drotate.sh: line 676: bc: command not found
./3Drotate.sh: line 689: bc: command not found
./3Drotate.sh: line 690: bc: command not found
./3Drotate.sh: line 691: bc: command not found
./3Drotate.sh: line 692: bc: command not found
./3Drotate.sh: line 693: bc: command not found
./3Drotate.sh: line 701: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found
./3Drotate.sh: line 230: bc: command not found

--- NOT A VALID SET OF MATRIX ROWS ---

我的 Imagemagick

Version: ImageMagick 6.7.1-7 2012-06-18 Q16

最佳答案

BC 是一个计算器/数学程序,我假设您的服务器上没有安装它。您可以要求您的主机安装它。

我假设这与您之前的帖子有关,使用 Freds 代码执行的操作可以在 Imagemagick 中完成,无论如何您需要计算出您想要的内容,并且可以使用标准 php 函数而不是 bc 执行计算.

关于linux - Fred 的 ImageMagick Scripts-3DRotation 不工作,(3Drotate.sh : line 384: bc: command not found),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11143377/

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