我正在尝试在 Debian 上安装 ImageMagick 库。下载解压包后,我运行 ./configure 命令(在 ImageMagick 目录和根目录下),它失败并出现一些错误(在 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.)
我做错了什么?谢谢
UPD:版本 6.7.8-8