在Debian上安装ImageMagick

5

我正在尝试在Debian上安装ImageMagick库。 下载并解压缩包后,我在ImageMagick目录和根目录下运行了./configure命令,但它出现了一些错误(在config.log文件中):

conftest.c:14:28: error: ac_nonexistent.h: No such file or director
conftest.c:79: error: expected ';', ',' or ')' before 'text'
conftest.c: In function 'main':
conftest.c:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
conftest.c:133: error: 'newvar' undeclared (first use in this function)
conftest.c:133: error: (Each undeclared identifier is reported only once
conftest.c:133: error: for each function it appears in.)

我错在哪里了?谢谢。
更新:版本 6.7.8-8。
1个回答

28

您可以尝试以下方法(在控制台中),而不是自己下载和配置包:

aptitude update &&  aptitude install imagemagick

我已经很久没有使用Debian了,但是我认为这应该可以工作。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接